Archiving Worklists for Compliance Assessment with EHPRC_WLCA

Archiving Worklists for Compliance Assessment with EHPRC_WLCA

You archive Worklists for Compliance Assessment by using the archiving object EHPRC_WLCA.

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

Prerequisites

The following prerequisites need to be fulfilled before an action can be archived:

• The residence period has expired.

Structure

Tables

The archiving object EHPRC_WLCA supports the archiving and deleting of data from different tables.

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

Programs

The following programs are delivered with EHPRC_WLCA:

Action

Program

Description

Preprocessing

R_EHPRC_WLCA_ARCH_PRE

Determines the archivable Worklists for Compliance Assessment according to the specified selection criteria and changes their status to Archiving in Progress.

Write

R_EHPRC_WLCA_ARCH_WRI

Determines the archivable Worklists for Compliance Assessment according to the specified selection criteria, taking into account only those Worklists for Compliance Assessment with the status Archiving in Progress. Stores the selected worklists in an archive file and changes their status to Archived.

Deleting

R_EHPRC_WLCA_ARCH_DEL

Deletes the archived Worklists for Compliance Assessment from the database.

Classes

The archiving object uses the following classes:

Generic archiving class /BOFU/CL_ARCH_GENER1 to ensure that all worklists are archived together with their related business objects. You can find the archiving class under Archiving object definition (transaction AOBJ)

Maintain BO-specific Residence Period

As a standard, the archiving object EHPRC_WLCA for the business object EHPRC_WORKLIST_CMPL_ASS, is delivered with a residence period of 9999 days as default customizing for the Customizing under Start of the navigation pathCross-Application Components Next navigation step  Processes and Tools for Enterprise Applications Next navigation step Reusable Objects and Functions for BOPF Environment Next navigation step  Archiving Adapter Next navigation step Maintain BO-Specific Residence PeriodsEnd of the navigation path. Тhis high value prevents you from deleting data accidentally and you can adapt the residence period according to your requirements.

Application-Specific Customizing for EHPRC_WLCA

Before you can use the archiving object EHPRC_WLCA to archive worklists for compliance assessment, you must first check the archiving settings in Customizing.

Features

The following information has been added in Customizing forMaintain BO-Specific Archiving Objects under Start of the navigation pathCross-Application Components Next navigation step Processes and Tools for Enterprise Applications Next navigation step Reusable Objects and Functions for BOPF Environment Next navigation step Archiving AdapterEnd of the navigation path:

  • Business object: EHPRC_WORKLIST_CMPL_ASS

  • Archiving object: EHPRC_WLCA

  • Archiving class: /BOFU/CL_ARCH_GENER1

You can access all other Customizing settings under Archive Administration (transaction SARA) by using the Customizing button.

Displaying Archived Worklists

You can use the Archive Information System (Transaction SARI) to display the archived worklists for compliance assessment in business view or technical view.

Prerequisites
  • The archiving object EHPRC_WLCA has one information structure, which is based on the field catalog SAP_EHPRC_WLCA.

  • The information structure has been activated and filled.

  • The information structure contains the field ROOT_KEY as a key field.

Features

You use the following settings to display summary reports for the archived worklists:

  • Archiving Object EHPRC_WLCA

  • Archive Infostructure SAP_EHPRC_WLCA

By double-clicking the node ID in the result list of the archive infostructure, you can display the worklists for compliance assessment.

ILM-Related Information for EHPRC_WLCA

You can use the archiving object EHPRC_WLCA with the EHPRC_WLCA ILM object as part of SAP Information Lifecycle Management to archive worklists for compliance assessment.

Prerequisites

You have activated the business function ILM (Information Lifecycle Management) under Display Business Function Status (transaction SFW5) to display the worklists frame under Archive Administration (transaction SARA).

In the Information Retention Manager (IRM), you have specified the retention periods that are used to archive the documents under Archive Administration:

  • IRM Customizing (transaction IRM_CUST)

  • ILM Policies (transaction IRMPOL)

Features

Setting Up ILM Policies

For the archiving object EHPRC_WLCA, the following fields have been specified in the ILM policies under IRM Customizing:

  • Available Time References

    • Date (LAST_CHANGE_DATE)

  • Available Time Offsets

    • Month (END_OF_MONTH)

    • Year (END_OF_YEAR)

  • Available Policy Categories

    • RST: Residence Rules

    • RTP: Retention Rules

The entries of these fields are visible when processing ILM Policies.

Setting up Customer-Specific Rules for ILM Policies

Under IRM: Customer-Specific Settings (transaction IRM_CUST_CSS) you can set up customer-specific rules for the archiving object EHPRC_WLCA. These rules are considered when worklists are archived by using ILM policies.

Variant Settings for Archiving EHPRC_WLCA

When you schedule an archiving program under Archive Administration (transaction SARA) for actions, you must either enter an existing variant or create a new one.The variant contains the selection criteria for the actions that you want to archive.

Features

Under worklists for compliance assessment, you can specify the worklists that you want to archive.You can specify the Person ID and the Worklist Description of the worklist to narrow down the selection criteria.

More Information

  • For more information on ILM, see the SAP ILM documentation in the SAP ERP Library on SAP Help Portal under http://help.sap.com/erp .
  • For more information about activating the ILM business function, see the SAP ILM documentation in the SAP ERP Library on SAP Help Portal under http://help.sap.com/erp .