ABAP System Command
There is need to execute the system
command at OS level. You can apply this by using below statement.
CALL 'SYSTEM' ID 'COMMAND' field lv_cmd
ID 'TAB' field lt_result.
ID 'TAB' field lt_result.
There is another more
efficient way to use system command by calling function ‘SXPG_CALL_SYSTEM’.
First you need to
create system command with t-code:sm69 to use this at a abap program.
For example, let’s exercise with
the command of LS which can list the all command list in UNIX system.
T-CODE:SM69, click the
create button.
No comments:
Post a Comment