Archiving Production Material Requests with DLV_PROD

Definition

You can use archiving object DLV_PROD for archiving and deleting production material requests (PMRs) from the database.

Use

You can find the tables from which data is archived in transaction SARA by clicking on the Database Tables button.

You can find the name of archiving object DLV_PROD in transaction AOBJ. Double-click the archiving object to view the details.

Structure

The following programs are available for DVL_PROD:

Program

Function

Description

/SCDL/BO_ARCHIVE_STD

Preprocessing Program

Set the archiving status, depending on the completion status and the residence time of PMRs.

/SCDL/DLV_PROD_ARCH_WRITE

Write Program

Create an archive file for Information Lifecycle Management (ILM) actions Archiving or Data Destruction, or create a backup file for ILM action Snapshot.

/SCDL/DLV_PROD_ARCH_DELETE

Delete Program

Delete PMRs from the database and save the deleted PMRs to the archive information system, based on an archive file created by ILM action Archiving.

OR

Delete PMRs from the database based on an archive file created by ILM action Data Destruction.

/SCDL/DLV_PROD_ACRH_READ

Read Program

Read PMRs from an archive file or from an archive information system.

DLV_PROD covers the following database tables:

Database Table

Delete entries without saving entries in the archive information system?

/SCDL/DB_PROCH_P

No

/SCDL/DB_PROCI_P

No

/SCDL/DB_BPLOC

No

/SCDL/DB_DATE

No

/SCDL/DB_STATUS

No

/SCDL/DB_REFDOC

No

/SCDL/DB_ADDMEAS

No

/SCDL/DB_GROUP

No

/SCDL/DB_PRCODES

No

/SCDL/DB_EXTNO

No

/SCDL/DB_ACC

No

/SCDL/DB_TRANS

No

/SCWM/DLV_SERI

No

/SCDL/DB_DF

No

/SCWM/DLV_HUGI

Yes

/SCWM/MESSAGELOG

Yes

DLV_PROD uses the following archiving classes:

Archiving Class

Description

/SCMB/DF

Document Flow archiving class

ADDRESS

Addresses (Business Address Services)

CHANGEDOCU

Change Documents

CLASSIFY

Classification

TEXT

SAPscript Texts

You can find the database tables of archiving classes using transaction ACLA.

Characteristics of Archiving Object DLV_PROD

During preprocessing, DLV_PROD uses the retention time (residence time in database) of document types with the document category PWM (Production Material Request) to set the archive status.

You can define the retention time in Customizing for Extended Warehouse Management under Start of the navigation pathGoods Issue Process Next navigation step Production Material Request Next navigation step Define Document Types for ProductionEnd of the navigation path.

ILM-related Information for DLV_PROD

Archiving object DLV_PROD is connected to the ILM object DLV_PROD.

The ILM object DLV_PROD also has the ILM constant LAST_CHANGE_DATE (Last Changed On) as an available time reference. LAST_CHANGE_DATE is mapped to the field CHGTST (Changed On) in the database table /SCDL/DB_PROCH_P of PMRs.

The ILM object DLV_PROD is assigned to the policy category RTP (Retention Rules).

Checks of DLV_PROD

For ILM actions Archiving and Data Destruction, the preprocessing program /SCDL/BO_ARCHIVE_STD checks the following:

  • Check the completion status of the PMRs

  • Check the residence time of the PMRs

For ILM actions Archiving and Data Destruction, the write program does not perform any business or technical checks during document selection. Only documents with archive status X are selected.

For ILM action Snapshot, it is not necessary to do any business checks.

Performing Application-Specific Customizing of DLV_PROD

You can define your own ILM policies to use ILM action Data Destruction only, ILM action Archiving only, or both together, depending on your business requirements.

You must assign the standard ILM audit area PRODLIABIL (Product Liability) of the policy category Retention Rules to the ILM object DLV_PROD, using transaction ILMARA.

You can then define or change your own ILM policies using transaction IRMPOL with following input data:

  • Policy Category: Retention Rules

  • Object Category: SAP Business Suite

  • Audit Area: Product Liability

  • ILM Object: DLV_PROD

For a policy, you can define a rule with for data destruction and deleting archived data from archiving information system based on the minimum retention time of the archived PMRs, the maximum retention time, the retention time unit, and the time reference.

SAP recommends that you use a minimum retention time that is greater than the maximum residence time (retention time in database) of all available document types in Customizing.

When creating test rules, you can leave the ILM Store column empty to reduce your test efforts and concentrate on your application specific ILM enablement.

For a successful test, you have to call transaction SARA and perform the following steps:

  • Click the Customizing button.

  • In the Cross-Archiving Object Customizing area, choose Technical Settings.

  • In the ILM Store Service screen area, select the Local radio button

    For releases lower than SAP BASIS 7.31, in the Name of Connection field in the HTTP Connection to screen area, enter any existing RFC connection to an external HTTP server. The connection does not need to work.

When creating production rules, define your ILM store before you use it in your rules. For more information, see documentation for SAP ERP at http://help.sap.com/erpInformation published on SAP site. Choose a release, and open the application help. Then choose Start of the navigation pathSAP ERP Cross-Application Functions Next navigation step Cross-Application Components Next navigation step SAP Information Lifecycle Management Next navigation step Making SAP ILM AvailableEnd of the navigation path.

Defining Write Variant for DLV_PROD

You can define variants for the write program using transaction SARA.

Defining Preprocessing Variant for DLV_PROD

You can define variants for the preprocessing program using transaction SARA.

Defining Read Program Variant for DLV_PROD

The following read programs are available for DLV_PROD:

  • Transaction /SCWM/PMR

  • Read program /SCDL/DLV_PROD_ACRH_READ

Displaying Production Material Requests Archived with DLV_PROD

You can display the archived PMR as a single document by entering the document number in transaction /SCWM/PMR or transaction SARI.

Infostructure SAP_DLV_PROCH_P and field catalog SAP_DLV_PROCH_P are available in transaction SARA for archiving object DLV_PROD.