Procedure documentationArchiving and Destroying PA Long-Term Documents Using PA_LDOC

 

You can use archiving object HR: Long-Term Documents (PA_LDOC) to archive or destroy long-term documents from the creation of change documents for infotypes from personnel administration, time management, and applicant management, or after the specified retention period has passed.

An object of this type consists of long-term change documents that exist for a personnel number or applicant number in a period that you can define as required.

The archiving object PA_LDOC supports the SAP NetWeaver Information Lifecycle Management (ILM) function for archiving and the destruction of data. The write program for the archiving object evaluates the retention rules in corresponding checks and determines which 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.

Note Note

Note that no destruction documents can be created during the destruction of long-term change documents with PA_LDOC. For more information, see Generation of Destruction Log.

End of the note.

The long-term documents are stored in the table PCL4 in the cluster LA (personnel numbers) and LB (applicant numbers). For archiving and for the destruction of data, you can choose whether you want to archive or destroy documents for personnel data, for applicant data, or for both. Data Selection

The following programs are available for PA_LDOC:

Program

Function

RPAR3W00

Write Program

RPAR3W10

Pre-report for RPAR3W00: Selection by change date (PCL4-AEDTM) of documents

RPAR3D00

Delete Program

RPUAUD00

Read

RPAR3R00

Reload Program

For more information, see Variant Settings for Reloading

Prerequisites

You are familiar with the basics of data destruction, as well as the functions for ILM policies and rules, and have defined the retention rules for the archiving object.

For more information, see Introduction to Data Destruction.

Procedure

  1. Familiarize yourself with the condition fields and time references that are available in ILM for defining retention rules for PA_LDOC.

    For more information, see ILM Information for PA_LDOC

  2. Familiarize yourself with the technical data of this archiving object.

    For more information, see Technical Data

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

    For more information, see Archiving Periods and Criteria

  4. Create a variant for the reload program of this archiving object.

    For more information, see Variant Settings for Reloading

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

    You need the authorization P_ARCH_LDOC to run the programs.

  6. Familiarize yourself with the enhancements available for this archiving object.

    For more information, see Enhancements for Archiving Object PA_LDOC

More Information

Data Destruction Process