Menu

SAP Function Module REBUILD_PAYROLL_DIRECTORY

Build Payroll Directory from the Payroll Results

The Function Module REBUILD_PAYROLL_DIRECTORY (Build Payroll Directory from the Payroll Results) is a standard Function Module in SAP ERP and is part of the function group HRC1 within the package PCAL.

Technical Information

Function Module REBUILD_PAYROLL_DIRECTORY
Short Text Build Payroll Directory from the Payroll Results
Function Group HRC1
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
COUNTRY_GROUPING LIKE T500L-MOLGA Country Grouping
EMPLOYEE_NUMBER LIKE PERNR-PERNR Personnel Number
EXPORT_TO_MEMORY LIKE PC261-VOID SPACE Export of New and Old Directory to Memory
PAYROLL_CLUSTER LIKE PCL2-RELID Payroll Results Cluster
SAVE_NEW_DIRECTORY LIKE PC261-VOID SPACE Save New Directory ('X' - Yes, ' ' - No)

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
NEW_DIRECTORY LIKE PC261 Newly Built Directory
OLD_DIRECTORY LIKE PC261 Old Directory

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CANT_LOAD_PAYROLL_RESULTS Payroll Results Cannot be Loaded
CANT_READ_PAYROLL_RESULT A Payroll Result Cannot be Read
CANT_REORGANIZE_DIRECTORY Status Indicator Could Not be Built
CANT_UPDATE_NEW_DIRECTORY Error when Updating the New Directory
COUNTRY_GROUPING_INCORRECT The Table Grouping is not in Table T500L
COUNTRY_GROUPING_INITIAL Country Grouping Not Specified
DUPLICATE_RECORDS Several Records Exist with Same Information
EMPLOYEE_NUMBER_INITIAL Personnel Number Not Specified
ERROR_GENERATING_FUNCTION_POOL System Error: Form Pool Cannot Be Generated
ERROR_LOADING_FUNCTION_POOL System Error: Form Pool is not Available
NO_AUTHORITY_FOR_CLUSTER User Has No Update Authorization for Cluster
NO_AUTHORITY_FOR_DIRECTORY
NO_PAYROLL_RESULTS_EXIST No Payroll Results Exist
WRONG_PAYROLL_COUNTRY_GROUP Country Grouping Not Compatible with VERSC-MOLGA