2008 Jan 15 4:24 AM
can any one help me how to create a new folder in application server.
2008 Jan 15 4:37 AM
2008 Jan 15 4:37 AM
Just ask your basis to do it for you as they have all the authorization on application server.
Regards,
Atish
2008 Jan 15 4:40 AM
hi
good
You have to solve it within ABAP.
DATA: lv_comm(50) TYPE c,
lv_dir(50) TYPE c.
lv_dir = 'mydir'.
CONCATENATE 'mkdir' lv_dir INTO lv_comm SEPARATED BY space.
dir = unixcom = lv_comm. "command to create dir
thanks
mrutyun^
2008 Jan 15 5:03 AM
dir = unixcom = lv_comm. "command to create dir
Hi when I run the same peace of code it says unixcom is unknown.
2008 Jan 15 5:48 AM
Hi Friends,
Try defining it through SM69..
Regards,
Mohaiyuddin
2008 Jan 29 6:20 AM
Go to T code AL11.
and then click configure button you can create the folder at your desired destination .
Reward points if useful .
Thanks ,
Jay
2013 Jan 24 1:12 PM
Hi Jagadish,
The following code for create folder in application server.
DATA: l_com TYPE rlgrap-filename.
CALL FUNCTION 'PFL_CHECK_DIRECTORY'
EXPORTING
directory = directory " Application server path(\\test\test1\test2)
EXCEPTIONS
pfl_dir_not_exist = 1.
IF sy-subrc = 1.
CONCATENATE 'cmd /c mkdir' directory INTO l_com SEPARATED BY space.
CALL 'SYSTEM' ID 'COMMAND' FIELD l_com.
ENDIF.