Archiving Internal Warehouse Requests (SCM-EWM-DLP)
Definition
Archiving object DLV_OUT for the archiving and deletion of outbound delivery orders, outbound deliveries, posting changes, and stock transfers within the warehouse.
Structure
The following programs are available for DLV_OUT:
|
Program |
Function |
|---|---|
|
/SCDL/DLV_OUT_ARCH_WRITE |
Write |
|
/SCDL/DLV_OUT_ARCH_DELETE |
Delete |
|
/SCDL/DLV_OUT_ACRH_READ |
Read |
Write
The write program reads the data records of the documents to be archived from the database and records them in an archive file.
In the selection screen of the write program, you can select the documents to be archived via the selection criteria in Deliveries and Restrictions. In the process control, you can determine whether you want the write report to start in either test or production mode. If you have activated the automatic start of the deletion program in archiving-object-specific Customizing, you can also define here that delivery processing starts the deletion program of the archiving object with the test mode variant saved in archiving-object-specific Customizing.
When delivery processing executes the write program, it records a log containing information about the processed data records. In the selection screen of the write program, you can define that a detailed log is to be displayed in delivery processing. In addition to the information contained in the log, this contains all processed objects including the associated messages.
Prerequisites for Writing Data Records
The documents to be archived must have the status To Be Archived (see Archiving in Delivery Processing (SCM-ECT-DLP)).
Delete
The delete program deletes the data records from the database that were previously archived with the write program. In the selection screen of the delete program, you can determine whether you want the delete report to start in either test or production mode. In the archiving object-specific Customizing, you can activate the automatic start of the delete program. When delivery processing executes the delete program, it records a log containing information about the processed data records. In the selection screen of the delete program, you can define that a detailed log is to be displayed in delivery processing. In addition to the information contained in the log, this contains all processed objects including the associated messages.
Read
The read program reads the archived data records. In the selection screen of the read program, you can select the documents to be archived via the selection criteria in Deliveries and Restrictions. In the search type, you can define whether the data records are to be searched for via the Archive Information System or sequentially.
ILM-related Information for DLV_OUT
Archiving object DLV_OUT is connected to the ILM object DLV_OUT.
The ILM object DLV_OUT also has the ILM constants LAST_CHANGE_DATE and START_RET_DATE as available time references. LAST_CHANGE_DATE and START_RET_DATE are mapped to the field CHGTST (Changed On) in the database table /SCDL/DB_PROCH_O.
The ILM object DLV_OUT is assigned to the policy category RTP (Retention Rules).
Checks of DLV_OUT
For ILM actions Archiving and Data Destruction, the preprocessing program /SCDL/BO_ARCHIVE checks the following attributes of the PDOs:
-
Completion status
-
Residence time
-
TU assignments
-
HU assignments
-
LIME status
-
ERP message log status
-
Successor documents
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.
Sequential Search
The sequential search depends on the size of the archive file since all documents in this file have to be read by the system.
Search via Archive Information System
The search using the Archive Information System is based on index tables and is faster than the sequential search. However, you have to specify the document number to use this search. If you want to use the search via the Archive Information System, you must first activate the relevant archive information structure for each document category in the Archive Retrieval Configurator (ARC). For more information about the archive information system, see SAP Library for SAP NetWeaver at http://help.sap.com/nw
. In SAP Library, choose .
The following archive information structures are available for DLV_OUT:
|
Archive Information Structure |
Document Category |
|---|---|
|
SAP_DLV_FDH |
Outbound Delivery |
|
SAP_DLV_PROCH_O |
Outbound Delivery Order, Posting Change, Stock Transfer Within Warehouse |
Display of Archived Data Records
In the archiving administration, the system only displays the header data of the documents. The complete document data can be displayed via the relevant user interface that is assigned to delivery processing. You can use a search function on the user interface to display the archived documents with all the detailed data.

