Entering content frameSyntax documentationset_button_state Locate the document in its SAP Library structure

You use this method to change the status of an individual pushbutton:

CALL METHOD toolbar->set_button_state

           EXPORTING  enabled = enabled

                      checked = checked

                      fcode   = fcode

           EXCEPTIONS cntl_error = 1.

Parameters

Meaning

enabled

' ' : Pushbutton is inactive

'X' : Pushbutton is active

is_checked

Only for pushbuttons with type cntb_btype_group and cntb_btype_check :

'X' : Button is chosen

' ' : Button not chosen

 

Leaving content frame