CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
    EXPORTING
      functioncode           '/00'
    EXCEPTIONS
      function_not_supported 1
      OTHERS                 2.
  IF sy-subrc <> 0.
* Implement suitable error handling here
  ENDIF.

Software Factory 2