cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in the mapping

Former Member
0 Kudos

HI,

Iam doing IDOC to SOAP scenario....i have imported IDOC and recever side structure.

Receiver side structure:

Component 1..1

node1 1..1

node2 1..1

item 0..9999

node1 1..1

node2 1..1

the sender side in IDOC structure the segment is unbounded and which is mapped to the Item level of receiver.

when i test the mapping the item level occurence iam getting only once.

i used UDF and graphical mapping ...in the mapping queue i can see the item node multiple times...but when i check the receiver XML the occurence is once.

Regards,

Chinna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

What Rahul has suggested is correct..

You need to set the context of IDOC segment to either root node or simply use the RemoveContext e.g.

Segment->RemoveContext>Item

Former Member
0 Kudos

Hi,

Try with SplitByValue between Segment and Item.

Regards

Jayan

rajasekhar_reddy14
Active Contributor
0 Kudos

if you have mapped IDoc segment to IETM,if your IDoc occured multiple times then you will see multiple Item records.if not no.

Former Member
0 Kudos

HI,

thanks for the reply....the occurence of the IDOC segment is multiple.......problem is i can see in mapping queue...but not in receveier XML

RKothari
Contributor
0 Kudos

I guess could be a context issue at Item node.

Have you tried using removeContext or collapseContext node functions just before the target node.

your logic-->removeContext-->Item

Also, you try mapping directly the unbounded Idoc segment with Item node in target.

Check the new receiver xml generated.