| Parameter | Reference | Type | Length | Default | Optional | Text |
|---|---|---|---|---|---|---|
| ARCHIVE_HANDLE | SYST-TABIX | I | 4 | 0 | X | Handle on Open Archive Files |
| CHANGENUMBER | CDPOS-CHANGENR | C | 10 | SPACE | X | Change document number |
| DATE_OF_CHANGE | CDHDR-UDATE | D | 8 | '00000000' | X | From-change date for search |
| DATE_UNTIL | CDHDR-UDATE | D | 8 | '99991231' | X | Change date up to which you want to search |
| KEYGUID | CDPOS_UID-KEYGUID | C | 32 | SPACE | X | UUID in character form |
| KEYGUID_STR | CDPOS_STR-KEYGUID | C | 32 | SPACE | X | UUID in Character Format |
| LOCAL_TIME | 0 | SPACE | X | local or system time (re: time zone) | ||
| OBJECTCLASS | CDHDR-OBJECTCLAS | C | 15 | Object class | ||
| OBJECTID | CDHDR-OBJECTID | C | 90 | SPACE | X | Object ID |
| READ_CHANGEDOCU | C | C | 0 | SPACE | X | Flag, if != SPACE, read from archive for CHANGEDOCU |
| TABLEKEY | CDPOS-TABKEY | C | 70 | SPACE | X | Object class table key |
| TABLEKEY254 | CDPOS_UID-TABKEY | C | 254 | SPACE | X | Table Key for CDPOS in Character 254 |
| TABLENAME | CDPOS-TABNAME | C | 30 | SPACE | X | Object class table name |
| TIME_OF_CHANGE | CDHDR-UTIME | T | 6 | '000000' | X | From-change time for search |
| TIME_UNTIL | CDHDR-UTIME | T | 6 | '235959' | X | Change time up to which you want to search |
| TIME_ZONE | TTZZ-TZONE | C | 6 | SPACE | X | Time zone used as basis for calculating local time |
| USERNAME | CDHDR-USERNAME | C | 12 | SPACE | X | Last changed by |
| Parameter | Reference | Type | Length | Text |
|---|---|---|---|---|
| ET_CDRED_STR | CDRED_STR_TAB | h | 48 | Table Type for Structure CDRED_STR |
| Parameter | Reference | Length | Optional | Text |
|---|---|---|---|---|
| EDITPOS | CDRED | 1181 | Table with edited change document items |
| Exception | Text |
|---|---|
| NO_POSITION_FOUND | No item found |
| TIME_ZONE_CONVERSION_ERROR | Error converting local to system time |
| WRONG_ACCESS_TO_ARCHIVE | incorrect access to archive |
|
INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TX The function module reads change document headers and change documentitems and processes the old and new values according to their category.In some cases, the units and currencies are added on to the valuefields. The object class is expected as minimum entry. The program RSSCD200 uses this function module and can be regarded as apossible application. Using the parameter LOCAL_TIME you can specify whether a local date andtime should be transferred (re: time zone) or the system date and time(default). Example call: DATA: NUMMER LIKE CDPOS-CHANGNR, TABNAME LIKE CDPOS-TABNAME, TABKEY LIKE CDPOS-TABKEY. DATA: BEGIN OF EDIT_FORM OCCURS 50. INCLUDE STRUCTURE CDRED. DATA: END OF EDIT_FORM. ... CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING OBJECTCLASS = 'BANF' TABLES EDITPOS = EDIT_FORM EXCEPTIONS ... Description Description Description Value range Default Description Value range Default Description |