cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC-->Flat XML

Former Member
0 Kudos

Hi,

I get IDOC with many levels like:

-->24(unbounded)

+--->43(unbounded)

+---->Data

and I need to tranform it to:

-->43

+-->Data

that is to remove one level...

Can anyone please help me?

Accepted Solutions (1)

Accepted Solutions (1)

sridharreddy_kondam
Active Contributor
0 Kudos

Hi Govberg,

Use RemoveContext function in message mapping...

Also check this link

<b>http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm</b>

Regards,

Sridhar

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

try doing it in abap or java mapping

as you need to loop through many levels

this will be rather difficult with message mapping

and in java and abap you have th whole structure

of your IDOC-XML

REgards,

michal