Skip to Content
avatar image
Former Member

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

Hi all,

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

Thanks,

Martin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 04, 2009 at 10:15 AM

    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=∏uct=H3059

    chapter - Enabling ABAP Proxies From Every Outbound IDoc

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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