Funktionality The archiving object OBJECT>, its Data object IDsOBJECT_ID> and its Archive key ARCHIVEKEY> are stored inthe Index table ARCH_IDX> with this function module. This Indextable can then be used to find out in which archive file a particulardata object is stored. When the Index has been constructed, you can access the Index tableARCH_IDX> with the function modulesARCHIVE_ADMIN_READ_INDEX> and ARCHIVE_READ_OBJECT>.
- Example 1>
DATA: OBJECT LIKE ARCH_IDX-OBJECT, OBJECT_ID LIKE ARCH_IDX-OBJECT_ID, ARCHIVEKEY LIKE ARCH_IDX-ARCHIVEKEY. ... CALL FUNCTION 'ARCHIVE_ADMIN_SAVE_INDEX' EXPORTING OBJECT = OBJECT OBJECT_ID = OBJECT_ID ARCHIVEKEY = ARCHIVEKEY.
- Example 2>
The delete program RSARCH06>, which fills the Index tableARCH_IDX> contains a detailed example.Additional notes You can delete index entries with the program RSARCH14>. You canre-create index entries from archive files with the programRSARCH15>.
|