Show TOC

Maintenance of Workflow-Relevant Settings for Change DocumentsLocate this document in the navigation structure

Use

Certain settings must be made for each change document object before it can be used for event creation. This information is required, for example, for correct assignment between change document object and object type.

For all change document objects supplied by SAP, the settings required are made.

  • If you want to use the functionality of existing change documents, the entries displayed provide additional information on the existing change document objects.

    Caution

    Do not change these entries.

  • If you create your own change document object and want to prepare it for the purposes of flexible event creation, you must also make the relevant specifications in the view maintenance described below.

Features

The following information is stored in the table for each change document object.

Main table in change document

A change document usually refers to several tables. Changes to one of these tables (the "main table" of the change document object) determine the character of the change.

Whether the change document is written when an entry is created, changed, or deleted is hence derived from the changes to the main table in the change document.

Change document key with structure

The change document is written with the (key) fields of the table or structure specified in the field Change document key with structure.

Using this, the system can check whether the key fields of the event-triggering object can be derived consistently (= domain same) from the key fields with which the change document is written.

It is also used to set up the F4 input help for entering a business object type when creating events.

Flag Action: Create, Change, Delete

Change documents are often written when table entries are changed, and less often when they are created or deleted. To construct a full reference, the actions for which a change document is written are specified.

The creation of entries in a table (example: Request items) that is not the leading table possibly leads to a change being made in the leading table (for example: Request header) and the event if then only created in change.

Flag Action: Create Instance

Events created from the relevant change document when an object is created can only be used as terminating events if this indicator is set.

Structure

Structure (or table) whose fields define the key composition of an object.

This structure must be specified if the key of the event-triggering object cannot be derived from the key of the change document object, but is instead determined with the function module (see below).

Function Module

Function module called by the system with the import parameters key of change document and object type, and which returns the key of the event-triggering object.

This function module is provided by the application for each change document object, if applicable. Its interface corresponds to the function module SWE_TEMPLATE_OBJECT_KEY_SET, which can be used a template.

Activities

Choose Start of the navigation path Tools Next navigation step Business Workflow Next navigation step Development Next navigation step Definition Tools Next navigation step Events Next navigation step Event Creation Next navigation step Change Documents Next navigation step Define Workflow Properties End of the navigation path.