‎2009 Nov 09 6:19 AM
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
‎2009 Nov 09 6:23 AM
DATA fcode TYPE TABLE OF sy-ucomm.
APPEND 'CHANGE' TO fcode.
SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.
‎2009 Nov 09 6:27 AM
But this will make button with that fcode invisible. I just want to make it disable not invisible
‎2009 Nov 09 6:37 AM
‎2009 Nov 09 6:42 AM
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.
‎2009 Nov 09 6:46 AM