Hi All,
I have the below scenario and requires some input in the below mapping scenario.
Source Structure:
E1MARAM 1 1
GEWEI String
MATNR String
MEINS String
MTART String
NTGEW String
WRKST String
E1MARCM 0 n
EKGRP String
MATGR String
E1MARMM 0 n
BREIT String
BRGEW String
EAN11 String
GEWEI String
Target Structure:
Target element Mapping from Source
MATNR MATNR
MARM_MEINH E1MARMM-MEINH
MARM_UMREZ E1MARMM-UMREZ
MARM_UMREN E1MARMM-UMREN
MARC_EKGRP E1MARCM-EKGRP
T024_EKNAM E1MARCM-MATGR
The Target fields are on the same level and the output record should appear as many times the max occurances of segment in the source structure.
Ex: In source, if E1MARCM is repeated for 2 times and E1MARMM repeated for 5 times, the output should create for 5 times with the above structure.MATNR is repeated for 5 times..Useoneas many will solve MATNR problem.
but as MARCM is repeated for 2 times, it is missing in 3/4/5 occurance. So, in 3/4/5th occurances, it can have the value of 2nd occurance.
I hope everyone understand the requirement.
Regards,
Srini