Archiving Shipments (SCM-EWM-TM)
Definition
Archiving object TM_SHP for archiving and deleting shipments.
Structure
Tables
SAP Extended Warehouse Management (EWM) uses the archiving object TM_SHP to archive data from the following tables:
|
Table |
Description |
|---|---|
|
CDCLS |
Cluster Structure for Change Documents |
|
CDHDR |
Change Document Header |
|
CDPOS_STR |
Additional Change Document - Table for Strings |
|
CDPOS_UID |
Additional Table for Inclusion of TABKEY > 70 Characters |
|
STXB |
SAPscript: Texts in non-SAPscript Format |
|
STXH |
STXD SAPscript Text File Header |
|
STXL |
STXD SAPscript Text File Lines |
Programs
The following programs are available for TM_SHP:
|
Program |
Function |
|---|---|
|
/SCTM/R_SHP_ARCHIVE_WRITE |
Write |
|
/SCTM/R_SHP_ARCHIVE_DELETE |
Delete |
|
/SCTM/R_SHP_ARCHIVE_RELOAD |
Reload |
Prerequisites for writing shipments
If the following prerequisites are met, the system can archive a shipment:
-
The document was in the database for the duration of the residence time.
-
The document has the status Transportation Completed.
Variant Settings for Writing
You can specify planned shipments or final shipments as the selection criteria. 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 Shipments
You can use the following field catalog and archive information structure to access archived shipments using the Archive Information System:
-
Field catalog SAP_TM_SHP
-
Archive information structure SAP_TM_SHP
For more information about the Archive Information System, see SAP Library for SAP NetWeaver at http://help.sap.com/nw
. In SAP Library, choose .
ILM-related Information for TM_SHP
Archiving object TM_SHP is connected to the ILM object TM_SHP.
The ILM object TM_SHP 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 At) in the archiving structure /SCTM/ARCH_SHP_HEADER_STR. You can display the archiving structure /SCTM/ARCH_SHP_HEADER_STR in transaction AOBJ.
The ILM object TM_SHP is assigned to the policy category RTP (Retention Rules).
Checks of TM_SHP
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.

