ARCHIVE_ADMIN_CHECK_FILE> checks whether afile is a valid archive file for a particular key.Example
CALL FUNCTION 'ARCHIVE_ADMIN_CHECK_FILE'
EXPORTING
ARCHIVE_FILE = ADMI_FILES-FILENAME
ARCHIVE_FILE = ARKEY
EXCEPTIONS
OTHERS = 7.
IF SY-SUBRC NE 0.
MESSAGE E047 WITH ADMI_FILES-FILENAME.
ENDIF.
Notes
This function module is used internally by archiving.
Via the function module ARCHIVE_ADMIN_DEFINE_FILTER> you candefine selection criteria for the check.Description
Pass the name of the file to be checked with the parameterARCHIVE_FILE>.Description
When you give a key for an archive file with the parameterARCHIVE_KEY> the parameter ARCHIVE_FILE> checks whether thefile belongs to the key.Value range
SPACE = no check
Archive file key = check is executed
Default
SPACE = no check