on 10-19-2011 6:10 AM
Hi Experts,
XML file contains multiple sales orders (not sorted) where each sales orders can contain 1 to many Items and in turn each item contains 1 to many charachteristics and should be mapped to Idoc ORDERS.ORDERS05.
Number of Idoc's to be generated depends on number of unique V_IN_ORDERNUM and number of items i.e. E1EDP01 depends on unique RIGANUM for a sales order.
my question is how to create the the number of items i,e E1EDP01 segment based on the unique RIGANUM for a sales order
Hi,
Use logic provided by priyanka and post your sample input & expected target structures if this logic is not full fill ur reqirement.
Regards,
sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
my question is how to create the the number of items i,e E1EDP01 segment based on the unique RIGANUM for a sales order
Logic should be similar to this:
RIGANUM -> removeContext -> sort: ascending lexicographical -> splitByValue:valueChanged -> collapseContext -> E1EDP01
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.