Use the function modules of this function group to create change documents from object-specific update processes for a specifc object ID.

These function modules are called in the right order by object-specific, generated update processes as soon as these are jumped to. They are usually not required for application development. In some exceptions where an individual update process is to be programmed it can be programmed that change documents are created with these function modules themselves.
● CHANGEDOCUMENT_OPEN
This function module is needed for every change document creation. It initializes the internal fields for a specific object ID of a change document object.
● CHANGEDOCUMENT_SINGLE_CASE
This function module creates change document items. The change data is transferred to one work area.
● CHANGEDOCUMENT_MULTIPLE_CASE
This function module creates change document items. The change data is transferred to tables.

The transferred tables must be sorted by key fields and must not contain any double entries.
● CHANGEDOCUMENT_MULTIPLE_CASE2
This function module creates change document items. The change data is transferred as IMPORT parameters (TABLE_OLD, TABLE_NEW).

The transferred tables must be sorted by key fields and must not contain any double entries.
This module is necessary if STRINGs have to be logged in tables.
● CHANGEDOCUMENT_TEXT_CASE
Change-document-relevant texts are transferred to a structure using this function module.
● CHANGEDOCUMENT_CLOSE
This function module is needed for every change document creation. It writes the change document header for a specific change document ID and finishes the document creation.
● CHANGEDOCUMENT_PREPARE_TABLES
With this function module you can compare the rows of two tables that you are transferring as TABLE_OLD and TABLE_NEW.
With a parameter you can define whether these internal tables are to be prepared for the multiple case. Identical rows are deleted and changed rows are flagged with a processing indicator.