‎2006 Sep 13 8:30 AM
Hi All,
Is there any method to delete the default pushbutton which get displayed everytime when we execute a report
i dont want 2 create a Pf-status.
Thanks in advance.
Regards,
Seema.
‎2006 Sep 13 11:58 AM
Hi,
Hope this wud help u!!
PARAMETERS: p_infile LIKE rlgrap-filename OBLIGATORY.
DATA: itab TYPE TABLE OF sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'ONLI' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
Thanks & Regards.
ViKaS.
‎2006 Sep 13 8:41 AM
Hi Seema
You can use the statement 'Set PF-Status XXX Excluding YYY'. where XXX is PF Status and YYY is the command. Read F1 Help on this statement.
Regards
Srikanth M
‎2006 Sep 13 8:46 AM
Hey seema, try this
The GUI status of a selection screen is generated by the system. The SET PF-STATUS statement in the PBO event of the selection screen has no effect on the standard GUI status. If you want to use your own GUI status for a selection screen or deactivate functions in the standard GUI status in exceptional cases, you can use one of the following function modules in the PBO event of the selection screen:
RS_SET_SELSCREEN_STATUS
Sets another GUI status defined in the same ABAP program, or deactivates functions of the standard GUI status.
RS_EXTERNAL_SELSCREEN_STATUS
Sets a GUI status defined in an external function group. You must use the SET PF-STATUS statement to set the status in a special function module in this function group. You must pass the name of the function module that sets the status as a parameter to the function module RS_EXTERNAL_SELSCREEN_STATUS.
For further information, refer to the function module documentation.
REPORT demo_sel_screen_status.
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'PRIN' TO itab,
'SPOS' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
In this example, the Print and Save as variant functions are deactivated. To find out the function codes of the standard GUI status, choose System ® Status and double-click the GUI status field.
‎2006 Sep 13 8:46 AM
hi seema
how r u ?
check this
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'ONLI' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
hope it will help u ,
now u can call me,
Message was edited by: chetan vishnoi
‎2006 Sep 13 11:58 AM
Hi,
Hope this wud help u!!
PARAMETERS: p_infile LIKE rlgrap-filename OBLIGATORY.
DATA: itab TYPE TABLE OF sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'ONLI' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
Thanks & Regards.
ViKaS.
‎2006 Sep 13 12:07 PM
Hi,
use custom PF-status to overide default pushbutton
start-of-selection
set pf-status 'TEST'.
Regards
Amole