Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

al11

Former Member
0 Likes
1,029

hello gurus,

this below code works fine now

TABLES mara.

DATA:BEGIN OF itab OCCURS 0,

matnr LIKE mara-matnr,

mtart LIKE mara-mtart,

matkl LIKE mara-matkl,

END OF itab.

DATA:file(200) TYPE c VALUE <b>'F:\usr\sap\DEV\DVEBMGS00\data\X.txt'</b>

IF sy-subrc EQ 0.

SELECT matnr mtart matkl

FROM mara INTO TABLE itab

WHERE matnr = matnr.

ELSE.

ENDIF.

OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc EQ 0.

LOOP AT itab.

TRANSFER itab TO file.

ENDLOOP.

ELSE.

ENDIF.

CLOSE DATASET file.

i want to have my own folder creation in al11

how can i achieve this

instead of this 'F:\usr\sap\DEV\DVEBMGS00\data\X.txt'

i want to have as 'F;\XXX\X.txt'

i tried to create in al11 but not able to do so

waiting for u r replies

senthil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

Hi Senthil,

Check if you have access to the application server. You will have to explicitly create a folder there.

You cannot create a folder usine AL11.

Regards,

Chetan.

PS:Reward points if this helps.

8 REPLIES 8
Read only

Former Member
0 Likes
910

any idea on this gurus

senthil

Read only

0 Likes
910

Basically, you need to ask the basis guys to help you out in creating the folder also if you need to parametize the file path you can use the transaction FILE to define the path and the functions FILE_GET* to return the values.

Regards

Anurag

Read only

Former Member
0 Likes
910

Seems this is shared drive(<b>F:\</b>), have your tried creating via Windows Explorer???

And have you tried executing this program in background???

Kind Regards

Eswar

Read only

Former Member
0 Likes
911

Hi Senthil,

Check if you have access to the application server. You will have to explicitly create a folder there.

You cannot create a folder usine AL11.

Regards,

Chetan.

PS:Reward points if this helps.

Read only

0 Likes
910

thanx for all u r replies

i have tried it creating explicitly also but it

doesn't seems to work

only the directoreis which are creted in al11 works

to transfer the data to application server

so i have access to create directories in al11 also

if not so to be creatd via al11 ??

how this can be achieved

senthil

Read only

0 Likes
910

One way would be, using FTP commands in Command prompt...

Before that, make sure the directory where you need to create a new one has RW privilages...

Kind Regards

Eswar

Read only

0 Likes
910

In AL11, you have CONFIGURE button. probably that can be used to create directory.

Read only

Former Member
0 Likes
910

Hello Senthil,

U cannot create directory using AL11. U will need to take help of Basis guys also AL11 will display u only SAP related directories and nothing outside. So if u create any other directory outside SAP will not be visible through AL11.