Skip to Content

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

GUI-status disable button?

Hi,

How to disable an button on my gui-status MAIN?

tnx.

Tags:
Former Member
Former Member replied

Hi,

You can use the following command:

DATA: it_buttons TYPE STANDARD TABLE OF sy-ucomm,
          wa_buttons TYPE sy-ucomm.

wa_buttons = 'SAVE'.

APPEND wa_buttons TO it_buttons.

SET PF-STATUS 'ABC' EXCLUDING it_buttons.

Screen will have the button disabled having F-CODE 'SAVE'.

Regards,

Kunjal

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question