Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
ADDITIONAL_PARAMETERS | SXPGCOLIST-PARAMETERS | C | 255 | SPACE | X | Arguments for the External Command |
COMMANDNAME | SXPGCOLIST-NAME | C | 18 | Name of External Command | ||
TRACE | EXTCMDEXIM-TRACE | C | 1 | X | Control indicator for external programs (trace level) |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
EXITCODE | EXTCMDEXEX-EXITCODE | I | 4 | |
STATUS | EXTCMDEXEX-STATUS | C | 1 | Status of External Command |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
EXEC_PROTOCOL | BTCXPM | 131 | Output of External Command |
Exception | Text |
---|---|
COMMAND_NOT_FOUND | Command Name Is Not Defined |
ILLEGAL_COMMAND | Illegal Command |
NO_PERMISSION | No Authorization to Execute the External Command |
PARAMETERS_TOO_LONG | Parameter Longer than 128 Characters |
PARAMETER_EXPECTED | No Additional Arguments Specified |
PROGRAM_START_ERROR | Error while Starting the External Command |
PROGRAM_TERMINATION_ERROR | Returncode of the External Program Contains Errors |
SECURITY_RISK | Execution Rejected for Security Reasons |
TOO_MANY_PARAMETERS | Impermissible Parameter |
WRONG_CHECK_CALL_INTERFACE | Check Module Does Not Exist |
X_ERROR | Reserved |
This text was copied from IO BCLOG01_007, folder HELP.BCDWBLIB Functionality
To determine the system on which the command should be executed, thefunction module uses by default the current host system and the currentoperating system type of the user. As the function module is RFC-capable, you can use the RFC interface(Remote Function Call Interface) to run the function module in adifferent SAP application server. The external command is thenaccordingly executed in the host system of the other SAP server. SXPG_CALL_SYSTEM uses the following rules to determine which variant ofa command is used for the execution: Use Syntax: Description Description Description Description |