cancel
Showing results for 
Search instead for 
Did you mean: 

Supply function and its usage?

Former Member
0 Kudos

Hi,

Can any one pls tell wat is supply function and how it is used in WDA? And also tell about singleton in detail..

Thanks,

Gopi.

Accepted Solutions (0)

Answers (3)

Answers (3)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Supply function is a method used to fill the context node.

It is called when

one or more elements of a context node are accessed and when ( the context node is not filled yet or is initial or e context node has been invalidated in a previous step )

Abhi

Former Member
0 Kudos

Hi,

supply function is used to fill the node.

it fills on demand

refer this thread

http://help.sap.com/saphelp_nwmobile71/helpdata/en/f1/177741adb7167de10000000a155106/content.htm

Former Member
0 Kudos

hi

pls refer this SAP online help for SUPPLY FUNCTION

http://help.sap.com/saphelp_erp2005/helpdata/EN/f1/177741adb7167de10000000a155106/content.htm

Supply function cn be assigned at Node level

Use of the supply function :

1 mainly this functionality used if the context nodes have parent node and sub nodes structures(Like Sales order header Parent node and Sales items Sub node.)

2. To initialize the context node with elements

to use how to use the SUPPLY FUNCTION , u cn proceed as follows :

1 for the context node , fo which u want to give the SUPPLY FUNCTION ,

in the parameter SUPPLY FUNCTION of the context node u r creating give the name of the SUPPLY FUNCTION which

u want to use

2 am of the code wud be generated , u can write ur logic there wht u want to achieve

for ur singleton node , the elements of the relevant node are instantiated for only one element of the parent node

u can refer this weblog :

/people/thomas.szcs/blog/2006/12/13/web-dynpro-abap--singleton-context-nodes-revisited

and also refer the pdf

Web Dynpro ABAP in detail , tht cntains the example illustration of singleton node

click on ur node and on the singleton proprty click F1.

The property "Singleton" specifies the number of instances that can exist in a dependent context node (that does not belong directly to the root node).

If the property "Singleton" is set, exactly one instance of the node exists. Its content changes when the lead selection of the parent node changes.

If the property "Singleton" is not set, one instance per parent instance exists. The content of the instances does not change when the lead selection of the parent changes.

refer the related thread :

I hope it satisfies ur query

rgds,

amit