Create Change Documents

Function Group SCD0

The function modules in this function group create change documents from the object-specific update for an object ID.

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.

CHANGEDOCUMENT_MULTIPLE_CASE2 This function module creates change document items. The change data is passed as IMPORT parameters (TABLE_OLD, TABLE_NEW). 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.