on 12-27-2007 4:57 PM
Hi SDN,
I have a scenario(File to IDOC) in which i have to fill message code of control record as follows.
EDIDC->MESCOD (01)
Source file structure
<Header> -(1unbounded)
<Seg1> --(1-unbounded)
<Subseg1> --(1-1)
<Field1> ---(0-1)
<Seg2> ---(1-unbounded)
<Subseg2>--(1-1)
<Seg3>--(0-unbounded)
<Subseg3> (1-1)
<abc>(0-1)
<field2>(1-1)
Mapping rule for MESCOD is
field2='abc' then field1 has to map to mescod.
initially i did mapping with simple if condition with equals .
while testing mapping in the test tab i have given field2 value as abc in first occurance then output mescode is generating.
if i duplicate seg3 and give the field2 value in the second occurance then no value is coming to output field mescode.
and more over field1 occurance is 0-1 if no value is there in first occurance then there may be value in the second occurance of segment1 as it is unbounded.
i tried with use one as many but still i am not getting output in all cases.
can any one help me on this?
Thanks
Mansoor
HI,
Just refer the below help:
http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
Check what is wrong u have done.
Thnx
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.