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: 

Display tree function 'RS_TREE_LIST_DISPLAY' into a custom container

Former Member
0 Kudos

Hi all,

I just wanted to know if it's possible to display my tree, created with RS_TREE_CONSTRUCT and displayed with

RS_TREE_LIST_DISPLAY into a custom container into my dynpro.

I allready use alv_tree with abap OO but I prefer the rendering of RS_TREE_LIST_DISPLAY so I am lokking for a way to integrate it into a custom dynpro with other ALV OO.

Thanks for your help.

Olivier.

1 ACCEPTED SOLUTION

former_member209703
Active Contributor
0 Kudos

Hi

As far as i know it is not possible to use this FM and display the tree within a Container as this function uses list processing to display the tree.

If you are using a ModulPool application you need to use LEAVE TO LIST PROCESSING to display the tree but it can not be used in any type of container.

Regards

2 REPLIES 2

former_member209703
Active Contributor
0 Kudos

Hi

As far as i know it is not possible to use this FM and display the tree within a Container as this function uses list processing to display the tree.

If you are using a ModulPool application you need to use LEAVE TO LIST PROCESSING to display the tree but it can not be used in any type of container.

Regards

Former Member
0 Kudos

Hi,

Indeed this FM cannot work with containers... If you prefer his rendering, you could also have a look to class CL_GUI_SIMPLE_TREE which is quite similar. Check program SAPSIMPLE_TREE_CONTROL_DEMO.

Kr,

Manu.