Symptom
While attempting to post a debit note from an external system using the accounting interface (BAPI_ACC_DOCUMENT_POST), the posting process fails with the error message F5348: "Item specified for invoice reference is not an invoice item." This error arises when the referenced sales invoice includes a subledger line item with the special G/L indicator (UMSKZ) set to "A" and the debit/credit indicator set to "S" (debit). When such invoices are referenced in the debit note IDoc, the document posting fails at the interface level.
Read more...
Environment
- Financial Accounting (FI)
- SAP ERP
- SAP ERP Central Component
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
- SAP S/4HANA Finance
Product
Keywords
invoice reference, F5 348, BAPI_ACC_DOCUMENT_POST, IDOC, special G/L indicator A, credit indicator S, accounting interface, BSEG-KOART, BSEG-SHKZG, pai_rechnungsbezug, SAPMF05A, check_single_rebzg, SAPLFACI. , KBA , FI-AR-AR-J , Integration/Accounting Interface , FI-AR-AR-A , Posting/Clearing/Special General Ledger , FI-AP-AP-A , Posting/Clearing/Special General Ledger , FI-AP-AP-J , Integration/Accounting Interface , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview