cancel
Showing results for 
Search instead for 
Did you mean: 

Standard funtion module to fetch IDOC in xml format

Former Member
0 Kudos

Hi Experts

I am not from ABAP background, am working in SAP PI. I have a queay regarding standard function modules in ABAP.

I am wrote a java code to fetch IDOC by making a call to the ABAP standard functions. (passing an idoc number and fetching the idoc)

The IDOC that i am receiving is in Flat format, but I want to fetch the IDOC in XML format.

Is there any Standard fucntion module to fetch the IDOC in xml format?

regards,

Osman Abdul Aziz Jabri

Accepted Solutions (1)

Accepted Solutions (1)

KiranJ
Active Participant
0 Kudos

hai ,

in SE37 tcode

Check with IDOCTOXML u get FM 's

use sutable ur requirement.

Moderator message: please do not use SMS speak in these forums.

Edited by: Thomas Zloch on Jan 5, 2011 6:03 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Currently i am using the following funtion modules

- EDI_DOCUMENT_OPEN_FOR_READ

- EDI_SEGMENTS_GET_ALL

please help me to get the corrent funtion module to fetch the idoc in xml format.

Regards

Osman

tushar_shukla
Active Participant
0 Kudos

Osman,

I guess you are using File Port; use the XML port. The output will be generated in XML format at the destination directory specified in the port.