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

Hi Question On Selection-screen.

Former Member
0 Likes
1,384

Hi Experts,

when ever u create a parameter or select-options in selection-screen

u will have an execute button on Left-Top Corner ...... How to Deactivate that button .........is there any function modules for ressting that execute....i hope we need to do it in AT SELECTION-SCREEN OUTPUT.

Thanks & Regards

BHaskar Rao.M

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,356
REPORT ABC MESSAGE-ID ZZ.


DATA : V_REPID LIKE SY-REPID.

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.

END-OF-SELECTION.

  WRITE : 'Hi'.

Hi Experts,

when ever u create a parameter or select-options in selection-screen

u will have an execute button on Left-Top Corner ...... How to Deactivate that button .........is there any function modules for ressting that execute....i hope we need to do it in AT SELECTION-SCREEN OUTPUT.

Thanks & Regards

BHaskar Rao.M

11 REPLIES 11
Read only

Former Member
0 Likes
1,356

yes we can do all the screen modifications in 'At Selection-screen Output' Event.

If u want to modify anything in GUI-Status(application toolbar or menu bar) copy the GUI-status from Menu bar at that particular into a neew GUI status and modify and use(using 'Set PF-Status' statement).

Hope this will solve ur problem..

<b><u>Please Dont forget to reward all the useful replies</u></b>

Sudheer

Read only

0 Likes
1,356

Hi Sudeer ,

Is there any function module for deactivating it ....

Thanks & Regards

Bhaskar Rao.M

Read only

0 Likes
1,356

there is no function module to deactivate anything in GUI-status (Menubar or application toolbar) at my knowledge.

Read only

0 Likes
1,356

<b>RS_SET_SELSCREEN_STATUS</b>

Read only

0 Likes
1,356

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.

http://help.sap.com/saphelp_47x200/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/content.htm

Read only

Former Member
0 Likes
1,356

Hai,

Yes,u r right.U have to write it in AT SELECTION-SCREEN OUTPUT.

Regards,

Padmam.

Read only

Former Member
0 Likes
1,356

Hi,

You can set your own PF-status or use Function - keys

Thanks

Sandeep

Reward if helpful

Read only

Former Member
0 Likes
1,357
REPORT ABC MESSAGE-ID ZZ.


DATA : V_REPID LIKE SY-REPID.

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.

END-OF-SELECTION.

  WRITE : 'Hi'.
Read only

0 Likes
1,356

Hi Chandra Sekhar,

Thanks for the valueble answer.........

Thanks & Regards

Bhaskar Rao.M

Read only

Former Member
0 Likes
1,356

hi,

goto SE41 n create a menu for your screen by giving report name and selecting menu bar radio button. giv function codes for the buttons you want.

n in at selection-screen output [or] use at user-command event

loop at screen.

case sy-ucomm

when 'fc1'

screen-required = 0.

modify screen.

.........

...........

endcase.

if helpful reward some points.

with regards,

suresh babu aluri.

endloop.

Read only

Former Member
0 Likes
1,356

Hi,

Use command :

SET PF-STATUS 'PFSTAT' EXCLUDING 'EXEC'.

Note that pfstat above is a pf status here u can disable a F code like Execute .

Hope this will help u.

Jogdand M B