2007 Jun 01 6:22 AM
hi
how to create a directory on the application server??
2007 Jun 01 6:22 AM
Hi Saurabh,
Check with your BASIS. They can easily create for you.
Regards,
Atish
2007 Jun 01 6:27 AM
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.
2007 Jun 01 6:29 AM
hi
follow the link. hope it definitely help u.
regard
ravish
<b>plz reward points if helpful</b>
<b></b>
2007 Jun 01 6:34 AM
hi saurabh,
see the below for sample code,
report zbdc_test_open_data_set.
parameters: file(200) type c.
data: begin of g_itab occurs 0,
kunnr type kunnr,
land1 type land1_gp,
name1 type name1_gp,
ort01 type ort01_gp.
data: end of g_itab.
select kunnr
land1
name1
ort01
from kna1
into table g_itab.
open dataset file for output in text mode encoding default.
loop at g_itab from 1 to 50.
transfer g_itab to file.
endloop.
close dataset file.
after excution of this report u can check the T.code 'AL11' and in that 'HOME' folder your given file name.
try this it works,
regards,
seshu.
2007 Jun 18 11:57 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 |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |