Ansicht
Dokumentation

HR_PSPT_CGA_CHECK_ENTRY_DATE - HR-PT-PS: Check the employee entry date in P. S.

HR_PSPT_CGA_CHECK_ENTRY_DATE - HR-PT-PS: Check the employee entry date in P. S.

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.
SAP E-Book

Functionality

This function returns the employees entry date in the public sector.

The entry date for a Portuguese employee is maintained in Infotype 0041 with Date Type P2 (PS Entry). If does not exist the P2 date for the employee, the function uses the standard Portuguese function HR_PT_HIRE_FIRE to get the employee hire date.

The function imports the P0332 structure with the SS data of the period. As optional the user can pass on the Infotypes 0000, 0001, 0016 and 0041. If any of these is not pass on, the function will get the values.

Example

CALL FUNCTION 'HR_PSPT_CGA_CHECK_ENTRY_DATE'

,,EXPORTING

,, is_p0332 = p0332

,,IMPORTING

,, e_entry_date = l_entry_date

,,TABLES

,, it_p0000 = p0000

,, it_p0001 = p0001

,, it_p0016 = p0016

,, it_p0041 = p0041

,,EXCEPTIONS

,, no_entry_date_found = 1

,, error_reading_hire_date = 2

,, others = 3 .

Notes

CGA, entry date, hire date, PS Entry

Further information





Parameters

E_ENTRY_DATE
IS_P0332
IT_P0000
IT_P0001
IT_P0016
IT_P0041

Exceptions

ERROR_READING_HIRE_DATE
NO_ENTRY_DATE_FOUND

Function Group

HRPTPBSCGA

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

Length: 1667 Date: 20240523 Time: 092931     sap01-206 ( 31 ms )