Solution : https://service.sap.com/sap/support/notes/453646 (SAP Service marketplace login required)
Summary :
SAP Note addresses the enhancement of BAPIs for logistics invoice verification to support direct postings to GL accounts and materials. Users are advised that batch input processing with Enjoy-transactions isn't feasible, and alternative BAPIs such as BAPI_INCOMINGINVOICE_CREATE, BAPI_INCOMINGINVOICE_PARK, and BAPI_INCOMINGINVOICE_GETDETAIL lack direct posting functionality to GL account/assets. Enhancements include implementing corrections from prior notes and creating new dictionary structures for GL account and material direct posting parameters. Applicable from release 4.7 and corrected in earlier support packages. Implement these changes meticulously following provided steps to avoid disruptions.
Key words :
field field type invoice_doc_item rblgp gl_account hkont item_amount bapiwrbtr db_cr_ind shkzg neg_postng xnegp comp_code bukrs tax_code mwskz taxjurcode txjcd item_text sgtxt costcenter kostl sd_doc vbeln sdoc_item vbelp orderid aufnr ref_date dabrbez cmmt_item fipos funds_ctr fistl func_area fkber profit_ctr prctr fund bp_geber bus_area gsber tr_part_ba pargb costobject kstrg network nplnr activity vornr wbs_elem ps_psp_pnr acttype lstar rl_est_key imkey person_no pernr_d co_busproc co_prznr, field field type invoice_doc_item rblgp material matnr val_area bwkey valuation_type bwtar_d db_cr_ind shkzg item_amount bapiwrbtr quantity menge_d base_uom meins base_uom_iso meins_iso tax_code mwskz_mrm taxjurcode txjcd define reference field 'bapi_incinv_create_material' 'base_uom', field field type invoice_doc_item rblgp material matnr val_area bwkey valuation_type bwtar_d db_cr_ind shkzg item_amount bapiwrbtr quantity menge_d base_uom meins base_uom_iso meins_iso tax_code mwskz_mrm taxjurcode txjcd define reference field 'bapi_incinv_detail_material' 'base_uom', short text 'transfer structure material posting incoming invoice, field 'quantity', material data type spec, 'reference field, currency/amount field', material data table parameter parameter, reference type
Related Notes :
516198 | BAPI: Mandatory field "Tax code" in GLACCOUNTDATA |
515203 | BAPI: GetDetail displays no account assignment values |
486726 | BAPI: Direct posting to material or G/L account |
459524 | BAPIs: Address data (customer data), different payee |
448196 | Problems with bapi_incominginvoice_cancel |
446453 | MIR7:error KI249 during account assignment to network |
402363 | BAPI_INCOMING_INVOICE_CREATE: item amount |
400098 | MIRO: Personnel number is not checked / saved |
391683 | MIRO: Fields on the G/L account tab |
350568 | BAPI: Error with service orders |
332252 | BAPIs: Parking, withholding tax, vendor item split |