Procedure documentationDestroying Communication Data Using HRPA_CMNTN

 

You can use the HR: Communication (HRPA_CMNTN) archiving object to destroy all data from the infotype Communication (0105) after a specified retention period has expired.

The archiving object is divided into archiving subobjects. A subtype of the infotype Communication is an archiving subobject:

Infotype

Description

Archiving Subobjects

0105

Communication

Subtypes of infotype 0105:

0002, 0003, 0004, 0005, 0006. 0010, 0011, 0020, 0030, CELL, FR01, MAIL, MPHN, PAGR

You can define different retention rules for each archiving subobject. After you have successfully destroyed the data, the system generates a destruction log for each archiving subobject. The system automatically prevents data from being created or edited for this archiving subobject (subtype) for the destruction period.

Note Note

Note that the system user name (SY_UNAME) for the active SAP system that is stored in subtype 0001 of infotype 0105 cannot be destroyed.

The archiving object also destroys dependent data. To display a complete overview of the relevant database tables, choose DB Tables in Archive Administration (transaction SARA).

End of the note.

The following programs are available for HRPA_CMNTN:

Program

Function

RP_PA_COMMUNICATION_PRE

Preprocessing Program

For more information, see Creating a Preprocessing Variant for HRPA_CMNTN.

RP_PA_COMMUNICATION_WRI

Write Program

For more information, see Creating a Write Variant for HRPA_CMNTN

RP_PA_COMMUNICATION_DEL

Delete Program

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 HRPA_CMNTN.

    For more information, see ILM Information for HRPA_CMNTN

  2. Create a preprocessing variant for the archiving object.

    For more information, see Creating a Preprocessing Variant for HRPA_CMNTN

  3. Create a write variant for the archiving object.

    For more information, see Creating a Write Variant for HRPA_CMNTN

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

    For more information, see Enhancements for HRPA_CMNTN

More Information

Data Destruction Process