Symptom
PO with multiple line Items with different delivery addresses created, the header delivery address is being shown in the Output, but not the first line item delivery address - all other items have a delivery address.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a Purchase Order
- Insert 2 or more Items with different delivery addresses
- Generate the Output
Cause
Standard SAP S/4HANA Cloud Public Edition behavior
Ship-to address is printed at the header level always. This address is taken from first item( item 10). If any item has a different address Ship-to address then the header, then that item will print the Ship-to address under it.
This behavior is present for quite a long time and we cannot change it as it may affect many customers. This behavior is present in the standard output form 'MM_PUR_PURCHASE_ORDER'.
Resolution
The behavior can be adjusted by modifying the custom form code. In S/4 HANA, all the required data is generated using a FDP service( Form Data Provider Service managed by SAP). The data from this service is then mapped on to a Adobe form. What will be visible on the form can be controlled by code available in the form. Therefore, the custom form can be coded to hide the header ship-to address, if any item has different Ship-to Address.
To resolve the issue, kindly modify the purchase order output form. Include a coding to hide the Ship-to Address at header level, if items have different Ship-to address.
Keywords
Purchase Order, Output, Ship-to, Header, delivery address, Ship-to Address , KBA , MM-FIO-PUR-PO-OM-2CL , Purchase Order Output Management (Public Cloud) , Problem
SAP Knowledge Base Article - Public