
Function Group SCD0
The function modules in this function group create change documents from the object-specific update for an object ID.
These function modules are called, in the correct sequence by the object-specifically generated update, when it is called. They are not usually required for the application development. Change document creation itself can only be programmed by these function modules in exceptional cases, in which an individual update is to be programmed.
CHANGEDOCUMENT_OPEN
This function module is required for each change document creation. It initializes the internal fields for an object ID of a change document object.
CHANGEDOCUMENT_SINGLE_CASE
This function module creates change document items. The change data is passed to a work area.
CHANGEDOCUMENT_MULTIPLE_CASE
This function module creates change document items. The change data is passed in tables.
The tables passed must be sorted by key fields, and must not contain duplicate entries.
CHANGEDOCUMENT_MULTIPLE_CASE2
This function module creates change document items. The change data is passed as IMPORT parameters (TABLE_OLD, TABLE_NEW).
The tables passed must be sorted by key fields, and must not contain duplicate entries.
This module is needed to log STRINGs in tables.
CHANGEDOCUMENT_TEXT_CASE
This function module passes change document-relevant texts in a structure.
CHANGEDOCUMENT_CLOSE
This function module is required for each change document creation. It writes the change document header for a change document ID, and finishes the document creation.
CHANGEDOCUMENT_PREPARE_TABLES
This function module compares the rows of two tables, TABLE_OLD and TABLE_NEW.
You can specify whether these internal tables are formatted for the multiple case, in a parameter. Identical rows are deleted and changed rows are flagged.