Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a tree and Use of CL_GUI_SIMPLE_TREE?

Former Member
0 Kudos

Hi All,

I am working on a module pool. I want to create a tree like thing. In ABAPDOCU and SE84 Tn we have a tree on the left hand side. I need to make a tree in a similar way. Can someone tell me how to achieve this and what is the use of the class CL_GUI_SIMPLE_TREE and its methods NODE_SEL_MODE_SINGLE and ADD_NODES. Can anyone provide me some simple sample coding?

Any help will be appreciated.

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

check this example

SAPSIMPLE_TREE_CONTROL_DEMO

former_member188685
Active Contributor
0 Kudos

also read the class documentation

CL_GUI_SIMPLE_TREE