cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to call and send parameter to Supply methods?

Former Member
0 Kudos

Hi ,

I have created a Tree structure in my application. I need to now modify the Tree structure( So basically add new levels or sub levels.) I am filing the tree structure by using Supply Method in nodes.

We have got a button, and when we press the button, we want that a sub node will created under the selected node in Tree structure. But we are unable to access the Tree node from context.

Do we need to again call the Supply Method?

If yes then, how can I pass the information of sub node to the supply method?

Regards

PG

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Please have a look at this document regarding the supply function usage.

[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c097acf8-f4c6-2d10-e8bd-e6172272a931?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c097acf8-f4c6-2d10-e8bd-e6172272a931?quicklink=index&overridelayout=true]

You should not use supply function to get to the child node. You have to look for another solution for your tree problem.

ashish_shah
Contributor
0 Kudos

As the name suggests Supply functions are used to supply the data to the node.

Supply function of a child node is called whenever the parent node's lead selection changes.

So if you wish to populate your child node with the data you can use supply function in child node.

however i dont see this as your requirement.

Also please share the code used to access the Tree node from the context. this will give better understanding of your requirement.

Regards,

Ashish Shah