Ansicht
Dokumentation

DRUL - Define Derivation Characteristics and Rules

DRUL - Define Derivation Characteristics and Rules

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You maintain rules with which the system finds the required cost component splits in this activity. The rules are only valid for the data basis in which they are defined.

All characteristics selected as object types and link types of the data basis are available as derivation characteristics for the cost component splits. In addition, there are two "artificial" characteristics for the technical names of an object type or a key figure from structure maintenance.

You can use two different types of rules:

  • "Assignment": It is possible to assign one value to a field. It can be a constant or the value of another characteristic.
  • The derivation rule that is already known from the determination rule of the cost component split: Here you can use up to six source fields for one rule.

Rules can always only be created for a combination of a cost component split type and a cost component split of a data basis. You can see for which type a rule was created on the detail screen by double-clicking the rule on the Condition tab. The fields of the cost component split type for which the rule was defined are always determined as the target fields of a rule. You should always use the rule type "derivation rule" for complex cost component split types with multiple characteristics. Only one target field is possible with rules of the type "assignment".

The system analyzes the rules during costing. This always happens when in formulas for an object key figure, a link value is accessed and a formula for split values is defined. The characteristics of object types are those of the sender of the link.

The result of a rule analysis is either one value or no value for the characteristic combination of the cost component split type. This is then the determined cost component split. If no valid cost component split is determined, this value is only processed further unsplit.

All characteristics at all object types and the link type of the selected data basis are available as source fields of a derivation rule. Up to six source characteristics can be selected. There is a restriction here that all fields together must be less than approx. 100 characters long since otherwise the maximum length of the key of database table will be exceeded.

Wildcards (such as asterisk *) are not possible in rule values. If there is no fixed value, choose an appropriate interval for the characteristic values of the relevant field. For performance and maintenance reasons, you should only maintain a few rule values. If possible, try to choose fixed values of characteristics at higher aggregation levels (such as plant).

You have defined at least one cost component split type in the Structure Maintenance of the data basis. You have already maintained cost component splits for the cost component split types in the IMG activity Create Cost Component Split and Cost Component Split Elements. You have also defined determination rules for the valid cost component split values.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3439 Date: 20240523 Time: 165812     sap01-206 ( 83 ms )