Skip to Content

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

Map default values in Header based on multiple values in the line item

Hi

I have a scenario in which the Header field of an IDOC should be populated with some default values based on some mixed mvt types in the line items.

eg:

Header -


> Delivery type -


> needs to be mapped to A (for X of line item 1)or B (for Y of line item 2) or C (for Z of line item 3 )

based on line items field

line item1---> mvt type---> X

line item 2-->mvt type----->Y

line item 3 -


> mvt type -


> Z

mvt types doesnt necessarily have to come in that order and even the same mvt type can repeat in multiple line items.

Can we achieve this logic in XI ?

Helpful Answer

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