Fonction SAP ARCHIVE_ADMIN_SET_STATUS - Change Status of Archive Files in Archive Management

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FILES_ARE_CONVERTED 0 'X' X Set Status that Files Have Been Converted
FILES_ARE_DELETED 0 ' ' X Set Files Deleted Status
INDEX_CREATED 0 ' ' X Index of Archived Data Objects Was Built
INDEX_DELETED 0 ' ' X Index of Archived Data Objects Was Deleted

Paramètre Reférence Long. Facultatif Description
ARCHIVE_FILES ARCH_FILES 26 Archive File Name Table

Exception Description
CANNOT_CHANGE_STATUS The Status Cannot Be Set

Functionality
This function module is only released for SAP-internal use.
You can change the status of archive files in the Archive managementwith this function module.
You can currently change the status from deleted toconverted and from Archiving completed to Deletionfinished.

Notes
This function module calls the function module DB_COMMIT tocommit the data in the database.

Description
This parameter ensures that for all archive files that are passed viathe table ARCHIVE_FILES the status is set to converted.

Value range
'X' = set status to converted
' ' = do not set status to converted

Default
'X' = set status to converted

Description
This parameter ensures that for all archive files that are passed viathe table ARCHIVE_FILES the status is set to deleted.

Value range
'X' = set status to deleted
' ' = do not set status to deleted

Default
'X' = set status to deleted

Description
This parameter controls whether an index should be built for the archivefile. With this index you can then display inidividual data objects,such as financial accounting documents, from the archive file in the ERPsystem.

Range
' ' = no index exists
'X' = index was constructed

Default
' ' = no index exists

Description
The index constructed has now been deleted.

Value range
' ' = No index was deleted
'X' = The constructed index was deleted for the transferred archivefiles

Default
' ' = No index was deleted

Description
This table must contain all keys of the archive files whose status isto be changed.

Value range
You can use the function module ARCHIVE_GET_ARCHIVE_FILES tofill the table. See the documentation on the module.