Archiving Door Activities (SCM-EWM-SR)
Definition
Archiving object WME_DOOR for archiving and deleting door activities, in other words, shipping and receiving activities for doors (door activities).
For more information about shipping and receiving activities, see Shipping and Receiving Activity.
Structure
Tables
SAP Extended Warehouse Management (EWM) uses the archiving object WME_DOOR to archive data from the following tables:
|
Table |
Description |
Explanation |
|---|---|---|
|
/SCWM/DOOR_SRACT |
S&R Activities of a Door |
This database table contains start dates/times and end dates/times. Each door activity is defined by its start date/time and end date/time. |
|
/SCWM/TDOOR |
Door Definition with Assignment to Staging Areas and Yard |
This database table contains a master data record with the data for the door itself. This data does not refer to the individual door activities. |
Programs
The following programs are available for WME_DOOR:
|
Program |
Function |
|---|---|
|
WME_ARCH_DOOR_MARK |
Mark only (preprocessing program) |
|
WME_ARCH_DOOR_WRITE |
Write only |
|
WME_ARCH_DOOR_MARK_AND_WRITE |
Mark and write |
|
WME_ARCH_DOOR_DELETE |
Delete |
|
WME_ARCH_DOOR_READ |
Read and display |
Write
Before the system writes door activities to archive files, it changes the status from Archivable to Archived. You can no longer process archived door activities. The system archives only the relevant door data for each door activity.
Prerequisites for writing door activities
Door activities must have the status Archivable in order for the system to be able to archive them. The system flags a door activity with the status Archivable if the following conditions have been met:
-
The activity end was at least 60 days ago (fixed value).
-
No transportation units (TUs) are assigned to the door activity any more.
Delete
After writing the archive files, the system performs a test run where it reads the data in the archive files and compares it with the data in the database. If it does not find any differences, the system deletes the database data.
Read
The system uses the selection options to search for suitable activity data in the data sources. The following table shows the selection criteria available:
|
Text |
Table |
Field |
|---|---|---|
|
Warehouse Number |
/SCWM/DOOR_SRACT |
LGNUM |
|
Door Number |
/SCWM/DOOR_SRACT |
DOOR |
|
Actual Activity Start |
/SCWM/DOOR_SRACT |
START_ACTUAL |
|
Actual Activity End |
/SCWM/DOOR_SRACT |
END_ACTUAL |
You can choose the following data sources:
-
Database
-
Archive file chosen manually
-
Archive Information System (AS)
If you choose all three data sources and the system has archived a door activity multiple times without deleting it, the system searches through the data sources in the following order:
-
The system reads the door activity from the database.
-
The system reads the door activity from the archive file chosen manually, as appropriate, and overwrites the version found previously.
-
The system uses the AS to search for the door activity in multiple archive files, reads it, and overwrites the version found previously.
The last data source that is found determines which data is displayed (in particular for the door master data).
Display
A list of the door activities found is displayed. The cursor position determines the current door activity. You can use the Details pushbutton to display this current door activity as a form.
You can display the following dependent data for the current door activity:
-
Data record with general door data (Door Master Data pushbutton)
-
Assignments of the door activity to one or more shipping and receiving activities for transportation units (TUs) (TU Assignments pushbutton)
You can use the Door Activities pushbutton to return to the activity table.
ILM-related Information for WME_DOOR
Archiving object WME_DOOR is connected to the ILM object WME_DOOR.
The ILM object WME_DOOR 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 END_ACTUAL (Actual End) in the database table /SCWM/DOOR_SRACT.
The ILM object WME_DOOR is assigned to the policy category RTP (Retention Rules).
Checks of WME_DOOR
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.
Variant Settings for Preprocessing
As the selection criterion, you can specify either the warehouse number or the number of days that must have passed since the door activities were completed (default value: 60 days). For more information about variant maintenance, see SAP Library for SAP NetWeaver at http://help.sap.com/nw
. In SAP Library, choose .
Integration
Display Function for Archived Door Activities
You can use the following field catalog and archive information structure to access archived door activities using the Archive Information System:
-
Field catalog SAP_WME_DOOR
-
Archive information structure SAP_WME_DOOR

