Ansicht
Dokumentation

EXIT_SAPLEL01_009 - IS-U: Change Gas Date in Meter Reading Processing

EXIT_SAPLEL01_009 - IS-U: Change Gas Date in Meter Reading Processing

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This enhancement allows you to change the gas billing date during meter reading data entry. The gas date is currently determined during meter reading order creation using table TE125 and is based on the meter reading date.

In this enhancement, you can change the gas date according to the actual meter reading date, for example.

In conjunction with the quantity determination procedure Quantity Determination During Meter Reading, this enhancement is replaced by the enhancement spot ISU_QD_MR and the BAdI definition ISU_QD_GAS_DATE_CHANGE.

If you do not activate an implementation, the fallback class CL_DEF_ISU_QD_GAS_DATE_CHANGE is used as a default.

Example

If you calculate a conversion factor for the volume correction factor and the calorific value, the following problems may occur: The meter reading result is entered a month before the scheduled meter reading date (date entered on January 31, 2000; actual meter reading date is February 5, 2000, for example). 0 is set as the default value in table TE125 (meaning the gas date is February 5, 2000).

The billing period is January 1, 2000 to January 31, 2000. At the time of conversion factor calculation, all time slices are created for the period from January 1, 2000 to January 31, 2000. However, the gas date defines the first reading time, and an entry for February is required. Since the gas date defines the first meter reading time, an entry is required for Feburary and billing is terminated here. This enhancement enables you to define the gas date according to the actual meter reading date (January 1, 2000 in the example above).

Notes

This enhancement provides you with the meter reading document (EABL) in which the gas date is to be changed. You can only change the gas date in meter reading documents with one of the following billing-relevant meter reading reasons. The meter reading reasons are: Periodic meter reading. interim meter reading with billing, final meter reading, meter reading due to service territory handover, meter reading due to contract change, and meter reading due to customer change. The scheduled meter reading date is used as the gas date for all other meter reading reasons.

A meter reading document can have several different meter reading reasons in table EABLG. This enhancement provides you with the first entry with a billing-relevant meter reading reason.

If you would like to define the gas date according to the actual meter reading date using table TE125, you can do the following:

  • Use function module ISU_ABRVORG_ABLESGR_TRANSFORM to convert the meter reading reason from X_EABLG to a billing transaction.

  • Use function module ISU_DB_EANL_SINGLE to determine the billing class and the meter reading unit at the time of meter reading.

  • Use ISU_DB_TE422_SINGLE to determine the portion of the meter reading unit. You must then determine whether the contract for the installation contains a different portion.

You can use this data to read and interpret table TE125 with ISU_DB_TE125_SPECIAL_SELECT. You can do this based on ISU_ALLOCATION_DATES_SET and subprogram TE125_READ.

Further information





Parameters

X_EABL
X_EABLG
X_IEABLG
X_NO_DIALOG
Y_THGDATUM

Exceptions

GENERAL_FAULT

Function Group

XEL2

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4316 Date: 20240604 Time: 045204     sap01-206 ( 82 ms )