SAP ABAP Function Module SXPG_CALL_SYSTEM (Execute an External Command)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CCM-BTC (Application Component) Background Processing
⤷ SBTC (Package) SAP Background Processing
⤷ BC-CCM-BTC (Application Component) Background Processing
⤷ SBTC (Package) SAP Background Processing
Basic Data
Function Module | SXPG_CALL_SYSTEM | Execute an External Command |
Function Group | SXPT | External operating system commands |
Program Name | SAPLSXPT | External Commands |
INCLUDE Name | LSXPTU15 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | STATUS | TYPE | EXTCMDEXEX-STATUS | Status of External Command | |||
Exporting | EXITCODE | TYPE | EXTCMDEXEX-EXITCODE | ||||
Importing | COMMANDNAME | TYPE | SXPGCOLIST-NAME | Name of External Command | |||
Importing | ADDITIONAL_PARAMETERS | TYPE | SXPGCOLIST-PARAMETERS | SPACE | Arguments for the External Command | ||
Importing | TRACE | TYPE | EXTCMDEXIM-TRACE | Control indicator for external programs (trace level) | |||
Tables | EXEC_PROTOCOL | TYPE | BTCXPM | Output of External Command | |||
Exception | NO_PERMISSION | TYPE | No Authorization to Execute the External Command | ||||
Exception | COMMAND_NOT_FOUND | TYPE | Command Name Is Not Defined | ||||
Exception | PARAMETERS_TOO_LONG | TYPE | Parameter Longer than 128 Characters | ||||
Exception | SECURITY_RISK | TYPE | Execution Rejected for Security Reasons | ||||
Exception | WRONG_CHECK_CALL_INTERFACE | TYPE | Check Module Does Not Exist | ||||
Exception | PROGRAM_START_ERROR | TYPE | Error while Starting the External Command | ||||
Exception | PROGRAM_TERMINATION_ERROR | TYPE | Returncode of the External Program Contains Errors | ||||
Exception | X_ERROR | TYPE | Reserved | ||||
Exception | PARAMETER_EXPECTED | TYPE | No Additional Arguments Specified | ||||
Exception | TOO_MANY_PARAMETERS | TYPE | Impermissible Parameter | ||||
Exception | ILLEGAL_COMMAND | TYPE | Illegal Command | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19951215 |
SAP Release Created in |