Scheduling a Background Job for Message Store Reorganization

Prerequisites

You have defined the required variant.

More information: Creating a Variant for Scheduling Background Jobs

Context

The messages processed by the DOE are stored in message store tables. If these tables are not cleaned up at regular intervals, the size of these tables can increase significantly. Therefore, you must schedule a job to ensure that DOE cleans up these tables at regular intervals.

Procedure

  1. Log on to SAP NetWeaver AS and start transaction SDOE_BG_JOB_MONITOR .
  2. Expand Monitoring: Message Store Reorganization .
  3. Choose Schedule Job.
  4. In the Job Name field, enter a name for the job and choose Create Variant. .
  5. Under Reorganize Message Store , in the Days to hold field, enter the number of days you want to hold the messages before they are deleted
  6. Under Error Messages , if you do not want to delete messages that can be restarted, select Keep restartable error messages .
  7. Under Error Messages , if you do not want to delete messages that cannot be restarted, select Keep non-restartable error messages .
  8. To hold messages based on message type, messages that are part of a particular SWCV, and messages for particular data objects, select Display advanced options and enter data accordingly.