The Function Module HR_CH_SV_ALTERSCODE (HR-CH: Berechne Alterscode aus Geschlecht und Stichtag) is a standard Function Module in SAP ERP and is part of the function group RPCI within the package PC02.
Function Module | HR_CH_SV_ALTERSCODE |
Short Text | HR-CH: Berechne Alterscode aus Geschlecht und Stichtag |
Function Group | RPCI |
Package | PC02 |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
P02_GEBDAT | TYPE | BEGDA | Geburtsdatum | |
P02_GESCH | TYPE | P0002-GESCH | Geschlecht | |
P02_PROT | TYPE | PCH03_PROT | SPACE | Protokollierung aktiv ? |
P02_STICHTAG | TYPE | ENDDA | Stichtag, an dem der berechnete Alterscode gilt |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
P02_ALTCD | TYPE | PC20U-ALTCD | Alterscode (SV Schweiz) |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
P02_ERROR | LIKE | PLOG_TEXT | Tabelle für Fehlerprotokoll | |
P02_PTEXT | LIKE | PLOG_TEXT | Tabelle Abrechnungsprotokoll |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
EINTRAG_IN_T5CR0_UNGUELTIG | die gefundene Regelung aus T5CR0 is unzulässig |
FEHLER_BEI_SONDERVERARBEITUNG | Fehler bei der Sonderverarbeitung zum Rentenbeginn |
FEHLER_ERMITTLUNG_RENTENBEGINN | interner Fehler bei Bestimmung des Rentenbeginns |
SELEKTION_T5CR0_OHNE_TREFFER | keine passende Rentenbeginnregelung in T5CR0 |
STICHTAG_VOR_GEBURTSDATUM | Der Stichtag liegt zeitlich vor dem Geburtsdatum |