Funktionsbaustein CHANGEDOCUMENT READ HEADERS

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein CHANGEDOCUMENT_READ_HEADERS gibt den Header für ein Änderungsprotokoll zurück.

CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
  EXPORTING
"   ARCHIVE_HANDLE                   = 0
"   DATE_OF_CHANGE                   = '00000000'
    OBJECTCLASS                      =
"   OBJECTID                         = ' '
"   TIME_OF_CHANGE                   = '000000'
"   USERNAME                         = SY-UNAME
"   LOCAL_TIME                       = ' '
"   TIME_ZONE                        = 'UTC'
"   DATE_UNTIL                       = '99991231'
"   TIME_UNTIL                       = '235959'
"   NOPLUS_ASWILDCARD_INOBJID        = ' '
"   READ_CHANGEDOCU                  = ' '
  TABLES
    I_CDHDR                          =
" EXCEPTIONS
"   NO_POSITION_FOUND                = 1
"   WRONG_ACCESS_TO_ARCHIVE          = 2
"   TIME_ZONE_CONVERSION_ERROR       = 3
"   OTHERS                           = 4
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur