cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping

Former Member
0 Kudos

I have the following source structure,

ORDERS05

IDOC

E1EDKA1

I am building following target structure

ORDERS

ORDER

PARTNERNUMBER

Please note that ORDER is mapped to IDOC and ORDERS05 occurs only once

Now for partner function LF, I should populate partner number.

I set the context of PARVW/PARTN to E1EDKA1 and used remove context, but that doesn't work.

Remove context followed by Split by value seems to work.. but I am still not able to understand the significance..

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi SSG,

Did you try with just SplitByValue..

I think, Removecontext and SplitByvalue will work here.

To get to know about each value during runtime , go to Display Queue option. You can see more !! about

/people/venkat.donela/blog/2005/06/09/introduction-to-queues-in-message-mapping

For more on Splitbyvalue/Removecontext~

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

Removecontext will make your structure in Root level or flat level.

http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm

Regards,

Moorthy

Answers (1)

Answers (1)

Former Member
0 Kudos

Krishna, just split by value didn't work.. i tried that with two orders (first order having a value, while second didn't)..

moorthy
Active Contributor
0 Kudos

SSG,

Thanks for the update..

SplitByValue with Context changed to root level DId you try this ?

Are you able to handle this with RemoveContext and SplitBy value,..

Regd. the runtime value, you can check in the Display queue so that you can determine is above 2 functions are required or not..

This is just for your info..

Regards,

Moorthy

Former Member
0 Kudos

Context changed to root level meaning ORDERS?