on 2012 Jul 13 6:42 PM
IDOC
+segment1 (0....unbound)
++field1
++field2
+node2 (0...unbound)
++keyfield1
++keyfield2
segment 1 can appear more than one time.
Based on the node2, the target structure gets repeated. For every repeatetion the segment1 occurrences should repeat. Both Segment1, node2 are at the same level under one single segment in IDOC.
Eg: If segment1 repeats 4 times, and node2 repeats, each repetitions of node2 should have 4 repetitions of the segments1 occurrences in node 2 repetition.
Tried with multiple options. help
Venkat.
Request clarification before answering.
A simple UDF at the context level should do the work here. Pass both Node2 and segment 1 to it. For each node2, add the length for segment one number of elements on the target.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.