cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO MAP IDOC TO XML

Former Member
0 Kudos

Hi,

I need to map IDOC to xml but the problem is I have 400 fields in IDOC which are to be mapped to 20 elements in XML.

As it a tedious process to go to 400 fields for each xml element.Is their any better way to find correct field in IDOC with very minial time rather going 400 fields for each xml element.

thanks

sreeram

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi naveen

1)Even SAP it self does not encourage to use ABAP MAPPING and

2)More over Iam not ABAP resource.

Former Member
0 Kudos

hi,

>>1)Even SAP it self does not encourage to use ABAP >>MAPPING and

i dont know where you have read this, but ABAP mapping is one of the most popular/ most efficient and highly recomended by SAP. I have used it in tons of places.

>>2)More over Iam not ABAP resource.

you could also do a java mapping.

there is no other easy way if you are not doing abap/java mapping. you are then left with the only option of using the graphical editor.

cheers,

Naveen

Message was edited by: Naveen Pandrangi

Former Member
0 Kudos

Hi Sreeram,

Actually, it is better to use XSLT mapping in this scenario, if you would rather not do the mapping manually.

Cheers,

Prash

Former Member
0 Kudos

Hi,

why dont you do ABAP message mapping,since you know ur elements in the 400, you can directly go to each of those nodes and map them to the output structure.

cheers,

naveen