We have a requirement to generate multiple nodes on the target side. Based on the occurrence of Z1EDKA2 segments we should generate the target nodes 'AdditionalDocumentReference.
Z1EDKA3/LINE --> EmbededDocument binaryObjects.
under the segment Z1EDKA2 we have sub segment Z1EDKA3 which has the field LINE, it will have text which we should be concatenated and pass it to the target field EmbededDocumentBinaryOject.
In the below example we have 2 Z1EDKA2 segment.
1st record is having LINE values '123,456,789,1011'
2nd record is having LINE values '80,90,100,200'
As per the existing mapping 1st record is getting generated with the ' LINE' values from both 1st and the 2nd record.
which is '12345678910118090100200'.
please check the below expected output and help me to generate the output.