While setting up the 3ZB (Billing of Costs Between Affiliated Companies) scope item, we have configured the sales invoice number through the ODN (Official Document Number) functionality. The legal invoice number for our sales invoice is the reference field (XBLNR), instead of the document number (VBELN). When the supplier invoice is posted through EDI from the sales invoice, the supplier invoice number is VBELN but it must be XBLNR.
- Sales and Distribution (SD)
- SAP S/4HANA Cloud All versions
The invoice number in the message is not configured this way - The field XBLNR is not provided.
As a workaround, please check out our extensibility options for creating an additional field on header level and fill it in the extensibility BAdI:
Alternatively, please consider creating a new feature request. Please refer to the following document for more details: 2582556 - Request for New Features for Sales in SAP S/4HANA Cloud in Solution tab.
purchase order, PO, material EDI, IDOC, segment, VBAK, VBAP, EKPO, 2EJ, 2EL , KBA , SD-SLS-EDI , S/4HANA: Sales EDI Messages , CA-GTF-INT-EDI , EDI Integrations Content , Problem