Background documentationArchiving and Destroying Index Files Using PA_PIDX (PY-XX-DT)

 

You can use the archiving object HR: Index Files for Posting to Accounting (PA_PIDX) to archive or destroy index files that are created when generating posting documents in Payroll (PY) (payroll documents).

Index files are generated during posting to Accounting. With these index files, an assignment is set up between the payroll results for employees and the data from the payroll document.

The archiving object PA_PIDX supports the SAP NetWeaver Information Lifecycle Management (ILM) function for archiving and the destruction of data. For the destruction of data, you specify the rules for retaining index files. When running the write program of the archiving object, the system performs checks to evaluate these rules and determines which of the selected data can be destroyed. The data is temporarily written to an archive file. After the write phase, the associated delete program deletes the data from the database and the archive.

Prerequisites

You can only archive entries of index files for which the associated payroll results have already been archived. For more information, see Archiving Periods and Criteria (PY-XX-DT).

Note Note

If you want to override this system response, you need to set the switch ARCHI for the group ID POST in table T77S0.

End of the note.

Integration

The archiving date for archiving the archiving object PA_PIDX is the earliest retroactive accounting date for Payroll. When archiving PA_PIDX, the system ensures that the index files are only archived up to the earliest retroactive accounting date for Payroll.

Features

The following actions are available for the archiving object PA_PIDX:

  • Archive

  • Delete

    The standard SAP system is set up such that the delete program is called automatically after archiving. We recommend that you do not change this setting.

  • Administration

You can differentiate between the run types PP and PM. Depending on the run type, the archiving object PA_PIDX archives entries in different tables that belong to the selected posting runs:

Run Type

Description

Tables

PP

Posting runs (RPCIPE00)

PPOIX, PPOPX

PM

Posting runs for payments (H99_POST_PAYMENT)

PPMIX, PPMPX

The table PCALAC (Selection of Posted Payroll Results) is archived but remains in the database.

A container of the archiving object PA_PIDX is about 4 KB in size.

Activities

  1. Familiarize yourself with the features of this archiving object.

    To display the tables from which data is deleted for this archiving object, in Archive Administration (transaction SARA), choose DB Tables.

  2. Perform the Customizing settings for archiving.

    For more information, see Application Customizing (PY-XX-DT)

  3. Familiarize yourself with the periods and criteria for archiving.

    For more information, see Archiving Periods and Criteria (PY-XX-DT)

  4. Archive or destroy the index files.

    For more information, see Archiving and Destroying Index Files (PY-XX-DT).

  5. Create a variant for the write program of this archiving object.

    For more information, see Creating a Write Variant (PY-XX-DT)

  6. Create a variant for the display program of this archiving object so that you can display archived index files.

    For more information, see Displaying Archived Index Files (PY-XX-DT)

  7. Ensure that you have the authorizations required for this archiving object.

    For more information, see Authorizations (PY-XX-DT)