cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping N -(N:N)

Former Member
0 Kudos

Hi

I have an input structure

Invoice

Header

detail

detail

detail

......

details

That needs to produce :

IDOC

ZHEAD

ZITEM

ZITEMX

ZITEM

ZITEMX

....

ZITEM

ZITEMX

IDOC

Where for each detals in the source there is a ZITEM and ZITEMX pair produced in the dest. When I map details directly to ZITEM and ZITEMX I get a structure of the format:

ZITEM

ZITEM

ZITEM

ZITEMX

ZITEMX

ZITEMX

Any suggestions ? ..

Thanks

Damien

Edited by: Damien O'Dowd on Oct 15, 2008 5:51 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can not get sequence item and itemx in message mapping.

Try using xslt or java mapping.

Does the sequence is important?

Thanks,

Beena.

Former Member
0 Kudos

In the End this was structure dis not necessarily matter .. I could post as Items first then itemX as long as I maintained the relevant item numbers ! .. the rest was done in the ABAB code !

SudhirT
Active Contributor
0 Kudos

Hi,

In Graphical mapping all nodes of same kind comes at a place rather than distributed. Check answer by stefen for more details

Thanks!

Answers (0)