2006 Sep 20 10:34 AM
Hi Experts,
How can we create a directory in App.server?
is it possible programatically with open data set statement?
Hi Experts,
How can we create a directory in App.server?
is it possible programatically with open data set statement?
2006 Sep 20 10:37 AM
I don't think it is programatically possible. Ask the basis guys to create the directory in application server. Mostly they will be having the access to do that.
Regards,
Prakash.
2006 Sep 20 10:40 AM
Nope you cannot create the directory programmatically but you can check the FILE transaction to define the logical/physical paths for the same.
2006 Sep 20 10:44 AM
Hello Ravi,
It is definitely not possible to create a directory in the application server. Please contact your basis guy for the same.
Regs,
Venkat Ramanan N
2006 Sep 20 10:48 AM
You can create only Files in application server and not the DIRECTORIES (FOLDERS). It is basically for security reasons.
Only BASIS guys can create it.
regards
Vivek
reward points for all the useful answers
2006 Sep 20 10:52 AM
try this
Got to AL11 transaction and click the configure button.
THen follow the GUI there to create the required directories.
2006 Sep 20 11:20 AM
Hi Ravi,
If your application server is based on UNIX,
try the following command in an ABAP program
CALL 'SYSTEM' ID 'COMMAND' FIELD fp_command_line
ID 'TAB' FIELD lt_output.
The command line fp_command_line should have the UNIX command to create directories(MKDIR...). The lt_output table will have return values from the command(Its a table with a single column of 1000 chars).
I have tried the CALL 'SYSTEM' command for various other purposes, but did not create a directory till now. Try it out.
Thanks,
Vinay
2007 Jun 18 11:58 AM
You can create an external command via SM69 which you can then invoke through function module SXPG_COMMAND_EXECUTE
For NT you'd need something like the following:
Operating system command
cmd
Parameters for operating system command
/c mkdir
$/SAPGLOBALHOST/\?
Have fun,
Mark
Kudos to Pete Devereux and Pete White
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |