Tuesday, 15 September 2015

Creating a Hierarchical Tree in Web Dynpro

--------------------------------------------------------------------------------------------------

Create a web dynpro component and create nodes as specified below.

For node- SCARR provide a supply function and two attributes.


 Create a node- SPFLI under Node- SCARR and provide a supply function and one attribute.
Design the layout. Add a Tray and mention width and heigh accordingly. 

Provide the tray caption text.


Create a tree UI element under the Tray and provide the root text and bind it to the context node.
Under the tree create a node  [ TREE NODE TYPE] and provide a icon. Bind the data source to the Node- SCARR and text to the node attribute.


Under the tree create a node  [ TREE ITEM TYPE] and provide a icon. Bind the data source to the Node- SPFLI and text to the node attribute.
Put the code in the supply function of two nodes.







Create an application and test.



--------------------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname