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.