Menu

SAP Function Module HR_PAYROLL

Start Payroll

The Function Module HR_PAYROLL (Start Payroll) is a standard Function Module in SAP ERP and is part of the function group HRPR within the package PCAL.

Technical Information

Function Module HR_PAYROLL
Short Text Start Payroll
Function Group HRPR
Package PCAL
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
COSTPLANNING LIKE RPCALCX0-COSTPLAN SPACE Abrechnung wird für Kostenplanung gerufen
IMP_BUFF LIKE RPCALCX0-EXP_BUFF ' ' Buffer wird vom Calc importiert
OBJ_IPREL CLASS CL_HRPAY99_FILL_INFOTYPES Vorbelegen von Infotypen
PAYROLL_AREA LIKE T549A-ABKRS Payroll Area
PAYROLL_DATE LIKE PC261-BONDT Date of Payroll Run
PAYROLL_ID LIKE PC261-PAYID Payroll ID
PAYROLL_OCRSN LIKE PC261-OCRSN Reason for Off-Cycle Payroll Run
PAYROLL_PERIOD LIKE T549Q-PABRP Payroll Period
PAYROLL_TYPE LIKE PC261-PAYTY Payroll Type
PAYROLL_YEAR LIKE T549Q-PABRJ Payroll Year
PROGRAM_NAME LIKE TRDIR-NAME Name of Payroll Program
PRT_PROT TYPE PRT_PROT ' ' Abrechnungsprotokoll
SCHEMA TYPE SCHEM Name eines Schemas (Programmvorlage)
SELECTION_VARIANT LIKE VARI-VARIANT Report Variant for Payroll
SEL_ALL_AREAS TYPE RP_XFELD ' ' Abrechnung soll alle Abrechnungskreise selektieren
TST_ON LIKE RPCALCX0-TST_ON 'X' Test Switch

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
BUFFER LIKE PCLx-Buffer
BUFFER_DIRECTORY LIKE PCLx Puffer for Directory
DELETE_PCLX LIKE Table of Deleted PCLx Records
EMPLOYEE_NUMBERS LIKE PAY_SIM_PERNR Personnel Numbers to be Accounted
PT_BEFORE_IMAGE LIKE für PSOPER
PT_BEFORE_IMAGE_PCLX LIKE für PCLX

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
MISSING_PARAMETER An Input Parameter was not Specified
PROGRAM_NOT_EXIST Payroll Program Does Not Exist
VARIANT_NOT_EXIST Variant does not exist
WRONG_COUNTRY_GROUP The Payroll Country Grouping is Incorrect
WRONG_PARAMETER There is an Incorrect Parameter Combination