Fonction SAP ARCHIVE_GET_REGISTRATION_INFO - Determine Registration Information

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ARCHIVE_HANDLE SYST-TABIX I 4 Handle to the Open Archive Files

Paramètre Reférence Type Long. Description
REGISTERED_BY_OBJECT C C 0 Archiving Class Was Registered By Archiving Object

Paramètre Reférence Long. Facultatif Description
ARCHIVING_CLASSES ARCH_CLS 10 X Archive Classes That Callers Registered

Exception Description
CALLED_BY_ARCHIVING_OBJECT Function Module Called by Archiving Obect
CALLED_TOO_EARLY Not all Archiving Classes Are Registered
WRONG_ACCESS_TO_ARCHIVE Invalid Operation with Archive Handle

Functionality
An archiving class uses this function module in the write phase todetermine whether it was registered by the archiving object or by whicharchiving classes.
According to this information, the calling archiving class can, forexample, use the function moduleARCHIVE_REGISTER_STRUCTURESdynamically to make further structures known in which data is to bearchived.
Calling this function module is only permitted in the write phase andcan only be called by archiving classes. An archiving class <(>
<<)>CLASS> can call it at the earliest in subroutine <(>
<<)>CLASS>_POST_INIT_WRITE.

Description
You can use this parameter to determine whether the calling archivingclass was registered by the archiving object.

Notes
The name of the archiving object can be determined using functionmodule ARCHIVE_GET_INFORMATION.

Value range
The calling archiving class was registered by the archiving object ifthe parameter is returned with any value other thatn initial.
INCLUDE 'ARCHIVE_PARAM_HANDLE_WRITE' OBJECT DOKU ID TX

Description
This table transfers the names of the archving classes that thearchiving class registered.