Read and Edit Change Documents
Function Group SCD1
There are two function groups for these tasks:
You can determine change documents using the function modules of this function group.
| CHANGEDOCUMENT_READ_HEADERS | This function module determines the change document numbers with the corresponding header information for a particular change document object. The search can be limited by specifying various parameters (changed by, date, time). You can implement this function module both in the database as well as in the archive. |
| CHANGEDOCUMENT_READ_POSITIONS | This function module reads the change document items for a particular change document number belonging to a change document object and then prepares the old and new values in accordance with their type. You can implement this function module both in the database as well as in the archive. |
| CHANGEDOCUMENT_PREPARE_DISPLAY | The function module prepares previously read change document items. |
| CHANGEDOCUMENT_PREPARE_POS | With this function module, you prepare a previously read change document item for print. |
| CHANGEDOCUMENT_READ_HDRS_ONLY | This function module determines change document numbers with the corresponding header information for an object class. This search process can be limited by specifying various parameters. |
| CHANGEDOCUMENT_ UNICODE_CHECK | This function module tests whether the change document was written in UNICODE-enabled form. |
| CHANGEDOCU_ARCHIVE_HANDLE_SET | This function module sets the archive handle globally. |
| CHANGEDOCU_CDPOS_READ | Reads the table [P]CDPOS with TABKEY. |
| CHANGEDOCU_GET_VERSION_TABLES | Gets (P)CDHDR information for reading the (P)CDPOS_UID/_STR. |
| CHANGEDOCU_GUID_READ | Reads the table [P]CDPOS_UID with TABKEY. |
| CHANGEDOCU_HAS_GUID | Tests whether the GUID is used in the object. |
| CHANGEDOCU_READ_POS_W_UID | Reads [p]cdpos and [p]cdpos_uid. |
| CHANGEDOCU_READ_PREP_POS_W_UID | Reads CDPOS and CDPOS_UID with partial preparation of the CDHDR fields. |
| CHANGEDOCU_STR_READ | Reads the table [P]CDPOS_STR with TABKEY. |
Function Group SCD2
Using the function module of this group, you can prepare change documents specifically for an object class.
| CHANGEDOCUMENT_READ | With this function module, you read change document headers and the corresponding items for a particular object class and prepare the old and new values in accordance with their type. The search can be limited by specifying various parameters (changed by, date, time). You can implement this function module both in the database as well as in the archive. |
| CHANGEDOCUMENT_READ_RANGES | This function module reads change document headers and items, and prepares the old and new values in accordance with their type. If applicable, units and currencies are added to value fields. Range tables are passed to the function module. These must be filled correctly. If all the range tables are empty, no data is read. |
Function Group SCD6
| CHANGEDOCUMENT_DISPLAY | Formatted display of change documents. |