Skip to Content
0
May 23, 2018 at 12:27 PM

SAP PO Message mapping issue

175 Views

Experts,

Please suggest if graphical mapping be used to achieve this message mapping OR does it require XSLT. I have tried nodal functions but in Vain.

Guess the requirement is the reverse of "UseOneAsMany" function.

Source: <Ordtxt>

<txtid>01</txtid>

<text>text_01_1</text>

</Ordtxt>

<Ordtxt>

<txtid>01</txtid>

<text>text_01_2</text>

</Ordtxt>

<Ordtxt>

<txtid>02</txtid>

<text>text_02_1</text>

</Ordtxt>

<Ordtxt>

<txtid>02</txtid>

<text>text_02_2</text>

</Ordtxt>


Target <Ordtxt1> <txtid>01</txtid> <textlines> <text>text_01_1</text> <text>text_01_2</text> </textlines> </Ordtxt1> <Ordtxt1> <txtid>02</txtid> <textlines> <text>text_02_1</text> <text>text_02_2</text> </textlines> </Ordtxt1>