Symptom
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.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Goto 'Display Billing Documents' app
- Open the Billing document
- Click on "Display header details"
- Under "Header detail" tab, "Assignment:" field is empty
- Goto 'Display Sales Orders - VA03'
- Check the reference Sales order
- "Cust. Reference:" field filled correctly
Cause
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.
Resolution
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
Keywords