Menu

SAP Function Module HR_GB_NI_CALC_FULL

HR-GB: National Insurance calculations

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module HR_GB_NI_CALC_FULL (HR-GB: National Insurance calculations) is a standard Function Module in SAP ERP and is part of the function group HRGN within the package PC08.

Technical Information

Function Module HR_GB_NI_CALC_FULL
Short Text HR-GB: National Insurance calculations
Function Group HRGN
Package PC08
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACTIVE LIKE PC205-AKTIVJN Indicator: Active
APPS_FLAG TYPE C APPS flag
CALC_DATE LIKE T5G_NICLIM-BEGDA SY-DATUM Start date
CTOUT LIKE PC2N1-CTOUT Contracted Out Flag
GRSUP_CALL TYPE C GRSUP call
G_CALLED_FROM_GRSUP TYPE C NI routine called from gross up
G_EXIT_IMPLEMENTED TYPE CHAR1 BADI implemented
G_EXIT_INSTANCE CLASS IF_EX_HRPAY_GB_ME_NI BADI definition
G_WEARN TYPE HRPAYGB_WEARN HR-PAY-GB: table type for WEARN
LATE_LEAVER TYPE C Late leaver flag
LEAVE_DATE TYPE D Date of leaving employment
L_PERIOD LIKE PC2PAPER Last period
NIABLE_PAY LIKE PC207-BETRG Niable pay
NI_CATEGORY LIKE PC2N1-NICAT NI category
NYEAR TYPE C First period in year switch
PAYROLL_CALL TYPE C Set if called from payroll
PAY_FREQ TYPE PFREQ Payroll time units
P_ME_NI_ACTIVE_PERIOD TYPE XFELD Checkbox
P_MPT_NIC TYPE HRPAYGB_NIC HR-PAY-GB: table type for NIC
P_MPT_NIPAY TYPE HRPAYGB_NIPAY HR-PAY-GB: table type for NIPAY
P_MPT_TYPE TYPE P08_MPTFLAG SPACE Mid Period Transfers: Period Type
P_PERNR LIKE PERNR-PERNR Personnel number
SW_PROT TYPE C Payroll log

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CNIC LIKE PC2N2 Cumulated NI Contributions
EXCEP LIKE PC23N Exceptions
G_NIPAY LIKE PC2N0 Niable Pay
IT LIKE PC207 Payroll Results: Results Table
LCNIC LIKE PC2N2 Last Period's Cumulated NI Contributions
LNIC LIKE PC2N1 Last Period's National Insurance Contributions
LNIRA LIKE PC2N3 Last Period's NI and Rebate Arrears
NIC LIKE PC2N1 National Insurance Contributions
NIPAY LIKE PC2N0 Niable Pay
NIRA LIKE PC2N3 NI and Rebate Arrears
NI_ERR LIKE HRERROR Transfer table for HR error handling
OCNIC LIKE PC2N2 Old Cumulated NI Contributions
ONIC LIKE PC2N1 Old National Insurance Contributions
ONIPAY LIKE PC2N0 Old Niable Pay
ONIRA LIKE PC2N3 Old NI and Rebate Arrears
P_0069 LIKE P0069 HR Master Record: Infotype 0069 (Nat. Insurance - GB)
P_ME_TA_NI_EMPLOYMENTS LIKE P08P1_ME Multiple Employment Person/Employees
P_ME_TA_NI_PERNRTAB LIKE P08P_ME_PERNR Multiple Employment Structure of Pernrs
P_ME_TA_RESULTS TYPE HRPAYGB_PBS_ME_TA_RESULT ME TA: Payroll Results
P_TEXT LIKE PLOG_TEXT Structure for HR Function Log
SUMMARY LIKE PLOG_TEXT Structure for HR Function Log

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CAT_NOT_ALLOWED NI category not allowed for pay date
ERR_GENERAL General Error
NO_RATES_FOUND No entries found for NI rates and limits