abapdynpro

Why buttons added to a GUI Status are not visible or grayed out?


I want to add buttons to a standard screen.

I have added the buttons to the GUI status, but they are still not visible.

What is the reason and how to make them visible?


For instance, I have changed the GUI status corresponding to one screen of the transaction code MB52:

GUI Status > Definition of buttons of the Application Toolbar

The buttons are not displayed:

MB52 List Application Toolbar


Solution

  • First of all, in case you want to change a standard screen, make sure to identify the right GUI Status. See here how to identify it.

    Here's the logic used by the ABAP runtime environment to decide whether the button or menu entry corresponding to a Function Code is displayed or not, and how it is displayed:

    Last but not least, the GUI Status belongs to the CUA Interface of the program. This CUA Interface must be activated, otherwise the changes remain inactive and are ignored.