11-17-2005 12:45 PM
Hi,all
Its urgent requirement..
I wrote a UNIX script for moving files from source dir to target dir ,how to call this script in ABAP.
I know SXPG_command_execute...in that we can give a external command .But i need to call a script?
so how can i do this and where to store this script?
Thanx in advance
11-17-2005 12:50 PM
Hi
U store the script in unix file path.
and the command which u are going to create in sm59
and what ever command u create pass the script path as an argument.
this will solve ur problem.
regards
vijay
11-17-2005 12:50 PM
Hi
U store the script in unix file path.
and the command which u are going to create in sm59
and what ever command u create pass the script path as an argument.
this will solve ur problem.
regards
vijay
11-17-2005 12:57 PM
hi vijay..thanx for quick response ..
can you give example???
i m creating command as z_file_mv.
In sm69,when we start creating the following are the steps:we need to specify
1.command name
2.OS
3.type
4.OS command
5.parameters for OS command
so where to put the script path?????
11-17-2005 1:03 PM
Operating System Command is <b>CD</b>
Parameter for operating system is
<b>$DIR_GLOBAL/filename</b>
something like , nothing else required
this
11-17-2005 12:54 PM
Hi,
Check the below document in sap help.
http://help.sap.com/saphelp_47x200/helpdata/en/bb/9f038d4b9b11d189750000e8322d00/frameset.htm
Thanks,
Ramakrishna