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

GUI Status

Former Member
0 Likes
1,007

How to change the GUI status dynamicaly. i have created 2 buttons in the Application Toolbar. on pressing Enter in the screen one button shud be disabled the other shud be active.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
981

Hello,

Use, <b>set pf-status <menu> excluding <okcode of the screen element>.</b>

Regards,

Shehryar Dahar

7 REPLIES 7
Read only

Former Member
0 Likes
981

Hi ,

In the PAI or at selection-screen , use the command SET PF STATUS EXCLUDING .

Regards

Arun

Read only

Former Member
0 Likes
981

you can remove the button from application toolbar using

set pf-status 'zmenu' excluding 'okcode of the button'.

Read only

Former Member
0 Likes
981

Can i give 2 ok codes at a time

Read only

0 Likes
981

No ,you can set only one gui status at a time

Read only

0 Likes
981

hi you can do that by populating table

DATA: itab TYPE TABLE OF sy-ucomm.

APPEND 'DELE' TO itab.

APPEND 'PICK' TO itab.

SET PF-STATUS 'STA3' EXCLUDING itab.

Read only

former_member404244
Active Contributor
0 Likes
981

Hi,

u can't give two okcodes at one time.At one time it will take only one.

Regards,

nagaraj

Read only

Former Member
0 Likes
982

Hello,

Use, <b>set pf-status <menu> excluding <okcode of the screen element>.</b>

Regards,

Shehryar Dahar