‎2009 Jul 15 2:27 PM
Hi All,
Could you please let me know how to hide or disable application toolbar pushbuttons in the selection screen default screen 1000??
Thanks & regards,
Santhosh
‎2009 Jul 15 2:31 PM
‎2009 Jul 15 2:41 PM
Hi,
To hide the push buttons on the application tool bar of your screen, you can declare one internal table and workarea of char10.
Suppose you have confirm, detail push bottons on the screen with code CONF and DETL then you can write following code:
wa_exclude = 'CONF'.
APPEND wa_exclude to it_exclude.
wa_exclude = 'DETL'.
APPEND wa_exclude to it_exclude.
Set PF-STATUS pf_status EXCLUDING it_exclude.
Thanks,
Shobhit
‎2009 Jul 15 2:47 PM
Hi Shobit,
Its not working....
Any other suggestion please..
Thanks & regards,
Santhosh
‎2009 Jul 15 2:53 PM
‎2009 Jul 15 2:57 PM
Goto SE11 transaction. Provide any table name and click on display button. Select "Table of Contents" button.
Now whatever the screen displayed is generated with selection screens. Check the generated code. You can get the program name from the bottom right side corner of the screen. Check the code. You may get some clue.
‎2009 Jul 17 6:19 AM
‎2009 Jul 17 10:18 AM
‎2009 Jul 17 10:33 AM
Hi,
Try this way.
Thanks
Venkat.O"Create table for function codes
DATA: it_exclude TYPE TABLE OF sy-ucomm.
"
PARAMETERS: r1 RADIOBUTTON GROUP gr1 USER-COMMAND uco1,
r2 RADIOBUTTON GROUP gr1.
INITIALIZATION.
"Create two buttons with function codes FCODE1 and FCODE2.
SET PF-STATUS 'MY_GUI'.
AT SELECTION-SCREEN OUTPUT.
IF r1 = 'X'.
APPEND 'FCODE1' TO it_exclude.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = 'MY_GUI'
TABLES
p_exclude = it_exclude.
ELSE.
REFRESH it_exclude.
ENDIF.