Skip to Content
0
Former Member
Nov 21, 2006 at 09:03 PM

Call System Command

1492 Views

I am executing the following command from a abap program to execute a Unix Script. The script executes successfully but it comes back to the program with a sy-subrc return code of -1????? Anyone have any ideas? We are on 4.6c

Thank You

&----


*& Form EXECUTE_UNIX_COMMAND *

&----


  • *

----


form execute_unix_command.

CALL 'SYSTEM' ID 'COMMAND' FIELD app_script

ID 'TAB' FIELD TABL-SYS.