Technical Details About Archiving

Use

Overview of the Archiving Status

Archiving Status

Archiving Steps

Resulting Product Status

Status of Archiving Run in Archiving Administration (ADK)

Physical Location of Data

Preprocessing (can be scheduled periodically)

Archivable Locked To be deleted

Database

Write (can be scheduled periodically)

Archivable Locked To be deleted

Incomplete

Archive file and database

Delete (can be scheduled manually)

Archived Locked Deleted

Complete

Archive file and database

Programs and Functions

The following programs and functions are used for archiving in Case Management:

Archiving programs

Archiving Function

Program:

User Interface / Use

Execution Type

Archive administration preprocessing

CASE_PRE_PROGRAM

Transaction SARA

Job

Archive administration write

CASE_WRITE_PROGRAM

Transaction SARA

Job

Archive administration delete

CASE_DELETE_PROGRAM

Transaction SARA

Job

Display cases from the archive

CASE_READ_PROGRAM

Transaction SARA

Job

Customer-specific usage checks

Implementations of the Business Add-In ARC_SCMG_CHECK

BAdI method CHECK

Implicit usage: Point of access in preprocessing program CASE_PRE_PROGRAM

Business Add-Ins for Extending Archiving

You can extend archiving in Case Management using the following Business-Add-Ins:

Business Add-Ins

Business Add-In

Method / Use

ARC_SCMG_CHECK

You can use the CHECK method to define your own usage checks.

ARC_SCMG_DELETE

You can use the DELETE method to delete additional data that is not immediately associated with the case.

ARC_SCMG_WRITE

You can use the WRITE method to write additional data to the archive that is not immediately associated with the case.

These BAdIs are accessed using transaction SE18 and you implement them using transaction SE19.

Archiving Object Structures for Case Management

The following structures are available for defining the archiving object:

Structures

Archiving Defines the Archiving Framework

SCMG

Archive Information Structure

Defines the total number of fields that can be that can be used in field catalogs and therefore indexed in product archives.

For more information, see Archive Information System.

SAP_CM_ARC

SAP_CM_ATTR_QUE

Field Catalog

Structure of an archive index that is maintained in the SAP Archiving Information System. A field catalog always belongs to an archiving information structure. An archiving information structure always belongs to an archiving object.

SAP_CM_ARC

SAP_CM_ATTR

Tables for the Archiving Object SCMG

The data archived and deleted in the archiving object SCMG comes from the data tables listed below. All of the table structures that are to be archived are defined when the archiving write program is run.

Tables

Table

Description

SCMG_T_CASE

Entity table for the case

SCMG_T_CASE_ATTR

Case attributes table

SRMWFPATH

Workflow process route

SRMWFPATHAGT

Additional individuals involved in the process route

SRMWFPATHT

Text table for the process route header

SRMWFPATHGROUP

Assignment table of process route templates to groups

SRMWFPTHFIELDS

Customer-specific additional fields in process route

SRMWFPTHPS

Process route item for workflow

SRMWFPTREL

Predecessor-successor relations for process route items

THEAD

SAPscript Texts: Header

TLINE

SAPscript Texts: Lines