cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Problem.

Former Member
0 Kudos

Hi Experts,

We have one sender message, having more than one Orders data like this :

Header

Order 1

item.........

Order 2

item..........

Order 3

item........

We are spliting One order in One IDOC.

Requirement is to not to split Order in separate IDOC, if item number is same in next order.

If Item number is different, it should create new idoc.

Please help,

Regards,

study SAP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Map it like

item No(set context to root node)--> SpitBy value(value change) ---> IDoc node at target

do rest of the mapping accordingly

also make sure you have unbounded IDoc node in XSD of IDoc....

Ref

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Edited by: Mugdha Kulkarni on Apr 25, 2008 3:12 PM

Answers (2)

Answers (2)

former_member556603
Active Contributor
0 Kudos

Hello,

Go through this blog

/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks,

Satya kumar

Reward if it is useful..

Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 3:37 PM

Former Member
0 Kudos

Hi,

By using SAP Standard Node functions you can achieve it,

try this,

Item --> RemoveCotext --> SplitByValue(value change) --> Idoc.

This will help you.

Regards,

Rohit.

Reward points if helpful.

Former Member
0 Kudos

Thanks Rohit,

Please give me example with screen shot, if possible.

Regards,

Study SAP

Former Member
0 Kudos

Hi,

Refer the following links,

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Regards,

Rohit.

Reward points if helpful.