SAP Knowledge Base Article - Public

2968663 - Wrong vendor invoice number with Scope item 3ZB

Symptom

  • While setting up the 3ZB (Billing of Costs Between Affiliated Companies) scope item, the user has configured the sales invoice number through the ODN (Official Document Number) functionality.
  • The legal invoice number for the 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.

Environment

  •  Sales and Distribution (SD)
  •  SAP S/4HANA Cloud

Cause

The invoice number in the message is not configured this way - The field XBLNR is not provided.

Resolution

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: 2963059 - Request for New Features for Sales in SAP S/4HANA Cloud in Solution tab.

Keywords

purchase order, PO, material EDI, IDOC, segment, VBAK, VBAP, EKPO, 2EJ, 2EL , KBA , SD-SLS-EDI , S/4HANA: Sales EDI Messages , SD-SLS-EDI-2CL , S/4HANA: Sales EDI Messages (Public Cloud) , CA-GTF-INT-EDI , EDI Integrations Content , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions