‎2012 Jun 15 1:48 PM
hi,
I am writing a code to delete all the ADK files from the usr/sap/SID/.../temp/ directory which are 4 weeks old.
Can anyone tell me how to delete the files from given directory ? any function module ?
I have coded all the validations for root and path but can't make a logic to delete the files.
Please help.
‎2012 Jun 15 1:55 PM
Deletion of a single file can be done with DELETE DATASET, in order to find out the files to be deleted i.e. reading the contents of a directory, there are several function modules that have been discussed before, please search for information.
(however I'm sure they will be posted here anyway).
Thomas