Ansicht
Dokumentation

ISU_COMPUT22 - Calculate Amount from a Time-Dependent Price and a Factor

ISU_COMPUT22 - Calculate Amount from a Time-Dependent Price and a Factor

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Operands and their Meaning

Input operands

FACTOR Factor to be multiplied
TPRICE Price to be multiplied by this factor

Output operands

AMOUNT Amount determined

Functionality

A time-dependent price is multliplied by a factor. Prorations of the price are taken into account.

Info Lines and Control Options

Use the controls to determine whether the quantity to be billed (such as the number of persons) is only used to determine a scale price, or whether the price is multiplied by the quantity to be billed.

ZAHL1 = Price determination quantity

Example

The number of households should be used to calculate a basic amount. To do this, you maintain the allocation of operands to billing-relevant fields in table TEOPERFIELD. The number of households in the premise is then allocated to the first input operand (FACTOR). The basic amount is calculated by multiplying this with the time-dependent price.

If you have determined in the controls that the price is only to be used for price determination, then for a scale price with the following specifications:

Price valid from 01.01.2001 to 12.31.9999
Quantity Base Price Amount From Zone To Zone Zone Number
1,00 23.- 0 1 001
1,00 38.- 1 2 002
1,00 51.- 2 3 003
1,00 62.- 3 9999999999 004

the effect would be such that for two households, the basic charge would be 38-. Otherwise, the price would be multiplied by the number of households, giving you 76-.





Parameters

XY_OBJ
XY_SOBJ
X_OP
X_RED
X_SS

Exceptions

GENERAL_FAULT
REGULAR_ERROR

Function Group

EV35

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2040 Date: 20240523 Time: 095738     sap01-206 ( 37 ms )