Funktionsbaustein CHANGEDOCUMENT READ POSITIONS

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein CHANGEDOCUMENT_READ_POSITIONS gibt für ein Änderungsprotokoll den alten und neuen Wert zurück.

CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
  EXPORTING
"   ARCHIVE_HANDLE                = 0
    CHANGENUMBER                  =
"   TABLEKEY                      = ' '
"   TABLENAME                     = ' '
"   TABLEKEY254                   = ' '
"   KEYGUID                       = ' '
"   KEYGUID_STR                   = ' '
" IMPORTING
"   HEADER                        =
"   ET_CDRED_STR                  =
" TABLES
"   EDITPOS                       =
"   EDITPOS_WITH_HEADER           =
" EXCEPTIONS
"   NO_POSITION_FOUND             = 1
"   WRONG_ACCESS_TO_ARCHIVE       = 2
"   OTHERS                        = 3
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur