Application Development and Automation 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: 
Read only

How to display node tree structure in sub-screen of module pool program

former_member557605
Participant
0 Likes
1,899

Hi

I am creating a tree structure in module pool programming. And I want to display tree structure in sub-screen. I am using RS_TREE_LIST_DISPLAY function module for displaying tree structure. But It is not displaying in sub-screen.

I want to display this screen instead of table control of first screen not in another screen.

CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
  EXPORTING
    callback_program = sy-repid.

Please, anyone suggest me What should I write instead of callback_program = sy-repid.

Hi

I am creating a tree structure in module pool programming. And I want to display tree structure in sub-screen. I am using RS_TREE_LIST_DISPLAY function module for displaying tree structure. But It is not displaying in sub-screen.

I want to display this screen instead of table control of first screen not in another screen.

CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
  EXPORTING
    callback_program = sy-repid.

Please, anyone suggest me What should I write instead of callback_program = sy-repid.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,248

Set the parameter USE_CONTROL to the constant stree_use_in_dynpro, and in your PBO do :

CALL SUBSCREEN your_subscreen_area INCLUDING 'SAPLSEUT' '0703'.

It's kind of obsolete now, and I think that all demo programs have been removed so you won't get much help.

So, instead of defining a subscreen area, define a custom control area, and use one of the tree control classes (CL_GUI_SIMPLE_TREE for instance) which still have demo programs and more answers in the forum.