Ansicht
Dokumentation

ISU_COMPUT01 - Subtract Two Amounts

ISU_COMPUT01 - Subtract Two Amounts

BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Operands

Input operands

AMOUNT Output amount
AMOUNT Deduction amount

Output operand

AMOUNT Result of the subtraction

Functionality

The amounts symbolized by the two input operands are subtracted and the result is updated (-> operand update).

Using the control you define whether the subtraction and thereby the update occur based on the time slices (that is, subtraction is carried out separately for each time slice generated by prorations) or independently of the existing prorations. If the subtraction occurs independently of the existing prorations, then the result of the subtraction is updated to the most recent time slice only. If prorations exist for operands to be updated, then a "multiple assignment" is avoided.

Example:
This variant writes additional information to LUMSUM02 in order to write a billing line item for the determined amount. Two billing line items must be written as a result of a tax change. However, both of the billing line items cannot contain the difference that has been determined; only one can contain this difference. Therefore, it has been established that the difference is updated to the most recent time slice only. If, on the other hand, the subtraction is carried out based on the time slices, this problem does not occur.

You must also define whether negative results are to be suppressed. In this case, the subtraction could have a different total result if it is carried out based on the time slices.

Info lines and control options
ZAHL1 = output amount
ZAHL2 = deduction amount
ZAHL3 = result of the subtraction
ZAHL4 = actual result (This can an only differ from ZAHL3 if negative
results are not taken into account. If ZAHL3 is less than 0,
then ZAHL4 is equal to 0.)

You must define the procedure for updating the subtraction in the case of a negative result:

  • Negative differences are updated.
  • Negative differences are not updated. However, an info line is still generated.

You must define how subtraction is carried out:

  • The difference is calculated for each prorated period.
  • The difference is calculated for the entire period.

Example

A minimum demand price is charged. If the actual amount determined for the demand is below this minimum, then an additional info line is written for the difference. This variant can be used for calculating the difference, followed by LUMSUM02 for writing the corresponding billing line item.

How the individual controls are defined in this example depends on the particular circumstances. In this case, the entire period would usually be examined without proration, and negative differences would not be taken into account.





Parameters

XY_OBJ
X_OP
X_SS

Exceptions

GENERAL_FAULT
REGULAR_ERROR

Function Group

EV35

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3263 Date: 20240523 Time: 103937     sap01-206 ( 68 ms )