on 05-09-2006 3:18 PM
Hello,
I have the following problem by mapping in the xi:
In the target structure i will replace the frequency of an source-structure.
source structure
MT_DATEN
row
L1
L2
field1
field2
row
L1
row
L1
L2
field1
field2
L2
field1
field2
L2
field1
field2
row
L1
L2
field1
field2
L2
field1
field2
target structure (IDOC 0...unbounded)
E1HEAD 1x
E1COND nx
Mapping: The following structures getting mapped:
L1 -> E1HEAD
L2 -> E1COND
-field_A
-field_B
-COUNTER-FIELD
L2-index(1,1,context)---E1COND-COUNTER-FIELD
The result:
IDOC1:
E1HEAD
E1COND
field_A
field_B
1
IDOC2:
E1HEAD
IDOC3:
E1HEAD
E1COND
field_A
field_B
<empty>
E1COND
field_A
field_B
1
E1COND
field_A
field_B
<empty>
IDOC4:
E1HEAD
E1COND
field_A
field_B
<empty>
E1COND
field_A
field_B
1
There must be a problem with the context because ,
I would like to have the following result:
IDOC1:
E1HEAD
E1COND
field_A
field_B
1
IDOC2:
E1HEAD
IDOC3:
E1HEAD
E1COND
field_A
field_B
1
E1COND
field_A
field_B
2
E1COND
field_A
field_B
3
IDOC4:
E1HEAD
E1COND
field_A
field_B
1
E1COND
field_A
field_B
2
I hope that somebody can help me
Chris
Look also at my blog for a use case for the index function:
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
Regards
Stefan
Message was edited by: Stefan Grube
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Check with the SplitByValue node functions.
Also go thru this link-
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Thanks,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.