cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue Remove duplicate values from source structure

Former Member
0 Kudos

Hello Experts,

From the source idoc MATMAS05

Example :

For the E1MAKTM node

Segment :SPRAS =E

                  SPRAS= J

             

For the E1MTXHM node

Segment :TDSPRAS = D

                  TDSPRAS =  J

For this case at target needs to create 3 nodes (E,J,D) by removing duplicates(j).

Please find the attached screenshots and help me if any udf code

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sujeeth,

This needs a UDF to combine the contexts of E1MAKTM and E1MTXHM.

Here is a sample code:

Here is a sample mapping

And a sample output

Regards,

Mark