Start of Content Area

Function documentation Update Behavior of Fields in the End Routine  Locate the document in its SAP Library structure

Use

Using this function, you can change the update behavior of fields in the end routine of a standard DataStore object or master data attribute.

Depending on the scenario in question, it may be useful to update all target fields or only target fields with an active rule:

      Only Fields with Active Rule (Default)
This setting is especially useful if various fields of a data record have to be filled from different sources.
In this case, updating all the fields would overwrite the fields (with the initial value of each data field) which were loaded exclusively from the initial source.

      All Fields
This setting is always useful for filling fields in the end routine.
If this setting is chosen, the filled fields in the end routine are retained and are not lost.

Caution

If only the key fields are updated for master data attributes, all the attributes are initialized, regardless of the settings described here.

For more information, see SAP Note 1096307.

Prerequisites

You can only set this indicator for standard DataStore objects and master data attributes.

Activities

You are in transformation maintenance. Choose This graphic is explained in the accompanying text Update Behavior of Fields in the End Routine and set the indicator.

Example

The following two charts show, using a simple scenario, how the two setting variants for the update behavior affect the way a data record in a standard DataStore object is refreshed. Here a target field is filled using an end routine.

The first chart shows that when the fields with an active rule are updated, the field filled in the end routine is lost:

This graphic is explained in the accompanying text

The second chart shows that when all fields are updated, the field filled in the end routine is also updated and is therefore not lost.

This graphic is explained in the accompanying text

 

 

End of Content Area