SAP Function ARCHIVE_REGISTER_CLASS - Link Archiving Class Dynamically to an Object

Parameter Reference Type Length Default Optional Text
ARCHIVE_CLASS ARCH_CLASS-ARCH_CLASS C 10 Name of Archive Class
ARCHIVE_HANDLE SYST-TABIX I 4 Handle to the Open Archive Files

Exception Text
CLASS_NOT_FOUND Archiving Class Is Unknown
FILE_IO_ERROR Error Writing to Archive File
INTERNAL_ERROR Internal Error
WRONG_ACCESS_TO_ARCHIVE Incorrect Access from the Archive

Function
This function module dynamically registers archiving classes in thewrite phase.
Calling this function module is only permitted during theinitialization phase:

  • Calling the function module for the write program in the archiving
  • object is permitted once function module ARCHIVE_OPEN_FOR_WRITEhas been called and before function module ARCHIVE_NEW_OBJECTis called for the first time.
    • An archiving class can call the function module within the
    • subroutine _INIT_WRITE.
      Calling the function module outside the specified times raises theexception WRONG_ACCESS_TO_ARCHIVE.

      Description
      Name of the archiving class that is to be registered dynamically.

982823BAdI for registering archiving classes
975511Archiving: DIMP BAdIs enhance structure definition