Application Development 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: 

Disable button in Application Toolbar by default

Former Member
0 Kudos
103

Dear Experts,

My requirement is that i am developing a custom screen where there are few buttons in Application Toolbar. Whenever the Transaction is executed, one of the button should be disabled by default. I searched in the Forum but i am unable to get due to limited time.

Kindly help me how to achieve this?

Regards,

Ramesh Manoharan

3 REPLIES 3

PedroGuarita
Active Contributor
0 Kudos
64

SET PF-STATUS 'status' EXCLUDING ...


DATA t_exclude TYPE TABLE OF sy-ucomm. 
... 
MODULE status_0100 OUTPUT. 
  APPEND 'CHANGE'  TO fcode. 
  APPEND 'SAVE' TO fcode. 
  SET PF-STATUS 'STATUS_0100' EXCLUDING t_exclude. 
ENDMODULE. 

0 Kudos
64

Hi,

Sorry my requirement is that i need to one of the button must be greyed out and must be visible in the application toolbar. It should be similar to SAP Transaction CS14.

Regards,

Ramesh Manoharan

0 Kudos
64

closing the thread