Archiving Warehouse Orders (SCM-EWM-WOP)
Definition
You use the archiving object WME_WO to archive and delete warehouse orders.
Use
You can archive warehouse orders that SAP Extended Warehouse Management (EWM) saved a certain number of days ago. You can also simultaneously archive warehouse orders for multiple warehouse numbers. For test purposes, you can display a list of all the warehouse orders to be archived and deleted before archiving them.
Structure
Tables
EWM uses the archiving object WME_WO to archive data from the following tables:
|
Table |
Description |
|---|---|
|
/SCWM/WHO |
Warehouse Order |
Programs
The following programs are delivered for the archiving object WME_WO:
|
Program |
Function |
|---|---|
|
WME_ARCH_WO_WRITE |
Write |
|
WME_ARCH_WO_DELETE |
Delete |
|
WME_ARCH_WO_READ |
Read |
Variant Settings for Writing
In the variant of the write program, specify the warehouse number and the warehouse order as the selection criteria for the warehouse order. In the processing options, specify whether EWM is to start the program in test mode or production mode.
You can use the following formula to calculate the necessary space required to archive warehouse orders: length of warehouse order data record x number of warehouse orders. You can determine the data record length in the ABAP Dictionary.
For more information about variant maintenance, see SAP Library for SAP NetWeaver at http://help.sap.com/nw
. In SAP Library, choose .
Dependencies
Before you can archive warehouse orders using the archiving object WME_WO, you must have archived the relevant warehouse tasks using the archiving object WME_TO.
Reorganization
You can use the program /SCWM/R_REORG_HU_WO_PRINT to delete persistent print data records and Post Processing Framework data records for handling units and warehouse orders that you no longer need in EWM.
ILM-related Information for WME_WO
Archiving object WME_WO is connected to the ILM object WME_WO.
The ILM object WME_WO also has the ILM constants LAST_CHANGE_DATE, COMPLETION_DATE, and START_RET_DATE as available time references. In the database table /SCWM/WHO, LAST_CHANGE_DATE is mapped to the field CHANGED_AT (Changed At), and START_RET_DATE and COMPLETION_DATE are mapped to the field CONFIRMED_AT (Confirmation Time).
The ILM object WME_WO is assigned to the policy category RTP (Retention Rules).
Checks of WME_WO
For ILM actions Archiving and Data Destruction, the preprocessing program /SCDL/BO_ARCHIVE_STD checks the following:
-
The completion status of the PDOs
-
The residence time of the PDOs
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.

