Archiving Material Data Sheets with EHPRC_MDS
Archiving Material Data Sheets with EHPRC_MDS
You archive material data sheets by using the archiving object EHPRC_MDS.
During archiving, the system determines all relevant material data sheets and stores them in an archive file. In a follow-up process, it deletes the archived data sheets from the database.
Prerequisites
The following prerequisites need to be fulfilled before a material data sheet can be archived:
-
The residence period has expired.
Structure
Tables
The archiving object EHPRC_MDS 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_MDS.
Programs
|
Action |
Program |
Description |
|
Preprocessing |
R_EHPRC_IMDS_ARCH_PREP |
Determines the archivable MDS according to the specified selection criteria and changes their status to Archiving in Progress. |
|
Write |
R_EHPRC_IMDS_DVSARCH1 |
Determines the archivable MDS according to the specified selection criteria, taking into account only those MDS with the status Archiving in Progress. Stores the selected MDS in an archive file and changes their status to Archived. |
|
Deleting |
R_EHPRC_IMDS_DVSARCH2 |
Deletes the archived MDS from the database. |
Classes
The archiving object uses the following classes:
Generic archiving class /BOFU/CL_ARCH_GENER1 to ensure that all material data sheets are archived together with their related business objects. You can find the archiving class under Archiving object definition (transaction AOBJ)
Application-Specific Customizing for EHPRC_WLCA
Before you can use the archiving object EHPRC_MDS to archive material data sheets, you must first check the archiving settings in Customizing.
Features
The following information has been added in Customizing forMaintain BO-Specific Archiving Objects under :
-
Business object: none
-
Archiving object: EHPRC_MDS
-
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 Material Data Sheets
You can use the Archive Information System (Transaction SARI) to display the archivedmaterial data sheets in business view or technical view.
-
The archiving object EHPRC_MDS has one information structure, which is based on the field catalog SAP_EHPRC_MDS.
-
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 material data sheets:
-
Archiving Object EHPRC_MDS
-
Archive Infostructure SAP_EHPRC_MDS
By double-clicking the node ID in the result list of the archive infostructure, you can display the material data sheets.
ILM-Related Information for EHPRC_MDS
You can use the archiving object EHPRC_WLCA with the EHPRC_WLCA ILM object as part of SAP Information Lifecycle Management to archive material data sheets.
Prerequisites
You have activated the business function ILM (Information Lifecycle Management) under Display Business Function Status (transaction SFW5) to display the material data sheets 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_MDS, 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_MDS. These rules are considered when material data sheets are archived by using ILM policies.
Variant Settings for Archiving EHPRC_MDS
When you schedule an archiving program under Archive Administration (transaction SARA) for material data sheets, you must either enter an existing variant or create a new one. The variant contains the selection criteria for the material data sheets that you want to archive.
Features
Under material data sheets, you can specify the data sheets that you want to archive.
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 .

