Application Development 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: 

Deleting file from Al11

Former Member
0 Kudos
9,033

Hi,

How to delete a file manually from AL11 or Application server.

Thanks,

Sravanthi

5 REPLIES 5

GauthamV
Active Contributor
0 Kudos
795

Execute this Fm with your filename and directory name.

EPS_DELETE_FILE

Former Member
0 Kudos
795

Frame ur directory path by defining a variable and use the DELETE option for data set to delete ur particular file.

Example below:

data:w_outfile(50).

concatenate '/' sy-sysid '/abc/xyz/'

into w_outfile.

concatenate w_outfile 'FileName.txt' into w_outfile.

delete dataset w_outfile.

Hope this will help you!

Rahul

Former Member
0 Kudos
795

Hi,

write a program in that use the command DELETE DATASET DATASETNAME ( to be deleted).

Regards

Thiru

Former Member
0 Kudos
795

Hi

Write a simple test program, take the path of the file from AL11, and Use the statement DELETE DATASET DatasetName.

Thanks

former_member555112
Active Contributor
0 Kudos
795

Hi,

You can make use of DELETE Dataset statement.

But you need to have the relevant authorisation for the same.

Regards,

Ankur Parab