2007 May 04 7:56 AM
Hi
I want to execute a unix operating system command in an ABAP program. I remember seeing code which executes an operating system command. Could any please let me know about that code?
Thank You.
Eswar
2007 May 04 7:58 AM
2007 May 04 7:58 AM
2007 May 04 7:59 AM
2007 May 04 8:00 AM
Hi
refer this thread
https://forums.sdn.sap.com/click.jspa?searchID=2425063&messageID=3181266
Reward points if useful..
Regards
Nilesh
2007 May 04 8:15 AM
Hi,
you can try something like this.
data:cmd(254) type c.
data: RESULT(255) OCCURS 100 WITH HEADER LINE.
cmd = 'ls'.
** Execute command
REFRESH RESULT.
CALL 'SYSTEM' ID 'COMMAND' FIELD CMD
ID 'TAB' FIELD RESULT-*SYS*.
Kostas