Skip to Content

How extract XML payload from integration engine using Java?

Hi Experts,

I want to pull PI XML payloads for my interfaces from integration engine using a Java program.

Is this possible? Can somebody give sample Java program for the same?

My scenario:

SAP R/3 --> IDOC --> PI ---> JMS --> BizTalk.

Now I want to get the IDOC XML that has come in PI from Integration engine.

Please help.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 19, 2013 at 06:13 AM

    Hi Gopal,

    The table that contains the XML message is SXMSPMAST.

    Also this document can be useful for you, altough is not java access,

    To read PI table during the mapping check this thread

    When exactly do you want to read the ABAP PI tables?


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Gopalkrishna Baliga

      If my scenario does not use ICO or AAE and both outbound and inbound side adapters are Java based then will PI payload be still stored in ABAP stack table SXMSPMAST? or will it store in Java stack only?

      It will store in SXMSPMAST table only , in this case..