Function documentationMaintenance of Workflow-Relevant Settings for Change Documents Locate this document in the navigation structure

 

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 Caution

    Do not change these entries.

    End of the caution.
  • 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.

Indicator 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 (for example order items), which is not the main table, may lead to a change in the main table (for example order header) and the event only being created if a change action is executed.

Indicator 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

To maintain the workflow-relevant settings of change documents, choose   Tools   Business Workflow   Development   Definition Tools   Events   Event Creation   Change Documents   Define Workflow Properties  .