09-28-2007 8:16 AM
How can I create a directory on application layer say for ex : "/usr/sap/dec/dvebmsgs00/data"
this is the existing directory
now i want to create a directory of my own
/usr/tmp/ravi
how can i do this ?
09-28-2007 8:20 AM
09-28-2007 9:34 AM
Hi
**********************************
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
exceptions
failed = 1
others = 2.
**********************************
follow the link. hope it definitely help u.
**********************************
You can create an external command via SM69 which you can then invoke through function module SXPG_COMMAND_EXECUTE
**********************************
Call the Method DIRECTORY_CREATE of Class CL_GUI_FRONTEND_SERVICES.
You can find this Class in SE24.
In the Editor use Pattern -> ABAP Object Patterns to Call this Method..
**********************************
Regards
vasu
09-28-2007 9:55 AM
hi
good
I would suggest you speak to your UNIX people (or whatever system you use) and ask them to create your directory as they will know the correct permissions to apply.
However, if you must, you can use SM49 and create a MKDIR command.
thanks
mrutyun^