on 05-24-2016 1:37 PM - last edited on 02-04-2024 5:00 AM by postmig_api_4
Hi All,
we are using Asynchronous Order Management to send Order to SAP via Data Hub in the form of IDOCs. We are using ORDERS05 IDOC schema to do the same.
The problem we are facing here is, if we have 4 Order entries and we are sending in the correct order as entry 0, entry 1, entry 2, entry 3 and I can see the same in Raw, Canonical data of DataHub.
But while publishing (Converting into IDOC) in the target the order entries are altering. In the generated IDOC in the data hub logs the Order of entries are like is entry 3, entry 2, entry 0, entry 1 (some random order every time).
I want the Order to be same as in Canonical while generating the IDOC, do I need to do anything for that?
Thanks a lot in advance for the help that I am getting on this.
Thanks, Pradeep
,
Could you please help us on steps to use ORDERS05 as an idoc to send order data to SAP? Did you create the JAXB classses using the ORDERS05 xsd? While we generate the classes from xjc, all the segment classes are generated as static into only one class file. How do we get the same segment class names(with $ as separator between hierarchy of segments) as we have in the oob classes(target extension of saporder jar)?
Any help here is appreciated.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a known behavior of the data hub.
The root cause is the transformation of the canonical item to target item is done with parallel processing and does not preserves any input ordering. The target items are in fact sorted by target item id but this does not improve the situation.
I've already provided a work around to perform a post IDOC creation sorting :
https://answers.sap.com/questions/12755740/sorting-of-order-entry-segments-in-datahub.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.