Skip to Content

How to get Order IDoc_XML from a URL

Hi all,

We are using PI 7.1.

HYBRIS is sending order Idoc (SALESORDER_CREATEFROMDAT202) to PI. As per the SAP standard, HYBRIS can directly send order IDoc to ECC. But we decided to have an extra layer on top of ECC for better monitoring. So, decided order idocs via PI to ECC.

HYBRIS is sending order idoc to a URL http://host of PI system:PI port/sap/bc/idoc_xml?sap-client=XXX

The above link is something we can see in PI system for t-code SICF.

Is it possible to get the idoc xml from a URL ? if yes How?

any configurations needed to be done on PI system to get idoc xml from HYBRIS?

Note:

We have not provided any WSDL/PI endpoint to HYBRIS to call/post idocs. As this is going to be out of box solution and as per Standard SAP they are publshing the Idoc data to above mentioned URL..

Thanks,

Ramakrishna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 11, 2016 at 05:56 AM

    Hi Ramakrishna

    The /sap/bc/idoc_xml path in PI will not go through PI's adapter framework, instead if it is posted to that path, it is treated as posting to PI as a backend application instead of a middleware.

    If you want to add PI as an extra layer of for monitoring, Hybris has to post to PI's plain HTTP adapter, and you will need to configure a scenario to route it to ECC. To post to the plain HTTP adapter, you will need to following the URL convention as described in the link below.

    Defining Query for Plain HTTP Inbound Channel - Configuring the Plain HTTP Adapter - SAP Library

    If the posting URL cannot be changed on Hybris side, then you would have to post directly to ECC instead of going through PI.

    Regards

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2016 at 05:23 AM

    Hello Rama,

    Check with them if they are Sending the Idoc through IDOC_AAE adapter of SAP PI.

    You can check the below link for monitoring and getting XML

    SAP PI 7.3 – Monitoring Guide (Single Stack)

    Add comment
    10|10000 characters needed characters exceeded