cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Node Functions

Former Member
0 Likes
2,551

Hi experts,

What is the need of node functions?

why we use Node functions?

Any real example?

Please I am very much confusing with These concepts

Thanks

Sushma.Maganti

View Entire Topic
Former Member

Hi,

If we have a requirement one node at sender side occurs only once but many times it needs at receiver side then this case we need node functions.

For sorting the data either ascending/decending order, remove the context of particular node.

We have one node at sender side that is not mandatory at sender side but it is mandatory at receiver side then we can use map with default node function.

Below are node function with explanation

Node functions:

Sort : sort the values in each context.

Collapse context : It removes the supress and empty values that are in the same context.

Remove Context : It producess plain stream of values. It removes all level contexts.

Map with default : Inserts default value specified in the function properties into empty contexts.

Split by value : It inserts the context after events specified. events are each value, value changed and empty value.

Exists : It ckecks weather the node exists or not.

Replace value : It replacess the value of the source field to the value specified in the function.

Sort by key : Sort values in second queue by keys from first queue

Create If : It producess the nodes based on the IF condition.

Format by example : Takes values from first queue and inserts them in structure of second queue

for more details

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

/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool

/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool

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

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

/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample

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

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