on 12-19-2013 6:43 AM
Hi Gurus,
In production environment messages are getting failed due to mapping issue, when I am trying to check the issue by taking the error payload it not getting executed in Test tab to check the sortByKey queues. And below is the error message am getting.
Hi Raj,
For ShortByKey Node Function the Two queues Should have same number of Context. For Reference refer the below link
SAPTechnical.COM - Implementation of Node functions
Also, Attach your requirement. So that we can help whether we can Use Shortbykey or we can handle other Node functions for the requirement.
Regard's
Preethi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Amit is right is not so complicated to check the problem. If you read the documentation Standard Functions (SAP Library - SAP Exchange Infrastructure), you will notice that SortByKey needs the same number of elements in the two queues, why?, because the second queue decide the order of the first one giving the position, for example:
Queue 1: 7 3 8
Queue 2: C B A
Result: : 8 3 7
May be you can use the function Sort?,
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
>>Queues have different lengths in function sortByKey]
What more description u want? It's clearly indicating that the arguments in SortByKey function are not having same number of values for field ItemDeliveryDate. So check the same.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.