Archiving Warehouse Tasks (SCM-EWM-WOP)

Definition

You use the archiving object WME_TO to archive and delete warehouse tasks.

Use

You can archive warehouse tasks that SAP Extended Warehouse Management (EWM) saved a certain number of days ago. You can also simultaneously archive warehouse tasks for multiple warehouse numbers.

For test purposes, you can display a list of all the warehouse tasks to be archived and deleted before archiving them.

Structure

Tables

EWM uses the archiving object WME_TO to archive data from the following tables:

Table

Description

/SCWM/ORDIM_CS

Serial Numbers for Confirmed Warehouse Task Item

/SCWM/ORDIM_E

Exception Codes for Warehouse Task

/SCWM/ORDIM_HS

Serial Numbers for HU Item Movements

/SCWM/ORDIM_LS

Serial Numbers for Warehouse Task Log Table

/SCWM/ORDIM_C

Warehouse Tasks Confirmed

/SCWM/ORDIM_H

Warehouse Task: Movements of HU Items

/SCWM/ORDIM_L

Warehouse Tasks Log Table

Programs

The following programs are delivered for the archiving object WME_TO:

Program

Function

WME_ARCH_TO_WRITE

Write

WME_ARCH_TO_DELETE

Delete

WME_ARCH_TO_READ

Read

Variant Settings for Writing

In the variant of the write program, specify the warehouse number and the warehouse task as the selection criteria for the warehouse tasks. In the processing options, specify whether EWM is to start the program in test mode or production mode.

For more information about variant maintenance, see SAP Library for SAP NetWeaver at http://help.sap.com/nwInformation published on SAP site. In SAP Library, choose Start of the navigation pathSAP NetWeaver Next navigation step SAP NetWeaver by Key Capability Next navigation step Solution Lifecycle Management by Key Capability Next navigation step Data Archiving Next navigation step Data Archiving in the ABAP Application System Next navigation step Data Archiving with Archive Development Kit (ADK) Next navigation step Executing Data Archiving  Next navigation step Variant Maintenance for Archiving JobsEnd of the navigation path.

Integration

Display Function for Archived Warehouse Tasks

You can use the following field catalog and archive information structure to access archived warehouse tasks using the Archive Information System:

  • Field catalog SAP_WME_TO

  • Archive information structure SAP_WME_TO

For more information about the Archive Information System, see SAP Library for SAP NetWeaver at http://help.sap.com/nwInformation published on SAP site. In SAP Library, choose Start of the navigation pathSAP NetWeaver Next navigation step SAP NetWeaver by Key Capability Next navigation step Solution Lifecycle Management by Key Capability Next navigation step Data Archiving Next navigation step Data Archiving in the ABAP Application System Next navigation step Data Archiving with Archive Development Kit (ADK) Next navigation step Archive Information SystemEnd of the navigation path.

ILM-related Information for WME_TO

Archiving object WME_TO is connected to the ILM object WME_TO.

The ILM object WME_TO 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 CONFIRMED_AT (Confirmation Time) in the archiving structure /SCWM/S_ORDIM_C_ARCH. You can display the archiving structure /SCWM/S_ORDIM_C_ARCH in transaction AOBJ.

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

Checks of WME_TO

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.