on 04-11-2016 5:38 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng Swee,
Thank you very much for your time. I got the below link.
If you look at the second diagram(HYBRIS to ECC), sender adapter is HTTP and receiver adapter id Idoc.
Hybris has to post to Pis plain HTTP adapter (Are you talking about PI endpoint?) .... can you give more details on this?
Thanks,
Ramakrishna
Hi Ramakrishna
Yes, you can use a HTTP > PI > IDoc scenario but you cannot use the /sap/bc/idoc_xml as the PI endpoint because that will not go through PI's adapter.
As I mentioned above, you can create the scenario in PI and provide a different URL for Hybris to post to (if it is possible on their side). An example URL path would look like below. The configuration is just the same as any normal PI configuration if you have already any experience in that.
Regards
Eng Swee
Hi Eng Swee,
i got your point now. The issue here is HYBRIS will not call our end-point like (http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2...) , because it is their out of box solution and they need to do custom development and will not agree for it at the moment .
looks like i can see only one option here.. They can directly send Order Idocs to ECC with out PI.
Thanks,
Ramakrishna
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.