Skip to Content
author's profile photo
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on May 03, 2011 at 02:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 03, 2011 at 07:38 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded