2008 Jul 25 11:55 AM
HI.
For application tool bar iam using following code.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
sscrfields-functxt_01 = 'Report'.
sscrfields-functxt_02 = 'Clear'.
But iam getting 3 application tool bar 1.Execute 2.Report 3.Clear.
I want only Report and Clear buttons,how can I remove default execute button from application tool bar.
Pls advice me .
Reward all helpful answers,
Regards.
Anil.
2008 Jul 25 12:09 PM
hi,
AT SELECTION_SCREEN OUTPUT.
SET PF-STATUS 'SPACE' EXCLUDING 'EXECUTE'.
We can do the above way but handle the other buttons as per your requirement
Thanks & Regards,
Chandralekha.
2008 Jul 25 12:10 PM
Hi,
Define ur own PF status in SE41 and set it in ur program in the event AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
SET PF-STATUS 'VINU'.
U have to handle the user actions in ur program.
Thanks,
Vinod.
2008 Jul 25 12:11 PM
REPORT ZREPORT.
DATA:
gt_exclude TYPE TABLE OF rsexfcode,
gs_exclude TYPE rsexfcode.
PARAMETERS:
pa_test TYPE c.
INITIALIZATION.
gs_exclude-fcode = 'ONLI'.
APPEND gs_exclude TO gt_exclude.
AT SELECTION-SCREEN OUTPUT.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = '%_00'
p_program = 'RSSYSTDB'
TABLES
p_exclude = gt_exclude.
2008 Jul 25 12:11 PM
HI,
I dont see why you want to remove the exec button. If you have the FC01 and FC02 keys you would have to write all your code in At Selection-Screen Event the control would never go into start-of-selection. the only way you can go to the event start-of-selection.
santhosh
Edited by: Kaluvala Santhosh on Jul 25, 2008 4:41 PM
2008 Jul 25 12:13 PM