Funktionsbaustein SXPG CALL SYSTEM

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein SXPG_CALL_SYSTEM

CALL FUNCTION 'SXPG_CALL_SYSTEM'
  EXPORTING
    COMMANDNAME                      =
"   ADDITIONAL_PARAMETERS            = ' '
"   TRACE                            =
" IMPORTING
"   STATUS                           =
"   EXITCODE                         =
  TABLES
    EXEC_PROTOCOL                    =
" EXCEPTIONS
"   NO_PERMISSION                    = 1
"   COMMAND_NOT_FOUND                = 2
"   PARAMETERS_TOO_LONG              = 3
"   SECURITY_RISK                    = 4
"   WRONG_CHECK_CALL_INTERFACE       = 5
"   PROGRAM_START_ERROR              = 6
"   PROGRAM_TERMINATION_ERROR        = 7
"   X_ERROR                          = 8
"   PARAMETER_EXPECTED               = 9
"   TOO_MANY_PARAMETERS              = 10
"   ILLEGAL_COMMAND                  = 11
"   OTHERS                           = 12
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur