[ABAP] SAP-GUI anzeigen / verbergen

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

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