cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Orders are not replicating from SAP ERP to Hybris

Former Member
0 Likes
481

Hi All , ,

I have added order related extensions in Datahub, while sending IDoc from SAP ERP to Hybris, orders are not replicating and I am getting the errror as follows.

 ,,,,target type Order is not permitted by current header - type Order requires missing columns [date, currency, user], 

Here Hybris order needs customer (Contact Person in SAP ERP ) object for Order creation, but In IDoc I am getting B2BUnit(Customer in SAP ERP ) in that place.

How can we overcome to resolve this problem

Thanks,

Venki

Accepted Solutions (0)

Answers (2)

Answers (2)

rahulverma94
Active Participant
0 Likes

,

The Order idoc MUST be having the user info. You need to verify it. Also inspect if you have done proper mapping of the SAP field from the idoc to the canonical field and then to the target. Also make sure that the customer info is present in the hybris system while replicating the orders. Hope that makes sense.

Rahul

Former Member
0 Likes

For the orders which are created in SAP and are flowing down to Hybris through IDOC, You can add user as anonymous (in your datahub mapping)

Web Orders will always have the user associated with them and IDOC will have the user information

Former Member
0 Likes

Hi ,

Thanks for your reply, if we create the order in SAP ERP or else if I want to load historical orders from SAP ERP using anonymous is not good, because if we map like that customer cannot see his old orders in history am I Right?

Thanks,

Venki

Former Member
0 Likes

Thats right, but when there is no user info (email id) in your IDOC,

impex should be written such a way that default value for user is anonymous.

And if you have user info in SAP, and in IDOC you are not getting those value, clearly its a issue with IDOC.