Defining the Data Scope to Be Deleted
The data to be deleted with this function can be selected using the following criteria:
Send date and plant of the messages
All messages or only those sent successfully
Only logs or messages and logs
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:
Automatically at regular time intervals using a background job defined in Customizing:
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.
Manually to be carried out at a specific time. You can do this in the following ways:
In the online mode; see Deleting All Messages/Message Logs Within a Range
In the background if you want to delete a large amount of data; see Deleting Messages/Message Logs in the Background
In both cases, you can use other selection criteria than those defined in the selection variant for the periodic background job
Note
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:
The messages, message long texts and message logs deleted
The messages, message texts and message logs that could not be deleted although they are within the specified selection range
The user who started the delete function
The processing mode used (dialog or background)
The time when the function was carried out
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 .