Object documentationArchiving Financial Transactions with TRTM_FTR

 

The archiving object TRTM_FTR is used to archive and delete financial transactions in the Transaction Manager as well as related subentities (such as the external trade ID and related trade repository objects (TAROs).

Financial transactions are archived using the Archive Development Kit (ADK). For more information, see the documentation on Data Archiving in SAP NetWeaver Library, in particular the section relating to archiving using the Archive Development Kit (ADK).

The archiving object is ILM-enabled. The name of the ILM object is TRTM_FTR. Additional Information SAP Information Lifecycle Management

 

To archive financial transactions, use transaction SARA to call the archiving object TRTM_FTR, or, alternatively, choose Start of the navigation path SAP Easy Access Next navigation step Treasury and Risk Management Next navigation step Transaction Manager Next navigation step Utilities Next navigation step Archiving Next navigation step Financial Transactions End of the navigation path (transaction FTR_ARCH_W).

Before you use the archiving object for the first time, make the settings for minimum retention period based on the company code and the product type. You do this in Customizing for Treasury and Risk Management under Start of the navigation path Transaction Manager Next navigation step General Settings Next navigation step Tools Next navigation step Archiving of Financial Transactions and Positions End of the navigation path.

The following requirements need to be met before a financial transaction can be archived:

  • The financial transaction has reached the specified minimum retention period.

  • The financial transaction has been settled or reversed.

  • The flows relevant for posting have been posted completely.

  • The transaction has acquired the required confirmation status.

The TAROs belonging to the financial transaciton must have one of the following archivable statuses:

  • 06 Rejection Accepted

  • 07 Accepted

  • 08 Obsolete

  • 09 Reconciled

  • 10 Reconciliation Failed

  • 20 Invalid

Further, the TAROs need to be in this status for at least as long as dictated by the minimum retention period specified in Customizing. This means that the period of time between the date when the TARO was last changed and the start date for the archiving run must be greater than or equal to the minimum retention period specified in the Customizing settings for the financial transaction.

If not all TAROs meet these criteria, the financial transaction cannot be archived.

Structure

Tables

The archiving object TRTM_FTR is used to archive data from various tables. When you call up archiving object TRTM_FTR in transaction SARA and then choose the DB Tables pushbutton, the system returns the relevant tables.

Programs

The following programs are delivered for archiving object TRTM_FTR:

Program

Function

Notes

RFTRARCHIVE_WRITE

Write

Saves the selected financial transactions in an archive file.

RFTRARCHIVE_DELETE

Delete

  • Deletes the archived financial transactions in the system database.

  • With the standard settings, the delete program is started automatically after archiving.

    We recommend that you keep this setting. You can use transaction AOBJ to change the setting.

  • For the delete program, SAP delivers the standard variants SAP&PROD (production mode) and SAP&TEST (test mode). During the write and delete activities, a progress report appears in the job log and in the status bar.

RFTRARCHIVE_RELOAD

Reload

This program is a correction program and is used solely for reloading data if errors occurred during archiving.

It cannot be used to read archived data.

See also: Reloading the Archive