Procedure documentationArchiving/Destroying Notes Data of Employee Profile Application

 

You use the archiving object for notes (HRMSS_NOTE) to destroy employee notes data maintained by the manager.

This feature enables you to archive notes data from the HRMSS_D_NOTES table by using the archiving object HRMSS_NOTE. You can filter the records to destroy data based on any of the following condition fields:

  • PERSG - You use this for the employee group.

  • PERSK - You use this for the employee subgroup.

  • MOLGA - You use this for country grouping.

Note Note

You can use the BAdI - Available Condition Fields: Value Determination (BADI_IRM_OT_FLD) to implement the condition fields.

End of the note.

Proceed as follows to find the archiving object for Employee Notes Data:

  1. In the development system, enter the transaction AOBJ.

  2. Choose the Position button to search for the archiving object.

  3. Search for the archiving object.

  4. Double-click the archiving object, HRMSS_NOTE, to view information about the archiving program and component.

  5. Double-click the Structure Definition in the Dialog Structure to view tables from which data is archived.

Proceed as follows to display table names from which data is archived:

  1. In the development system, enter the transaction SARA.

  2. Enter the name of the archiving object in the Archiving Object field.

  3. Choose Database Tables. The list of tables from which data is archived appear.

Structure
Tables

The archiving object HRMSS_NOTE is used to archive data from the HRMSS_D_NOTES table.

Programs

The following programs are offered for the archiving objects for transaction figures:

Archiving Object

Program

Function

HRMSS_NOTE

RP_MSS_NOTES_WRI

Write

HRMSS_NOTE

RP_MSS_NOTES_DEL

Delete

The write program supports the ADK interruption concept, meaning that you can interrupt the write phase and continue it at a later time. The delete program comes with the standard variants SAP&PROD (production mode) and SAP&TEST (test mode).

Prerequisites

You are familiar with the basics of data destruction and have made the following settings:

  • You have activated Information Lifecycle Management (ILM).

  • You are familiar with the functions for ILM policies and rules and have defined the retention rules for the archiving object.

For more information, see Destruction of Data in HR.

Procedure

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

    For more information, see Characteristics of HRMSS_NOTE.

  2. Create a write variant for the archiving object.

    For more information, see Creating a Write Variant for HRMSS_NOTE.

  3. Familiarize yourself with the technical data for this archiving object.

    For more information, see Technical Data of HRMSS_Note.

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

    For more information, see Enhancements for HRMSS_NOTE.