Ansicht
Dokumentation

REFXV_TIVAJADJMCTRL - Define Adjustment Control Differing from Standard

REFXV_TIVAJADJMCTRL - Define Adjustment Control Differing from Standard

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

You represent the calculation formulas of the representative list of rents, without using ABAP program code, in the form of conditions and activities.

A condition describes when a certain criterion is met and an action describes how as a result of this, the system proceeds with the values of the variables. A condition and the following actions are combined in blocks.

Condition:

A condition is a mathematical formula that links variables supplied by the system with arithmetic and logical operators. It must be formed such that it always returns a Boolean result (that is, true or false).
For example, if the building age class is defined in the variable BAUALTKLA and the building year in the variable BAUJAHR, then a condition could be BAUALTKLA = '1' AND BAUJAHR > 2016. This would then be fulfilled if the building age class of the apartment in question is equal to 1 and the building year is greater than 2016.

Action:

An action is a pair consisting of a variable and a mathematical formula (or constant).The formula may have any value (number, character string, Boolean value) that, when it is executed, is assigned to the related variable.
Thus, the action MIETE_NEU , MIETE_NEU  + 1 (<variable, formula for variable> ) would increase the new rent per area unit by one.
The simplest case of a formula is the allocation of a constant to a variable. The action MIETE_NEU ,0.80 would set the new rent per area unit to the value 0.8.

Block:

You combine a condition with as many activities as required in a block. When the condition of the block is fulfilled, then all its actions are executed one after the other.
The sequence of the blocks is defined by a block number, which can be freely allocated. The sequence of actions within a block are also defined by a block-internal row number, which can be freely allocated. The condition is independent of the row number. It is always checked first.

Any number of blocks can be assigned to each adjustment control rule. These are processed sequentially during an adjustment (the adjustment control rule is assigned to an adjustment rule) for each rental object or contract to be adjusted.

You have created an Adjustment Control Rule.

  • Allocate a block number and row number.
  • Specify whether the following should apply to the row:
  • The row is a comment row (row is not used for the evaluation)

  • The default for comments, which has possibly been set on the adjustment control rule, should be switched off

  • You normally formulate a condition first. The condition is always checked first, even if this has a higher row number than the actions.
  • For a condition in the Formula field, define the mathematical formula that is to apply or not apply to the condition, for example, BAUALTKLA = '1' AND BAUJAHR > 2016.

  • For the variable, specify the mathematical formula that is to be executed.

If certain partial expressions are used frequently in a formula, functions (macros) that can be parameterized can be defined for this. They are either stored in the TFKT table or in a table that the user created, which has the same structure. For more information, see Macros.

  • Enter a user-defined text for the variable in the field Variable No. 2 and 4; this text is to be used in the default comment.

  • Specify a message ID, type, and number for this block.

For more information, special features, and tips & tricks on jumps, typing, and character strings, see Special Features on Control Table.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5565 Date: 20240523 Time: 195952     sap01-206 ( 92 ms )