Archiving Incidents with EHHSS_INC

Use

You archive incidents by using the archiving object EHHSS_INC.

During the archiving process, the system determines all relevant incidents and stores them in an archive file. In a follow-up process, it deletes the archived incidents from the database.

You can use this archiving object to archive all data records that meet the following end-of-business conditions:

  • All processes for getting more information using inquiries or for requesting work using actions and notifications have been completed for the incident.

  • The status of the incident is set to Closed or Void.

  • The retention period has expired.

Structure

Tables

This archiving object EHHSS_INC supports the archiving and deleting of data from different tables.

In Archive Administration (transaction SARA), you can check the database tables of the archiving object EHHSS_INC.

Programs

The following programs are delivered with EHHSS_INC:

Action

Program

Description

Preprocessing

R_EHHSS_INC_ARCH_PRE

Determines the archivable incidents according to the specified selection criteria and changes their status to Archiving in Progress.

Write

R_EHHSS_INC_ARCH_WRI

Determines the archivable incidents according to the specified selection criteria, taking into account only those incidents with the status Archiving in Progress. Stores the selected incidents in an archive file.

Deleting

R_EHHSS_INC_ARCH_DEL

Deletes the archived incidents from the database and changes their status to Archived.

Classes

The archiving object uses the following classes:

  • Object-specific archiving class CL_EHHSS_INC_ARCH_GENERATOR to ensure that all incidents are archived together with their related business objects

    You can find the object-specific archiving class in Customizing for Maintain BO-specific Archiving Objects under Start of the navigation pathProcesses and Tools for Enterprise Applications Next navigation step Reusable Objects and Functions for BOPF Environment Next navigation step Archiving Adapter Next navigation step Cross-Application ComponentsEnd of the navigation path.

  • Archiving class CHANGEDOCU (table CDCLS / CDHDR) for the archiving of change documents

    You can find the archiving class In Archiving object definition (transaction AOBJ)