Archiving Scales (TM-MD-CM-SC)

Definition

Archiving object SCMTMSTCSC for archiving and deleting scales.

Structure

Tables

SAP Transportation Management (SAP TM) uses the archiving object SCMTMSTCSC to archive data from the nodes of the business object model /SCMTMS/TC_SCALE.

Programs

The following programs are available for SCMTMSTCSC:

Program

Function

/SCMTMS/ARCH_TCSCALE_PRE

Preprocessing

/SCMTMS/ARCH_TCSCALE_WRI

Write

/SCMTMS/ARCH_TCSCALE_DEL

Delete

Prerequisites for Writing Scales

The system can archive a scale if the document has existed in the database for longer than the configured residence period.

Functions

The Preprocessing and Write functions use the QU_FOR_CHECK_ARCHIVABILITY query to identify objects that have not yet been archived.

The Preprocessing function uses the CHECK_ARCHIVABILITY action to check firstly whether the non-archived objects are completed and secondly whether their residence period has been reached. The archiving objects are given the archiving status Archiving in Process if they fulfill these prerequisites.

The Write function saves all archiving objects that have the status Archiving in Process in an archiving document.

Integration

Dependencies

Before archiving a scale, the system checks that the scale is not referenced in a rate table.

Scales that are created from within a rate table are automatically marked for archiving when archiving begins for the rate table.

Before archiving, the system does not check for any references to master data objects used for charge calculation in business documents such as forwarding orders, freight orders, and settlement documents.

You cannot edit or delete a scale when the archiving status is Archiving in Process or Archived.

You cannot reference a scale in a rate table if the scale is marked for archiving.

Displaying Archived Scales

You can access archived scales in the relevant Archived Documents personal object worklist. You can also use the archive information structure /SCMTMS/SCALE to access archived scales using the Archive Information System.

For more information about the Archive Information System, see SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/nwInformation published on SAP site. Under Application Help for Function-Oriented View, open SAP Library and choose Start of the navigation pathSolution Life Cycle Management 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.