SAP Function STATUS_READ_ARCHIVE_OBJECT - Read Status Objects from Archive

Parameter Reference Type Length Default Optional Text
ARCHIVE_HANDLE SYST-TABIX I 4 0 X Archive to be Read
I_APPEND C C 0 SPACE X 'X' -> Results Appended
I_MANDT SYST-MANDT C 3 SY-MANDT X Client
I_OBJNR JSTO-OBJNR C 22 SPACE X Status Object Number

Parameter Reference Length Optional Text
T_DJEST DJEST 48 X Key-Date Based Management
T_JCDO JCDO 94 X Status Object Change Documents
T_JCDS JCDS 85 X Individual Status Change Documents
T_JEST JEST 34 X Individual Object Status
T_JSTO JSTO 40 X Status Object Headers(s)

Exception Text
NOT_ENOUGH_INFO DB Read Specified Insufficiently
WRONG_ACCESS_TO_ARCHIVE Archive not Opened for Reading

Functionality
Reads status objects from the archive (if
ARCHIVE_HANDLEis not 0) or from the database (if ARCHIVE_HANDLE = 0).
The status objects read are updated in the parameters T_JSTO, T_JCDO,T_JEST, T_JCDS and T_DJEST.
If the archive is read, the status object(s) is(are) delivered to thecurrent archiving object.
If the database is read you must make further delimitations, as not allstatus objects can be read at once.

Description
Archive from which data is to be read, or 0, if the database is to beread.
The archive must be opened with a suitable ADK function module, such asARCHIVE_OPEN_FOR_READ. These functionmodules provide the archive handle to be transferred.

Description
Controls whether the T_JSTO, T_JCDO, T_JEST, T_JCDS and T_DJEST tablesare to be deleted before reading or whether the data read is to beappended.

  • ' ' (SPACE) : Tables are deleted first, only currently read data is
  • transferred
    • 'X' : Data read is appended ("collected")
    • Value range
      ' ' or 'X'

      Default
      ' ' (SPACE)

      Description
      For cross-client reading.
      When reading from the archive (
      ARCHIVE_HANDLEis not 0) you can specify SPACE here. In this case all the statusobjects for the current archiving object are read, regardless of theclient they belong to.

      Default
      SY-MANDT

      Description
      Object number for which the status object is to be read.
      If the database is to be read, you must make a specification here. Ifthe archive is to be read you can make a specification.
      If the archive is read but no object number is transferred, all thestatus objects in the current archiving object are delivered. If youspecify an object number for which no status object exists in thecurrent archiving object, then nothing is delivered.

      Default
      SPACE

      Description
      The records for table DJEST are transferred here.

      Description
      The records for table JCDO are transferred here.

      Description
      The records for table JCDS are transferred here.

      Description
      The records for table JEST are transferred here.

      Description
      The records for table JSTO are transferred here.