Ansicht
Dokumentation

ISU_QUANTI23 - Write Consumption and Amount in Consumption History

ISU_QUANTI23 - Write Consumption and Amount in Consumption History

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Operands and Their Meanings

Input operands

QUANT Quantity to be written in the consumption history

AMOUNT Amount to be written to the consumption history

QPRICE Quantity-based price for prorating the quantity

Output operands

None

Functionality

A quantity and a corresponding amount are written in the table of historical consumptions values (DBERCHV). This entry in table DBERCHV is not relevant for posting and is ignored automatically when the bill is printed.


Info Lines and Control Options

Example

The consumption and amount are written directly in the consumption history so that a graphic showing the customer's consumption pattern and the corresponding amounts can be displayed in the Front Office.

The calculation is as follows:

01.01.00 to 05.31.00 2,491.8 kWh

06.01.00 to 12.31.00 3,508.2 kWh

Total consumption: 6000 kWh

Total amounts: 335.08 EUR

Portion of consumption1 in total consumption = 2,491.8/6000 = 0.4153

Portion of amount for consumption1 = 335.08 * 0.4153 = 139.16 EUR

Calculation for consumption2: 335.08 * 0.5847 = 195.92 EUR

This procedure was chosen for the following reason:

If there were parallel registers, the following construct would be

imaginable:

Price change

Reg1 |---50kWH------------|--- 50kWh-----------|

Reg2 |--10kWH----|----70kWh-----------|

Amount |----2000EUR---------|-----3000EUR--------|

To be able to allocate

a meaningful consumption value to each amount, the system assumes a linear

dependency between the consumption values and the total consumption.

This portion is then taken into account

as described for the partial amount determination.





Parameters

XY_OBJ
XY_SOBJ
X_OP
X_RED
X_SS

Exceptions

GENERAL_FAULT
REGULAR_ERROR

Function Group

EV00

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2389 Date: 20240523 Time: 143501     sap01-206 ( 30 ms )