on 05-08-2006 5:52 PM
hi,
In the target i have a tag which says:
Extrinsic 0..unbounded
name required
I have to map the above target to a source which comes from different IDOC segments.
E.g.
if E1EDP17.Qualf = '002' then map the E1EDP17.lktext to the "name"
if E1EDP17.Qualf = '001' then map the E1EDP17.lktext to the Extrinisc.
If data resides in other segments, how would i map those segments to the same output in xml.
Example:
<Extrinsic name="a">test</Extrinsic> -> this comes from E1EDP17 segment
<Extrinsic name="a">test</Extrinsic> -> comes from segment A
<Extrinsic name="a">test</Extrinsic> -> comes from segment B
How can i use a single Target to map from different sources if they are in different segments?
Any tips?
Thanks,
KP
Message was edited by: Tirumal Kumar Pappu
Hi,
>>><b>If data resides in other segments, how would i map those segments to the same output in xml.</b>
Use removeContext node function.
Regards,
Smitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tirumal,
U will have to use comination of node functions like <b>exists</b> and <b>mapWithDefault</b>.
Are you sure that, E1EDP17.Qualf will have the value '002' or '001'.
There are some very good blogs on mapping by Sravya. Go through them and also go through the following link.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">sap help for Mapping</a>
Please reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.