Procedure documentationCreating a Write Variant for HRPD_PREL

 

The system uses the write program RP_PD_PREL_WRI to select the relationship data that is to be destroyed and transfers it to an archive file temporarily so that it can then use the delete program RP_PD_PREL_DEL to destroy this data.

You can run the program in test mode or productive mode. Irrespective of this, you always need to create a variant for the write program (or select an existing variant). For this purpose, you have the following selection criteria and options available:

  • Personnel Number

    You can restrict the selection to the data records that belong to the personnel number entered. You use this parameter primarily in test mode.

  • Archiving Subobject

    To select the relationship types with identical retention periods, you specify an archiving subobject that you created previously in Customizing (see Performing Application-Specific Customizing for HRPD_PREL).

  • Select Data Until

    You enter a date until which data records are to be selected. This date is for preselection purposes for performance reasons, to restrict the number of selected data records. The system selects all data records with a start date that is before or on this date. The date until which data can actually be destroyed is determined.

  • Country Grouping

    The system selects the data on the personnel numbers that belong to the country grouping entered.

  • Archiving

    If you choose this option, only the selected data for which the archivability check could be completed successfully is transferred to archive files.

    Note Note

    This setting is only useful if you have assigned the ILM object HRPD_PREL to the audit area ARCHIVING for the policy category RST (Residence Rules) and to the audit area HCM_DP (HCM Datenschutz) for the policy category RTP (Aufbewahrungsregeln) (transaction ILMARA).

    End of the note.
  • Destruction of Data

    If you choose this option, only the selected data that may be destroyed according to the rules defined in ILM is destroyed.

    Note Note

    This setting is only useful if you have assigned the ILM object HRPD_PREL to the audit area HCM_DP (HCM Data Privacy) for the policy category RTP (Retention Rules) (transaction ILMARA).

    End of the note.
  • Test Mode

    If you select this checkbox, the write program is started in test mode. No archive files are created and no data is deleted from the database. The delete program is not started.

  • Productive Mode

    If you select this checkbox, the write program is started in productive mode and archive files are created for the destruction of data.

  • Detailed Log

    If you select this, with or without success messages, a detailed log is output. Use this option only to perform an error analysis in test mode. Since the log is very detailed, you must not use it in productive mode.

  • Log Output

    You specify whether the log is written to the list or to the application log.

    Choose application log if you want the log to be written to the application log.

    Choose list and application log if you want the log to be available in both locations.

  • Note on Archiving Session

    You enter a short text that describes the content of the archive files of an archiving session.

Procedure

  1. Start Archive Administration (transaction SARA).

  2. Enter the Archiving Object and choose Write.

  3. Enter a name for the Variant and choose Maintain. The Variants: Screen Assignment dialog box appears.

  4. Define whether the variant is to apply to all selection screens of the program or to individual selection screens. Choose Continue.

  5. Enter the selection criteria and choose Attributes.

  6. Define the variant attributes.

  7. Save the variant.