cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic IDOC parse in ABAP Mapping?

Marçal_Oliveras
Active Contributor
0 Kudos

Hi,

I'm creating a very complex mapping in an IDOC -> PI -> File scenario and I'm using ABAP Mapping to do that.

I already know how to parse an inbound xml but it's a "heavy" job and the code finishes very "hardcoded".

As you know, SAP uses the structure EDIDD to send/receive IDOC data generically. So I'm sure that internally SAP has a method/function or something to convert the XML data sent by PI to that EDIDD data structure when you send an Idoc through PI. I can't found that, do you know if it exists?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

kkram
Contributor
0 Kudos

You can use function module IDX_XML_TO_IDOC to convert the XML to IDOC type internal tables.

Check for other function module in function group IDOC_ADAPTER_MB.

KK