Deleting Data from the Database 

Prerequisites

If the delete program is not called automatically after the archive action has completed (see Delete Program Settings), you must wait until the archiving program has completed. Only then can you schedule this step.

You then have the option of editing a whole archiving session with all archive files or of selecting individual archive files for editing.

Procedure

  1. Activate the Delete function. You access the screen for scheduling a background job for this function.
  2. If you only want to run the deletete program for test purposes (so that the data is not deleted from the database), choose the option Test run.

  3. Choose Archive selection. You access a dialog box with the archiving sessions that are available for the archiving object. Usually, this is only the latest session that was run.
  4. If you want to edit a complete archiving session, select an archiving session and choose Continue. This takes you back to the original screen.
  5. If you want to edit one or several specific archive files, choose Display Files. You obtain a list of unedited archiving sessions with their archive files. Mark the required archive files and choose Continue.

  6. Maintain the Start Date and the Spool Parameters.
  7. You have now entered all the data required for the background job. To create the job, choose Execute.

When all the deletion jobs are completed for the run, the system event "SAP_ARCHIVING_WRITE_FINISHED" is started by the ADK. This triggers subsequent processes, such as file backup using external tools.

The Goto menu offers access to the following:

See also:

Archive Selection