on 09-20-2008 2:44 PM
Hi,
IDoc contains 2 Segments:
Seg1 & Seg2.
Seg2 is the child of Seg1.
Seg1 contains field:
CODE
Seg2 contains fields:
DESCRIPTION
HIERARCHY
When i trigger the idoc, the data is stored as:
Seg1:CODE: 1001
-
Seg2:DESCRIPTION: test1,
-
HIERARCHY: 00
Seg1:CODE: 1002
-
Seg2:DESCRIPTION: test2,
-
HIERARCHY: 01
Seg1:CODE: 1003
-
Seg2:DESCRIPTION: test3,
-
HIERARCHY: 02
Seg1:CODE: 1004
-
Seg2:DESCRIPTION: test4,
-
HIERARCHY: 03
creating the duplicate segments as shown above.
-
This data is mapped to the structure in XI.
The structure to map will be as follows:
str1
---ID1
---DES1
---ID2
---DES2
---ID3
---DES3
-
i've to map depending on the field HIERARCHY condition.
IF HIERARCHY = '02' THEN
ID1 = 1003.
DES1 = TEST3.
IF HIERARCHY = '01' THEN
ID2 = 1002.
DES2 = TEST2.
IF HIERARCHY = '00' THEN
ID3 = 1001.
DES3 = TEST1.
-
How to map this condition based, in the MESSAGE MAPPING?
pls help in solving this if possible with a screen shot.
Regards,
Balaji
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can achieve this by using Fix values function in message mapping.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.