Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable a Button on the Application Tool bar

Can any one let me know how to disable a Button on the application toolbar based on a flag. i.e. If the flag is set the button should be enabled and if the flag is empty then the button should be disabled.

Regards,

Swamy Mantha.

Tags:
Former Member
Former Member replied

hi,

when you say excluding button, this removes the button completely.

instead, if you want to disable button..

Set pf-status 'ABC' excluding itab.

double click on ABC, goto -> attributes -> push button assignment -> display all.

the buttons whose fcodes are passed to itab gets <b>grayed out (gets inactive)</b>.

depending on your condition, populate itab with the fcodes required.

Regards,

Sailaja.

Reward points, if answer is helpful

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question