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

disable execution button

Former Member
0 Likes
742

Hi All,

In the selection screen by default Execution button is come . I want to disbale the execution button in the selection screen . Please help me.

thanks

Goutam

1 ACCEPTED SOLUTION
Read only

hymavathi_oruganti
Active Contributor
0 Likes
678

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.

5 REPLIES 5
Read only

hymavathi_oruganti
Active Contributor
0 Likes
679

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.

Read only

rahulkavuri
Active Contributor
0 Likes
678

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
678

Hi,

Why do u want to disable the button?

If u want no action to take place even if anyone triggers F8 u just catch that SY-Ucomm and code

when SY-UCoMM <> the value of F8.

U can do this by way..

cheers,

Simha.

Read only

Former Member
0 Likes
678

same thread....

Read only

Former Member
0 Likes
678

Hi,

REPORT  ZTEST  message-id zz  .

initialization.
set pf-status 'AAA'. "double click on AAA and
              "enable BACK,CANC,EXIT only. 

parameters: p_matnr like mara-matnr.

check it.

Regards

vijay