Hi Guys,
Facing issue while mapping XML target node. Logic is if POSME value equals to EA then corresponding ARTIKELNR value and EAN value need to be sent to target structure ( SELLING NODE).Also if there is more than EAN value for particular ARTIKELNR value , then SELLING CODE node need to be repeated with same ARTIKELNR.
Source structure:

Expected Output:

Transaction Node repeats for Every Prodcut SKU (ARTIKELNR value) where POSME value equals == EA
Other elements are constant values. But only concern is context are not equal for E1WEP01( where POSME ,ARTIKELNR value exists) and E1WEP02 ( EAN values it may repeat n number of times for any ARTIKELNR value)
Above target xml is existing process output.
Please help me on this.