cancel
Showing results for 
Search instead for 
Did you mean: 

NODE FUNCTIONS

Former Member
0 Kudos

Hi

Pls explain how many node functions? what is the use of that.explain breafly

Thanks&Regards

shekar

Accepted Solutions (0)

Answers (5)

Answers (5)

venky_b
Participant
0 Kudos

Hi raja shekar ,

Please go through the following link

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Node functions are very useful function in standard function. We wll use lot in real time.

Thanx

venky

Former Member
0 Kudos

Hi Raja

Node Functions are: createIf, removeContexts, replaceValue, exists,

SplitByValue, collapseContexts

Use createIf() to create a tag in the target structure using a condition.

Example: Depending on the value of type (internal or external), the target tag either

internalRequest or externalRequest will be created.

Use exists() to determine whether a particular source field exists in the XML instance to be

processed. If does, exists() returns true, otherwise, false.

Example: In the source, description is optional. However, in the target, description is

mandatory.

Context Change in Message mapping works internally by using queues

If no further elements are imported at a particular hierarchy level, a Context Change is

inserted in the queue Use node functions to handle changes in the message

hierarchy.

removeContexts : deletes all context changes of a queue

SplitByValue: insert additional context changes in a queue

use removeContext() to delete the parent context of an

element.

Use removeContext() to delete all the higher contexts for an element. This deletes all

higher hierarchy levels, so that all elements of the target queue are assigned to a root

element of the source queue.

SplitByValue() is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue.

Using collapseContexts() replaces all values of all contexts with an empty

string:

<b>

***Rewrd points if it help u understand</b>

Former Member
0 Kudos

hi raja shekar

go to Function Category: Node Functions in this following sap.help link

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

regards

Ramesh P

Former Member
0 Kudos

hi raja,

node functions are useful wen u need to change the heirarchy in trg structure based on some conditions like existance of a source node for instance.

all info about node functions can be found here:

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

[reward if helpful]

regards,

latika.

Former Member
0 Kudos

Hi !

Check this link.

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

Have a look at this..

Message Mapping Simplified - Part I

/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i

Message Mapping Simplified – Part II

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

Thanks !!