SAP Knowledge Base Article - Public

3389866 - Assignment Number field does not pick the correct value - S/4HANA Cloud


Customer would like to determine the "Assignment Number" correctly regarding of an 'F2' type (Invoice) billing document.

There is a business need to get the data from the reference 'OR' type (Standard order) sales order's "Customer Reference" field.



Reproducing the Issue

  1. Goto 'Display Billing Documents' app
  2. Open the Billing document
  3. Click on "Display header details"
  4. Under "Header detail" tab, "Assignment:" field is empty
  5. Goto 'Display Sales Orders - VA03
  6. Check the reference Sales order
  7. "Cust. Reference:" field filled correctly


For billing document type 'F2' it is not possible to get the "Assignment Number" from the reference 'OR' sales order, because the corresponding copy control settings are not maintained.


Customer Reference is a number that is uniquely identify a purchasing document. The number creates the link between the customer purchase order and the sales document that has been created. As for the assignment number, it is possible to set the customer reference, the customer order number, the delivery number or the external delivery number as allocation numbers.

In order to solve the issue, please go to your configuration settings, and find "Define Copying Control for Sales Document to Billing Document (102762)".

You can find the abovementioned configuration activities by using the search function in your configuration environment. For more information, see Configuration Environment of SAP S/4HANA Cloud.

Here select the required target and source documents (in this case OR and F2), and under the "Assignment Number", select "A" (Customer Reference) as copy setting.

Please see attached picture for reference below:

See Also

3334115 - Reference information from Sales Documents to Financial Accounting Documents - S/4HANA Cloud

SAP Help - Configuration Environment of SAP S/4HANA Cloud

SAP Help - Copying Control


Customer Reference, Billing Document, Sales Order, Assignment, header, Define Copying Control for Sales Document to Billing Document, 102762, OR, F2, standard order, invoice, copy control
, KBA , SD-BIL-2CL , Billing (Public Cloud) , Problem


SAP S/4HANA Cloud 2308