Symptom
Sort key 014 is maintained in the G/L account master data, but when creating a supplier invoice, the purchase order number is not transferred to the assignment field (ZUONR) in the vendor line item.
Environment
S/4HANA Cloud Public Edition
Reproducing the Issue
- Maintain sort key 014 in the G/L account master data.
- Create a supplier invoice.
- In the accounting document, the purchase order number is not transferred to the assignment field in the vendor line item.
Cause
Even if the sort key 014 is maintained for the G/L account, the PO number will not be copied to vendor line item automatically because a supplier invoice can be created with reference to several purchase orders and the system would be not able to "decide" which PO number should be stored and updated.
Resolution
As workaround, there are following two options:
1) Create a cloud substitution (see note 2676581) using BADI FIN_ACDOC_SUBSTITUTION to substitute the allocation number in the item.
2) Manually fill the PO number as text on the MIRO "Basic Data" tab. This text can be transferred to the item text for the vendor line item of the FI document (INVFO-SGTXT -> BSEG-SGTXT). Please see attached note 837859 for more detail information.
Keywords
Sort key, 014, G/L account master data, supplier invoice, purchase order number, assignment, ZUONR, vendor line item, MIRO, Create Supplier Invoice , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem