Archiving 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 (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 .
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.
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 |
|---|---|---|
| Write | Saves the selected financial transactions in an archive file. |
| Delete |
|
| 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 |