cancel
Showing results for 
Search instead for 
Did you mean: 

what is SingleTon Node and Non-SingleTon Node ?

Former Member
0 Kudos

Hello All,

can u tell me what is Sigleton Node and Non-SingleTon Node ?

Thanks

Sriram.

Accepted Solutions (1)

Accepted Solutions (1)

former_member40425
Contributor
0 Kudos

Singleton Node:

A singleton node contains only one instace of the node at runtime. And that instace contains multiple elements at runtime.

By default if we create a node under ROOT context node, it will be allways singleton true.

Non singleton node:

A non singeton node contains more then one node instance at runtime. And each instance contains multiple elements at runtime.

It is not possible to create NonSingletonNodes directly under ROOT context node. We can create under any node which is under ROOT context node.

Note: In terms of datastorage at runtime we can say if node is table then each elment of node instance is a row of that table.

When is it requried to create non singleton nodes?

For example if you have list of SalesOrders and each and every oder is having list of items. Then we can create this node structure in two ways:

Orders (singleton true)

-


> Items (singleton true)

Here in this case at any point of time the there will be only one instance of Items node exist for currently selected element of Orders node. And that instance contains multiple elements nothing but items of that order.

Orders (singleton true)

-


> Items (singleton false)

Here in this case at any point of time all the instances of Items node exist for all the elements(not only for currently selected element) of Orders node. And those instances contains multiple elements nothing but items of those corresponding orders.

I hope it helps.

Regards,

Rohit

Answers (1)

Answers (1)

former_member201361
Active Contributor
0 Kudos

Hi,

check this link

[http://help.sap.com/saphelp_nwce711/helpdata/en/47/be673f79c8296fe10000000a42189b/content.htm]

search in SDN,u will find lot of materials.

Thanks and Regards