Execute the program RSDDSTAT_DATA_DELETE in tcode SE38
Where you will come to the following screen
Here you can make your own selections and the specified selections can be stored as a variant,
For creating a variant for the chosen selections
After giving your selections Goto>Varinats>Save as varaint
Give the Variant name and Meaning before saving the variant
Once the variant is saved you can view it in
Where you will get a list of created variables you can choose your varibale and execute the deletion process or add the varinat in a new program and execute in the process chain at required intervals of time period.