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.


 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s