Ansicht
Dokumentation

HR_QTACC_TRANS_START_DATE_13 - Calculate transfer date based on configuration tables (AU)

HR_QTACC_TRANS_START_DATE_13 - Calculate transfer date based on configuration tables (AU)

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module determines the start date for the accrual transfer period. It is called for a quota type configured with a transfer rule.

The accrual start date is determined by reading table T5QIT (Calculation Rule for Transfer Frequency) using your employees' personnal subarea and employee groupings for the date currently being processed in Personnel TimeManagement. Additionally, the transfer rule forms part of the key for table T5QIT.

The date type entered in table T5QIT is set up in the Date Specifications infotype (0041) and determines the start date for the transfer period. The code loops around all date types available for the employee for the current date and returns the first matching date type found.

Example

Quota type 80 (long service leave) is assigned the transfer rule LSL. This function module reads table T5QIT for the current employee groupings as well as the transfer rule LSL. The record found contains the date type L1. The program then reads the employees' infotype 0041 records for the date type L1. Once found, the date held against this date type is returned (for example, 01.01.1990). This date determines the date as of which the system calculates the transfer to entitlement date from.

Notes

If the date type in infotype 0041 is not set up, the system does not calculate a transfer date.

Further information





Parameters

TRANS_BEGIN_DATE
XDATE
XLRULE
XP0001
XP0041
XPERNR

Exceptions

CUSTOMIZING_ERROR
NO_IT0041_DATETYPE

Function Group

HRIL_AU

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2654 Date: 20240523 Time: 092349     sap01-206 ( 54 ms )