Entering content frameProcedure documentation Starting the Index Removal Program for Documents (FI) Locate the document in its SAP Library structure

Prerequisites

The index removal program and/or the post-processing program starts automatically following archiving, if you have made the necessary setting in Customizing. This setting is made under the technical settings for archiving object FI_DOCUMNT by selecting the indicator Start automatically for the post-processing program.

The index removal program then functions like a general deletion program, deleting the dataset for secondary indexes and/or the document-based and account-based archive indexes. To do this, you create a variant.

You can also execute the index removal program manually by entering the appropriate parameters. If necessary, you can then remove the automatic start indicator from Customizing.

Procedure

  1. You can start the index removal program from Archive Management by choosing Index then Remove index.
  2. Enter a variant name and choose Maintain.
  3. The Maintain Variant: <report name> <variant name> screen appears. Choose Attributes and enter a description for your variant in the Description field. Save your entries.
  4. You return to the Maintain Variant: <report name> <variant name> screen. Set the flags for the actions you require in the Program control area. After making your entries choose Save and then Back.
  5. Enter the start date and spool parameters. To start the index removal choose Execute.

 

Result

The index removal program deletes all secondary indexes whose lives have expired by the key date. The index life runs from the clearing date (or the posting date in the case of accounts not managed on an open item basis). The documents belonging to the secondary index must already have been archived.

The index removal program also deletes all the archive indexes for a document whose document-based and account-based index lives have expired by the key date. The index lives run from the clearing date of the document.

Note

The index removal program ignores clearing transactions, meaning that if you select both cleared and open items for display, the displayed balance can be incorrect. In accounting terms no error has occurred, since the balance is equivalent to the total of open items. You should therefore display balances using the account balance function and not line item display. To ensure that the account balance agrees with the line item balance, start the index removal program manually and select the option Retain account display balance. Note however, that if you set this indicator, the index removal program takes longer to run and does not remove as many objects from the database.

 

Leaving content frame