cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Idoc to XML and send it via ABAP Proxy to PI

Former Member
0 Kudos

Hi all,

does anybody know, how to convert an Idoc into XML and send it via ABAP Client Proxy to PI ?

Thanks,

Martin

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>does anybody know, how to convert an Idoc into XML and send it via ABAP Client Proxy to PI ?

there is no need to convert it you just map it to XML and send via proxy - then it's in XML

you can also have a look at my book:

http://www.sap-press.com/product_basic.cfm?account=&product=H3059

chapter - Enabling ABAP Proxies From Every Outbound IDoc

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michael,

thanks for the hint.

Sorry but i just read the table of contents in the sample chapter of your new book and wasn't sure if this is exactly what i need.

If this scenario is in your book, i'll order it immediately!

BR,

Martin

Former Member
0 Kudos

Hi,

Dunno if there is any particular reason that u are doing this for..

YOu can map the IDoc to XML port and get an xml file...if thats what u are looking for

Regards

vijaya

Former Member
0 Kudos

Hi Michal,

sorry, but the Szenario in your book doesn't meet my requirements to 100%.

I want to have on generice Function in ABAP, which i can use to send different idoc-types to PI via ABAP proxy.

In PI i have defined a generic interface which takes the idoc as xml in a payload-field of the message.

BR,

Martin

Answers (0)