[ABAP] SAP-GUI aktivieren / deaktivieren

* SAP-GUI deaktivieren
CALL FUNCTION 'SAPGUI_SET_PROPERTY' DESTINATION 'SAPGUI'
  EXPORTING
    property              = 'ACTIVATE'
    value                 = abap_false
  EXCEPTIONS
    system_failure        = 1
    communication_failure = 2
    OTHERS                = 3.

* SAP-GUI aktivieren
CALL FUNCTION 'SAPGUI_SET_PROPERTY' DESTINATION 'SAPGUI'
  EXPORTING
    property              = 'ACTIVATE'
    value                 = abap_true
  EXCEPTIONS
    system_failure        = 1
    communication_failure = 2
    OTHERS                = 3.