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: 

Program to delete entries in Al11

Former Member
0 Kudos

Hi ABAP Gurus,

I had one requirement to develop a report inorder to list the all the files under a folder in AL11

and checks whether each and every one of the file is more than certain number of days old ( parameter again suppose if the parameter is given as 7 days,it must delete the files which are 7 days old. ) and delete them.

Please give me suggestions how can i start with it.

Thanks for your help

Srinivas

7 REPLIES 7

former_member376453
Contributor
0 Kudos

You can try with FM : EPS_DELETE_FILE

Kuntal

Former Member
0 Kudos

This link may useful:

There will be batch program which will be run periodically to delete files on application server, the program will be scheduled by basis team. I am not sure about the program name, you can check with the basis team.

Edited by: Satya suresh Donepudi on Mar 18, 2009 8:39 PM

0 Kudos

Thanks for all youir answers,

By using the FM EPS_GET_DIRECTORY_LISTING iam able to get only the files under one folder.(topmost folder/subfolder)

But my Requirement is i must get all the files under top most folder (including the files from the sub folder) and delete them based on date criteria.

Thanks in Advance

Srinivas

0 Kudos

Thanks for all your answers

My Requirement is to get the list of files from folder and its subfolders and to delete the files which are 7 days old.

By using the below FM iam able to get files from the folder(topmost) and not from the subfolders.

RZL_READ_DIR_GLOBAL

RZL_READ_DIR_LOCAL

EPS_GET_DIRECTORY_LISTING

EPS_GET_FILE_ATTRIBUTES

Can you provide me a way inorder to get the list of files from folder(topmost) and its sub folders.

Thanks

Srinivas

0 Kudos

Please help me on this

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Thanks for all your answers