2018 Dec 23 10:24 AM
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.
2018 Dec 23 11:03 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |