on 10-22-2009 8:36 AM
Hello All,
can u tell me what is Sigleton Node and Non-SingleTon Node ?
Thanks
Sriram.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.