Menu

SAP Function Module HR_SENIORITY

Ermittlung der Dauer der Betriebszugehörigkeit

The Function Module HR_SENIORITY (Ermittlung der Dauer der Betriebszugehörigkeit) is a standard Function Module in SAP ERP and is part of the function group HRSY within the package PSEN.

Technical Information

Function Module HR_SENIORITY
Short Text Ermittlung der Dauer der Betriebszugehörigkeit
Function Group HRSY
Package PSEN
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IN_DATE LIKE HRSY_PARA-ENDDA SY-DATUM Ende der auszuwertenden Periode
IN_DEF_CALCUL_BY_PROCE_ERROR TYPE XFELD SPACE Berechnung bei fehlenden Kundendaten in der Dienstzeitberechnung
IN_PERNR LIKE HRSY_PARA-PERNR Personalnummer, die ausgewertet wird
IN_PROCE LIKE T525P-PROCE SPACE Berechnungsablauf für Dienstzeitberechnung

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OUT_NODYS LIKE HRSY_PARA-NODYS Anzahl Tage
OUT_NOMNS LIKE HRSY_PARA-NOMNS Anzahl Monate
OUT_NOYRS LIKE HRSY_PARA-NOYRS Anzahl Jahre

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BEGIN_DATE_GREATER_END_DATE Begindatum der Periode größer als Endedatum
ENTRY_DATE_NOT_FOUND Eintrittsdatum unbekannt
ERROR_IN_SENIORITY_MODULE Fehler in Modul Dienstzeitberechnung
OVERFLOW_AFTER_SENIORITY Überlauf nach Modul Dienstzeitberechnung
OVERFLOW_OCCURED Austrittsdatum unbekannt
PERNR_DOES_NOT_EXIST Personalnummer existiert nicht
PERNR_NOT_HIRED Personalnummer momentan nicht eingestellt
UNKNOWN_ERROR Unbekannter/externer Fehler