Archiving Freight Documents (SCM-EWM-TM)
Definition
Archiving object TM_FRD for archiving and deleting freight documents.
Structure
Tables
SAP Extended Warehouse Management (EWM) uses the archiving object TM_FRD 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_FRD:
|
Program |
Function |
|---|---|
|
/SCTM/R_FRD_ARCHIVE_WRITE |
Write |
|
/SCTM/R_FRD_ARCHIVE_DELETE |
Delete |
|
/SCTM/R_FRD_ARCHIVE_RELOAD |
Reload |
Prerequisites for writing freight documents
If the following prerequisites are met, the system can archive a freight document:
-
The document was in the database for the duration of the residence time.
-
The document has the status Transportation Ended.
Integration
Display Function for Archived Freight Documents
You can use the following field catalog and archive information structure to access archived freight documents using the Archive Information System:
-
Field catalog SAP_TM_FRD
-
Archive information structure SAP_TM_FRD
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_FRD
Archiving object TM_FRD is connected to the ILM object TM_FRD.
The ILM object TM_FRD 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_FRD_HEADER_STR. You can display the archiving structure /SCTM/ARCH_FRD_HEADER_STR in transaction AOBJ.
The ILM object TM_FRD is assigned to the policy category RTP (Retention Rules).
Checks of TM_FRD
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.

