Show TOC

 Derivation Step Types Locate this document in the navigation structure

Use

The system provides a number of different derivation steps, so-called derivation step types.

Structure

The following derivation step types are available:

Derivation Rule

A derivation rule is an IF-THEN rule if it contains a definition stipulating which account assignment values in the source fields or source field combinations cause specific account assignment values in the target fields. Fixed values are assigned to each other. You can use source fields as single values or intervals, but you cannot use master data groups (sets).

To create a derivation rule, you specify the source/ target fields in the Customizing of account assignment derivation and the conditions and step characteristics.

You specify the account assignments in the application, under AccountingPublic Sector ManagementFunds ManagementMaster DataAssignmentsProcess Account Assignment Derivation . At this point you can also specify a validity period.

Example derivation rule: Commitment item should be derived from the cost element

Source fields

Source field

Controlling area

Commitment item

Cost element

 

Table Access

You can use ‘Access Table’ to access single records in any table. In this case, the source fields correspond to the key of a table to be specified, from which specific field content can be copied to the target fields.

This graphic is explained in the accompanying text.

You cannot access time-dependent tables with this derivation step. To do this, you have to use the step type “Enhance” described below.

Move

You can use ‘Move’ to move the content of any source field or a constant to a target field. For example, a specific account assignment can be copied to another field.

Example move: funds center should be derived from the cost element

Source field

Source field

Cost center

Funds center

You can only use ‘Move’ when the names of the source/target field values are identical. This means that the structures must be identical.

Clear

You can use ‘Clear’ to set a specific account assignment to the correct initial value of the type (blank character for type "CHAR"', zero for type "NUMC") and delete it.

Enhancement

For applications where it is likely that the derivation types will not suffice, there is an enhancement available for account assignment derivation (SAPLFMDT, component 001) that can be inserted into the derivation strategy where you wish, and more than once.

This graphic is explained in the accompanying text.

Each time before using this enhancement, check whether the desired step can be reached by a skilful sequence, using the conditions, step and field characteristics (see Influence on Processing Derivation Steps ) and temporary interfields (see Source and Target Field ). You can thereby avoid possible subsequent activities after the upgrade.

To use the enhancement SAPLFMDT, you must create a project or use an existing project and enter the enhancement there. You can make these settings when you create a derivation step Enhancement in Customizing (under Funds Management GovernmentMaster DataAllocations to Account Assignments from Different ComponentsDefine Account Assignment Derivation ). To do this, select  ( ) Project Management.

When you insert the enhancement several times with different characteristic values into your derivation strategy, you must allocate a name in the tab page Characteristics in the field User-Defined Step Name so that you can distinguish between the different steps in the enhancement itself.

The general procedure for creating enhancements can be found in the enhancement transaction CMOD, under HelpApplication Help or, in the SAP library under, mySAP Technology ComponentsSAP Web Application ServerABAP Workbench (BC-DWB) ® Changes to SAP Standard (BC) ® Customer Exits