cancel
Showing results for 
Search instead for 
Did you mean: 

Split By Value - Context

Former Member
0 Kudos

Hi Experts,

I am learing about Split By Value and Context in Mapping Node Functions,

What is Split By Value ?

What is Context ?

Can anyone give some light on this topic WITH REAL TIME EXAMPLE.

Regards,

Study SAP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Actually u need some stuff regarding the mapping functions which are present in the message mapping..

In node functions we get Split by value, Remove contexts, collapseContexts..

Split By value again has 3 possiblities -- Each Value, Value Changed, Empty Value.

and follow this documents for the information..

Remove context -

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

Collapse context -

http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.htm

Node Functions

http://help.sap.com/saphelp_nw04s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm

Regards

Gundala

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Message mapping internally work based on queues.you can view the queue by right cicking on either source element or on target elemnet in data flow editor and select DISPLAY QUEUE.Tested data is displayed in que with context change.

(Execute the mapping with test data then goto design,right sourece or target element and select display queue)

Handling that context change is called context handling.

Split by value is one of the predefined function.you can find it under Node functions.

Using this function You can split that context change to different levels according to your requirement.

Go through below links:

http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/frameset.htm

/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

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

Former Member
0 Kudos

hi

we should have some knowledge about mapping functions which are present in the message mapping. in node functions we get split by value, remove contexts,collapse contexts.

SplitByValue() is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.

you can follow the below links which have datailed with an example

http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/frameset.html

you can also follow other links

/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi

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

for remove contexts

http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.html

for collapse contexts

http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.html

for node functions

http://help.sap.com/saphelp_nw04s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.html

reward points if found useful

regards

v.n.phalguna

Former Member
0 Kudos

Hi,

What is Split By Value ?

-->

suppose you have an XML Like

code<root>

<node>1</node>

<node>2</node>

</root>[/code]

split by value(node) returns:

code<root>

<node>1</node>

</root>

<root>

<node>2</node>

</root>[/code]

Instead remove context does the opposite.

What is Context ?

-->

refer

http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm

/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

Here is a scenario where context objects were used for BPM

Get the details here:

http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

Technical Context Objects :

http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

A list of the Technical Context Objects names can be found here:

http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm

Thanks

Swarup

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi,

Split by value, remove context and collapse context:

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

Regards,

Phani

Former Member
0 Kudos

hi

check these blogs

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

/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi

regards

krishna