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

disabling application button

Former Member
0 Likes
578

Hi,

How can i make application buttons disable?

SET pf-status 'xxx' EXCLUDING 'fcode' - This statement makes the button invisible.

But I want the button just disable and not invisisble

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
545

DATA fcode TYPE TABLE OF sy-ucomm.

APPEND 'CHANGE' TO fcode.

SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.

Read only

0 Likes
545

But this will make button with that fcode invisible. I just want to make it disable not invisible

Read only

0 Likes
545

check this thread

Read only

Former Member
0 Likes
545

SET pf-status 'xxx' EXCLUDING 'fcode'

goto the pfstatus by double clicking on XXX. Now, goto -> attributes -> push button assignment -> display all.

by this, only the butons whose fcodes which are passed in 'FCODE' are disabled.

Read only

Former Member
0 Likes
545

Thanks a lot,

The link was very helpful and solved my problem