cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical AMpping- Many to one Mapping Problem

Former Member
0 Kudos

Hi,

I am trying to map three similar strutures to same target sructure( Mapping different partner structures to teh same segment in IDOC). They must get appended as different records into target structure. But I am unable to do it. As soon as I map the target field once, it deosnt allow me to map it again or create duplicate entries for that structure. Can anyone please give any clue as to how this can be achieved?

Thanks,

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Srinivas,

Check these threads...

Regards

Anand

Answers (4)

Answers (4)

helmut_berger
Explorer
0 Kudos

Hi Srinivas,

I found a solution in the following thread:

The solution is to map a constant to the root node of the

subtree.

Kind regards

Helmut

sridharreddy_kondam
Active Contributor
0 Kudos

Hi,

Try mapping with source to duplicate structures...

e.g

say header has fields -->

Header -->

Order type

Sales Organization

Distribution Channel

Division

Now Header has to be mapped to target segment(duplicate segments) E1EDK14,E1EDK14,E1EDK14,E1EDK14(This each segmennt has say 1 filed)

Now first map,

1) Header to E1EDK14(1)

then

Order type to E1EDK14-ORGID

2)) Header to E1EDK14(2)

then

Sales Organization to E1EDK14-ORGID

3) ) Header to E1EDK14(3)

then

Dist. Channel to E1EDK14-ORGID

4)Header to E1EDK14(4)

then

Division to E1EDK14-ORGID

Try in this way and this will definitely solve u r problem..

if any further questions u r welcome...

Regards,

Sridhar Reddy k

Former Member
0 Kudos

Hi,

give an example for input and output for your mapping, so that the question is still more clear.

regards,

P.Venkataramanan

Former Member
0 Kudos

Thanks for your suggestions. Even I tried to achieve this using Duplicating the subtrees in target structure. But I am unable to use the duplicate trees created. AS soon as I try to save the subtrees, they are getting deleted and only one structure is remaining in the target. I dont know if there is problem with my server or same os the case everywhere. I tried this in two servers available to me.

Thanks,

Srinivas

helmut_berger
Explorer
0 Kudos

Hello Srinivas,

I have exactly the same problem.

I have to create multiple IDOCs from one source structure

and changed the cardinality as suggested in OSS note 814393.

That works fine, but when I try to duplicate the subtrees

it is always deleted after saving.

Did you solve the problem in the meantime? If so, I would be glad, if you give me a hint.

Helmut