Symptom
You have created a PO with multiple line Items with different delivery addresses, 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
To adjust the behavior, you can change 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. Hence you can code your custom form to hide the Header Ship-to address, if any item has different Ship-to Address.
To resolve the issue, kindly change your 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 , KBA , MM-FIO-PUR-PO-OM , Purchase Order Output Management , Problem