Archiving DCS-Based Market Data with DCS_MD
Archiving object DCS_MD
is used to read, write, and archive market data that is based on derivative contract specifications.
Technical Data
Maximum size of the archiving file: 100 MB
Tables: TBAT_PRICE_FWD, TBAT_PRICEQUOT_O, TBAT_PRICEQUOT_F
(Note: For information about how to display tables, see Tables and Archiving Objects.)
Check authorization object: No
Structure
The following programs are available:
Program (Technical Name) | Function |
| Write |
| Delete |
| Read |
Before you can archive market data, you need to have defined a retention period.
You can define an individual Retention Period
for the market data of each derivative contract specification (DCS). This is the period of time for which the DCS-based market data is kept in the database before being archived. You can find the Retention Period
setting in Customizing under (or you can use transaction FDCS01
).
To create archive files, proceed as follows:
In the area menu, navigate to , and call transaction DCS-Based Market Data
(FDCS_MD_ARCH
). The Archive Administration: Initial Screen
appears (transaction SARA
). Archiving object DCS_MD
is displayed under Object Name
.
Choose Write
.
If archiving has already been performed for this archiving object, and there are still archive files from this archiving session that have not yet been processed by the respective deletion program, a corresponding message is displayed. 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.
Caution
Archiving data more than once can lead to problems. Hence some archiving objects require that no data is replicated in the archive, because this can lead to incorrect results (such as using archived data to produce totals). Make sure that the new write job that needs to be scheduled does not select any data that is contained in archive files that have not yet been processed by the deletion program. Make sure that no variants with overlapping selection values are used in parallel
Use input help to select an existing variant, or choose Maintain
to create a new one.
Enter the start date and the spool parameters.
To run the job, choose Execute
.
To determine how much storage space is available for the current object-specific archive directory before you start to archive, choose Archive Directory
.
You can find the logs of the jobs that have already run under Logs on the initial screen for archive administration.
After all archive files of a session have been written completely, the system event SAP_ARCHIVING_WRITE_FINISHED
is triggered by the ADK. In reaction to this event, subsequent processes (such as automated file storage) can be triggered by external tools.
The following additional functions are available to you and can be found in the menu under Goto
: