01-09-2014 2:31 PM
Hi Experts,
I am using the standard FM RS_TREE_LIST_DISPLAY to display the data in Tree view.
Here I not want some of the function keys to be displayed in the report. So how do I can customize(remove) the ICON from the Application Toolbar in my report program.
I tried using GUI Status by creating a new function key in SE41 but that is disabling the manual expand and collapse functions disable.
Please suggest me the code to be used for achieving this.
Thanks !
Bharath. S
01-09-2014 6:30 PM
Hi Jaya
You need to set PF status before you being creating the tree. Check SAP sample program RSRFCSLX this for the code reference. It displays its own button
Nabheet
01-09-2014 6:30 PM
Hi Jaya
You need to set PF status before you being creating the tree. Check SAP sample program RSRFCSLX this for the code reference. It displays its own button
Nabheet
01-10-2014 7:47 AM
Hi Nabheet,
Thanks!!
It worked..
I corrected the code with some minor changes. The function code was wrongly provided caused this issue.
Thanks,
Bharath
06-28-2019 9:20 AM
Here is the Exact steps you need to perform to achieve your custom PF status functionality-
1. You need to set PF status before you being creating the tree.
SET TITLEBAR 'TREE.
SET PF-STATUS 'ZTREE'.
2. In FM: 'RS_TREE_LIST_DISPLAY' pass exporting parameter callback_user_command value as below-
l_program_main = sy-repid.
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
EXPORTING
callback_program = l_program_main
callback_user_command = 'X' .