I have the below scenario and requires some input in the below mapping scenario.
E1MARAM 1 1
E1MARCM 0 n
E1MARMM 0 n
Target element Mapping from Source
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.