Ansicht
Dokumentation

EXIT_SAPLHRTIM00COV_HIST_005 - Refine Table AB

EXIT_SAPLHRTIM00COV_HIST_005 - Refine Table AB

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this enhancement to split entries in the AB table according to the markers in the internal table COVERAGE HISTORY and to assign a new absence valuation rule to the split parts.

To do so, you specify in the enhancement which changes in markers you want to lead to a changed valuation of the relevant absence time.

The enhancement is called for each entry in the COVERAGE HISTORY table. SAP R/3 checks the markers. For all changes in marker that you have specified as relevant in the enhancement, SAP R/3 splits the entries in the AB table and assigns the specified absence valuation rule to them. In the RETURN_TAB table, you store the absence valuation rules you want to be assigned and their proportion.

Return values

The country-specific function module returns in the RETURN_TAB table the day on which which absence valuation rule is assigned with which proportion.

Example

You can therefore have the following entries for a day in the RETURN_TAB table:

CDATE KLBEW FRACTION
02/02/2001 03 0.3
02/02/2001 02 0.7

Note: You cannot specify that you want KLBEW to have the value 02 between 8 a.m. and 12 noon or for 2.5 hours. The entire AB record is available. You return the proportion to the international source code, which then calculates the hours or days.

In addition to various infotypes, you can also use the TIMES_PER_DAY table.

Example

Notes

Further information





Parameters

AB
BEGDA
ENDDA
I0000
I0001
I0007
I0008
KLBEW
MARK_TAB
MODIF_A
P_ERROR_TAB
P_PERNR
RETURN_TAB
TIMES_PER_DAY
WPBP

Exceptions

Function Group

XCOVERAGEHISTORY

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2330 Date: 20240523 Time: 045958     sap01-206 ( 46 ms )