Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to read the attribute in mapping..


My source XML looks like this



<GLCOMP glorder="0">0545</GLCOMP>

<GLCOMP glorder="1">K</GLCOMP>

<GLCOMP glorder="2">2006605</GLCOMP>

<GLCOMP glorder="3">5500001</GLCOMP>


Where glorder is the attribute of GLCOMP. Now I have requirement to read the attribute ( atleast 2 of them)

I have to map to target field checking the value in glorder="1

For e.g. with above XML, if the value in glorder="1 is K than map value from glorder="2 (2006605) to Target 1.

IF the glorder="1 is P map the value in glorder="2 to Target 2 and goes on for another one

How can i acheive this mapping. When I tried putting the value of glorder, i am not getting anything.


Former Member
Not what you were looking for? View more on this topic or Ask a question