11-28-2007 3:49 PM
Hi all,
Can someone tell me how to create a directory on the application server in BACKGROUND ?
GUI_CREATE_DIRECTORY() is not working on the background.
Thanks.
11-28-2007 4:24 PM
I found this code from some other SDN posts:
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
exceptions
failed = 1
others = 2.
I am not sure wheather it will work in the background mode.
Regards,
Naimesh Patel
11-28-2007 4:24 PM
Hi,
I think you need to give the path like this way
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//10.145.14.156/safil/<give your host name >/usr/temp/myFolder'
exceptions
failed = 1
others = 2.
or use fm SXPG_COMMAND_EXECUTE after create a os command script thru SM69
a®