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

Hide execute button in selection-screen

Former Member
0 Likes
755

i want to hide the execute button (F8) in the selection screen.

My selection screen number is 9000.

if i didnt use the selection screen number and use set pf-status its working fine.

But when i use selection-screen number 9000 its not working.

How to solve this.

Thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
518

HI ,

Refer the sample program:

demo_sel_screen_status

Regards,

Ravi

Read only

amit_khare
Active Contributor
0 Likes
518

Are you calling set pf-status on the screen 9000 module?

Regards,

Amit

reward all helpful replies.

Read only

0 Likes
518

9000 is not module its selection screen

Read only

Former Member
0 Likes
518

Hello,

Try like this:

Define a status gui and call it in initialization:

INITIALIZATION.
  SET PF-STATUS 'ZSTS' IMMEDIATELY.
  WRITE sy-pfkey.


You need to declare sscrfields table in tables statment to manage user commands. Example:

AT SELECTION-SCREEN.
  CASE sscrfields-ucomm.
    WHEN 'LEAVE' OR 'CANCEL' OR 'BACK'.

Vasanth