03-18-2009 9:15 PM
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
03-18-2009 9:28 PM
03-19-2009 1:30 AM
03-19-2009 6:41 PM
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
03-23-2009 2:53 PM
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
03-24-2009 2:12 PM
03-19-2009 4:09 AM
03-31-2009 9:03 PM