Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping Problem in IDOC to XML scenario

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

Not what you were looking for? View more on this topic or Ask a question