08-17-2007 11:03 AM
Hi all,
How to create a directory in application server through Progaram??
eg:\tmp - is already existing
I want to create \tmp\fi
Within \tmp\fi - i should able to store my file,,,
Kindly help me urgent...
08-17-2007 11:06 AM
Hi..
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..
<b>Reward if Helpful</b>
08-17-2007 11:06 AM
Hello San,
Either contact Basis guys at ur end for the same or u can do it dynamically via a piece of ABAP code, i hope it wll help u.
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
exceptions
failed = 1
others = 2.
Reward If Helpful.
Regards
--
Sasidhar Reddy Matli.
08-17-2007 11:09 AM
Hi,
Ask your basis guy to do so.. I doutb if it possible thorough code.
Enjoy SAP.
Pankaj Singh.
08-17-2007 11:17 AM
Hi,
Above class or function modules are only for creating directory on GUI and not for application servers.
Enjoy SAP.
Pankaj Singh.-
05-06-2010 11:29 AM