Archiving Single Records (RDB) with RDBAA_REC
You use the archiving object RDBAA_REC
to archive single records that are stored in the results database of the Accounting Analyzer
(FIN-FSCM-TRM-AA
).
Single records are archived using the Archive Development Kit (ADK)
. See also: The documentation on Data Archiving
in SAP NetWeaver Library, in particular the section relating to archiving using the Archive Development Kit (ADK)
.
Technical Data
Size of archiving file: Max. 500 MB
Programs
Program | Function | Notes |
|---|---|---|
| Write | On the basis of your entries, the write program selects the single records to be archived.
You can first run the write program in the Once the test run has proved successful, you can start the write program in End of the note. |
| Delete | The deletion program deletes all archived single records because data deletion cannot be executed by the write program (for security reasons). On the selection screen, you can choose between |
Tables
The archiving object RDBAA_REC
is used to archive data from various tables. When you call up the archiving object in transaction SARA
and then choose the DB Tables
pushbutton, the system returns the relevant tables.
Authorization Object
Authorization Object | Notes |
|---|---|
| The write program checks whether you have authorization for the archiving object |
Create archive files.
You are in the Archive Administration: Initial Screen
(transaction SARA
), and the name of the archiving object RDBAA_REC
is entered in the Archiving Object
field.
Choose Write
.
A screen appears on which you can schedule the write program to be run in the background.
If archiving has already been performed for an archiving object and there are still archive files from that archiving run that have not yet been processed by the relevant deletion program, the system informs you of this in a separate window.
The same applies for interrupted archiving runs.
Caution
Archiving data more than once can lead to various problems. Hence some archiving objects require that data is not replicated in the archive, because this can lead to incorrect results (such as using archived data to produce totals). Ensure the following:
The new write job that needs to be scheduled does not select the same data that is contained in archive files that have not yet been processed by the deletion program.
No variants with overlapping selection values are used in parallel.
Note
If the variant that you have selected is already being used in other jobs, you can choose the Jobs with Selected Variant
pushbutton to display the variant and delete it if necessary.
Use the input help to select a variant. If no variant is available, choose Maintain
and create the variant that you require.
Enter the start date and the spool parameters.
Note
With the Archive Directory
pushbutton, you can determine how much storage space is free in the current object-specific archive directory before you start to archive.
Now you have entered all of the data required for the background job. To run the job, choose Execute
.
Note
After all archive files of a run have been written completely, the system event SAP_ARCHIVING_WRITE_FINISHED
is triggered by the ADK. In reaction to this event, processes that occur downstream from archiving (such as automated file storage) can be triggered by external tools.
Furthermore, you can navigate to the following menu options:
Customizing
Job Overview: Here you find an overview of all archiving jobs as well as functions for processing them.
Administration
Database Tables
Information System
Note
You can display the logs documenting processing by choosing Logs
from the Archive Administration initial screen.
Delete the archived data from the database.
You can display the archived data as follows:
In the Archive Information System
(transaction SARI
), you can display the data archived when you have activated archive information structures for the archiving object.
In exceptional cases when archiving runs contain errors, you can use the Reload
function to reload the archive. For more information, see Reloading the Archive