Deletion of all Messages/Logs Within a Range 
Defining the Data Scope to Be Deleted
The data to be deleted with this function can be selected using the following criteria:
You can define your selection criteria directly when you start the delete function, or you can use selection variants, that is, specific combinations of selection criteria, that you can create and save for repeated use; see
Deleting All Messages/Message Logs Within a Range.Starting the Delete Function
There are two ways of starting the delete function:
In this case, the data to be deleted is always selected via the same selection variant which you assign to the background job in Customizing.
For more detailed information on this option, refer to the process management section of the IMG.
In both cases, you can use other selection criteria than those defined in the selection variant for the periodic background job

If the delete function terminates, the resulting inconsistencies and incomplete data records can be eliminated by starting the function again.
Deletion Log
When you start the delete function or define a selection variant for deleting messages, you can also specify whether the execution of the function is to be documented in a deletion log.
The deletion log contains information on:
When you manually start the delete function, the log is displayed automatically after the function has been executed. The logs of previous deletion runs or background jobs can be called up via the menu; see
Displaying Deletion Logs.