on 04-20-2016 4:11 PM
Hi all,
my requirement is to get the Order idoc from HYBRIS system and pass it to ECC. i have used sender adapter as HTTP and SOAP. But both the cases i have not received any order idoc. are there any special configuration needs to be done to get order Idoc from HYBRIS?
i have also verified the below link:
Thanks,
Ramakrishna
Hello Ramakrishna,
HTTP Should work.Hybris supports HTTP/RFC protocols.
Are you getting any specific error?
check the below wiki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
In rapid deployment solutions(HY3) we found only the configuration settings to be done on ECC and Datahub .Can you please let us know how to replicate the orders from Hybris to ECC using SAP PI.
We are using SAP PI(version 7.1 , Service pack 0009) .The Hybris version we are using is 5.7.0.2. we have successfully replicated master data, order, documents, conditions, etc. from SAP ECC to Hybris with SAP PI.
Thanks,
Ramakrishna
Hello Ramakrishna,
If your using HTTP Adapter the endpoint being used is wrong, That is for soap adapter.
Check the below link and form URL accordingly
Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
Hi Raghu,
I am using PI 7.1 (do not have http 1.1 protocol, have only http 1.0). earlier i was using SOAP as my sender adapter and i had shared that endpoint to HYBRIS. Later i had changed my sender adapter to HTTP. But i forgot to take the new endpoint.
Now i took the new endpoint from sender agreement. below is the new endpoint
http://<PI Host Name>:50000/XISOAPAdapter/MessageServlet?channel=:BC_HYBRIS:CC_HYBRIS_ECC_IDoc_Sender
but my doubt is endpoint still contains SOAPadapter. I need to change it as described below?
URL: http:// <hostname:port> / <path> ? <query-string>
Where,
Ramakrishna,
I would recommend using the HTTP Adapter with the correct URL in Hybris but the other approach will also work as the SOAP Sender Adapter with Do Not Use SOAP envelope acts as a HTTP Adapter
Regards
Bhavesh
Hi Bhavesh,
Thank you very much for your inputs.
Now i am able to get the requests from HYBRIS.
I have not created any sender side communication channels and sender agreement as suggested in below links
http://scn.sap.com/thread/3888995 (refer the answers of Iñaki Vila)
Below is the url i had provided HYBRIS.
http://<PI HOST>:50000/sap/xi/adapter_plain?namespace=urn.Hybris.com:xi:HYBRIS_Order_IDoc_Create&interface=SI_HYBRIS_ECC_Order_IDoc_OB&service=BC_HYBRIS
and i am getting the below error when test with SOAP UI.
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_BE_NOT_SUPP</SAP:Code>
<SAP:AdditionalText />
<SAP:Stack>Only asynchronous processing supported for IDoc adapter outbound processg</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
so, later i added quality of service as EO to the url
http://<PI HOST>:50000/sap/xi/adapter_plain?namespace=urn.Hybris.com:xi:HYBRIS_Order_IDoc_Create&interface=SI_HYBRIS_ECC_Order_IDoc_OB&service=BC_HYBRIS&qos=EO
Now iam getting below error
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
<SAP:P1>BC_HYBRIS</SAP:P1>
<SAP:Stack>Unable to convert the sender service BC_HYBRIS to an ALE logical system</SAP:Stack>
Atually in receiver agreement i am passing my sender business system to sender communication component and
Receiver business system to receiver communication component.
not sure what is causing the issue. Can you help me?
Thanks,
Ramakrishna
The reason for the error is because your your Hybris Business Component is not assigned a Logical System Name.
Go to your Business Component --> Edit Mode --> Business Component --> Adapter Specific Attributes --> And Provide a Logical System Name here.
Save and Activate and your Idoc should now go through.
Please make sure this logical system name matches your Partner Profile in SAP.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.