Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

delete default pushbutton??

Former Member
0 Likes
710

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
626

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.

5 REPLIES 5
Read only

Former Member
0 Likes
626

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

Read only

Former Member
0 Likes
626

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.

Read only

Former Member
0 Likes
626

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

Read only

Former Member
0 Likes
627

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.

Read only

Former Member
0 Likes
626

Hi,

use custom PF-status to overide default pushbutton

start-of-selection

set pf-status 'TEST'.

Regards

Amole