Ansicht
Dokumentation

EXIT_SAPLEA69_001 - User Exit for Period Control

EXIT_SAPLEA69_001 - User Exit for Period Control

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancement

You are able to implement your own procedures for determining time portions if you do not wish to use the basic calculation procedure of the period control in billing. The function module EXIT_SAPLEA69_001 in the function group XEA69 is available for this enhancement.

Note

Refer to function group EA69, which contains the function modules for the basic calculation procedures for period control.

Functionality

The function module is used for recalculating time portions or for modifying time portions already calculated for time slices. The time portions can be found in the XY_IZA table.

Description of table XY_IZA

The transferred table XY_IZA contains time portions that have already been calculated based on the period control entered in the schema step.

Fields that can be changed in table XY_IZA

Field Description
Zeitant time portion
timtypza time category for time portion
tcnumtor numerator of time portion
tcdenomtor denominator of time portion
timtypquot time category for quotient

Please refer to the period control documentation for information on how the fields are to be filled in XY_IZA.

Table XY_IZA contains all time slices for an operand of a schema step. It is possible to have parallel time slices if, for example, several reference values have been created with the same name, or in the case of measured demand values. It is not necessary that the time slices have the same time breakdown.

Description of table X_IMONTH

Table X_IMONTH contains the overlapping months for each schema step.

Relevant field descriptions

The "key" consists of csno, year und month.

csno

Consecutive number of schema step

year

Year for the month

month

Month that is overlapped by the schema step

ab

Start date that covers the schema step within the month

bis

End date that covers the schema step within the month

days

Number of days between ab (start date) and bis (end date)

keyday

Indicator: is key date covered in this month

allday

Indicator: is the month covered completely

first

Indicator: does the month lie at the beginning of the billing period, budget billing period, or backbilling period

last

Indicator: does the month lie at the end of the billing period, budget billing period, or backbilling period

Description of structure X_WABRZEIT

Structure X_WABRZEIT contains the billing period that corresponds to the schema step.

Relevant field descriptions

ab, bis

Exact days in billing period

pertyp

Period category for billing period
Values
AS budget billing period
NO normal billing period
EA period-end billing period
NB backbilling period

einzug

Indicator: a move-in occurred in the billing period

xvera

Indicator: the move-in is a migration move-in

auszug

Indicator: a move-out occurred in the billing period

Description of structure X_SCHEDULE

Structure X_SCHEDULE contains scheduling data from the portion and meter reading unit.

Relevant field descriptions

stichtag

Key date stored in the meter reading unit

Description of structure X_WTE432

Structure X_WTE432 contains the table TE432 entry that is valid for the current schema step. The time portion calculation is defined in this table.
Refer to the period control documentation for meanings of the field contents, or refer to the table itself (maintain via Transaction SM30).

Description of transferred single fields

x_csno

Schema step to be processed currently (number is assigned internally)

x_beginn, x_ende

Period of the schema step

Example

You can find example coding in the function modules for function group EA69. All function modules that pertain to period control start with ISU_TC_*.

Notes

Refer to the procedure for processing billing-relevant disconnection periods. In this case, the time portions are to be set to zero, and this occurs after the user exit.

Further information





Parameters

XY_IZA
X_BEGINN
X_CSNO
X_ENDE
X_IMONTH
X_OBJ
X_SCHEDULE
X_SOBJ
X_WABRZEIT
X_WTE432

Exceptions

GENERAL_FAULT

Function Group

XEA69

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 6243 Date: 20240523 Time: 070201     sap01-206 ( 64 ms )