Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Comparison of Header and Line Items


i have a tag <ShipTo> in the header as well as in the Line Items.



1. I am using ZIDOC = ORDERS05 + Extra field "Ship To Site"

This "Ship To Site" code can vary from line item to line item or can be the same for a particular PO.

So Lets say in a PO there are 3 line Items and all the 3 line items can have the "Ship To Site" as "ABCDEF" or "ABCDEF", "EFGHIJ","KLMNOP".

Client's Requirements:


Based on the values of the "Ship To Site" code in the line items i have to correspondingly map the header <ShipTo> or line item <ShipTo> address details.

Business Rule:


1. If values of all the 3 "Ship To Site" are equal then take the "Ship To" address details and map it to the header <Ship To> address details.

2. Else if all the 3 values are different then leave the header <ShipTo> and fill the line items <ShipTo>

Can we achieve this logic using Graphical Mapping tool?



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question