PeopleSoft NA Payroll or HCM Functional Training:

PeopleSoft NA Payroll or HCM Functional Training:

Please send email to nandu.peoplesoft@gmail.com for enrolling the course or call me @8897575066. Please see below HCM Functional training AGENDA.

Payroll for North America training AGENDA.

This is an online Functional Training. Training goes through webex and explain you with real time execution of processes with examples. Recordings and documentation will be given once the training is done.

Tuesday, September 25, 2012

PAY Calc error message “Shift Not Found”



PAY Calc error message “Shift Not Found”
Message ID : 000049
Shift Not Found
The shift displayed below was not found.

There are number of ways to define Shift in PeopleSoft Payroll as indicated in this previous post:
if you are defining Shift through the Paygroups or even some other method, PeopleSoft Payroll needs you to define at least one shift in PS_SHIFT_TBL; The shift you define is based on the SETID you select in PS_PAYGROUP_TBL; So, the Shift is connected to Paygroup that you define for your company;


When you define a paygroup, there is a Set ID in the paygroup, that is defaulted same as paygroup;you can change it to your HR SetID, but this should be defined in the SetID Table and SetControl value before you change it; or you can leave the default value as it is and come back and change it;


if you want to change it, you need to do the following setup:For the Paygroup value you are defining, go to SetControl table that is under TableSet Control (TableSet Control - PeopleTools Utilities Administration TableSet Control ) enter the paygroup value under Set Control Value: and under PY_02 record group, change the value for SetID;


For this SetID, you need to define a shift value; if you are not using the Shift Table, you must define at least one shift as shown below:



So, when a paycalc is run, it checks the paygroup's SetID; For this value it checks the SetControl Table and under PY_02 record group, for the value of the SetID, there should be a Shift Defined; 

Else, you should expect a payroll error :
Message ID : 000049
Shift Not Found
The shift displayed below was not found.

Relationship Between SetID, Pay Group, and Shift



The employee's shift differential is based on the Shift table entry for the setID of the employee's pay group and the employee's shift assignment.
This example shows the shift table entries for a second shift that has two rate differentials that are linked to different setIDs:
SetID
Shift ID
Differential
SHARE
Shift 2
$1.00
USA
Shift 2
$2.00
Two pay groups are assigned to shift 2.
This table illustrates that the setID assigned to the pay group identifies the correct shift 2 differential for that pay group:
SetID
Pay Group
Shift 2 Differential
SHARE
Weekly A
$1.00
USA
Biweekly B
$2.00
Shift Differential Processing: Here's how payroll processing uses the setup data:
  • The Paysheet Creation COBOL SQL process (PSPPYBLD) uses job data to populate the shift value on the paysheet.
  • The Pay Calculation COBOL SQL process (PSPPYRUN) validates the shift value on the paysheet against the Shift table and against the setID that is associated with the employee's pay group.
To process shift pay, the system checks:
  1. Employees' job records and paylines to verify that you have assigned each of them to a shift and that the employee type in job data is hourly or exception hourly.
  2. The Shift table to determine how you've defined each shift and whether there are any associated shift differentials that affect earnings.
  3. The Earnings table to see whether the earnings are eligible for shift differential.
There must be an entry on the Shift table for the setID that is linked to the pay group. If a shift value is not defined on the Shift table, the system generates an error message during pay calculation that the shift value was not found.

Setting up shift differential



To set up shift differential using the pay group setID and the Shift table:
1.       Set up setIDs.
2.       Verify or add values to the Translate table to identify the shifts that you intend to set up.
3.       Set up shifts for setIDs, specifying the differential as a rate, a factor, or both.
Note. You can set up the same shift differential for all employees in the shift, or you can specify the differential separately on the Job Information page for each employee assigned to the shift.
4.       Link a shift SetID to a pay group.
5.       Assign employees to a valid shift on the Job Information page.
6.       Select Elig. for Shift Differential (eligible for shift differential) on the Earnings Table - Taxes page for applicable hourly earnings codes.
Selecting this check box triggers shift processing during paysheet creation and payroll calculation.

Monday, September 24, 2012

Ben Admin failed with Subscript out of range (in PSPBATBL.cbl, line 4473)



When running Benefits Administration, the process fails with the following error:

ERROR
-----------------------
Object Code error : file '/app/psoft/HCMPRD/hr9/cblbin/PSPBATBL.gnt'
error code: 153, pc=0, call=1, seg=0
153 Subscript out of range (in PSPBATBL.cbl, line 4473) 
Solution:
 
Error message 153 is generated when an array size is exceeded.

Another cause may be related to missing records in PS_BEN_PROG_PARTIC table.

To implement the solution, please take the following steps:
1. In a test environment, in PSPBATBL.CBL increase the size of the following array from 30 to 999 and change WELIG-CURSOR-AVAILABLE value to 999 (3 values need to be increased: WELIG-CURSOR-MAX, WELIG-CURSOR-AVAILABLE, and OCCURS for WELIG-CURSOR-DATA):
01  W-ELIG-CURSORS.

           02  WELIG-CURSOR-COUNT           PIC 999                  COMP.
                  88  WELIG-CURSOR-MAX                                     VALUE 999.


           02  WELIG-CURSOR-AVAILABLE     PIC 999     VALUE 999   COMP.
           02  WELIG-CURSOR-USED              PIC 999                  COMP.
           02  WELIG-CURSOR-LEFT                 PIC 999                  COMP.
           02  WELIG-CURSOR-DATA                              OCCURS 999
                                                                                                INDEXED BY
                                                                                                WELCS-IDX.

2. Recompile all COBOL programs.
3. Retest the issue.
4. If the issue is resolved, migrate the update as appropriate to the other environments. 
ADDITIONAL INFORMATION:
Q: How large the array should actually be? We increased the array to 500 and put in a display but we're not sure how to interpret the display.

A: In the context of Benefits Administration’s automatic event processing and on-demand event maintenance process, SQL cursor count is the number of unique SQL statements executed for each employee processed. SQL cursor count for each employee processed differs and can also vary by installation.

Total SQL cursor count for each employee processed is the cursor count during PSPBASCH (enrollment scheduling) plus the SQL cursor count of every COBOL module called by PSPBASCH, e.g. PSPBATBL, PSPPYMSG, etc. In section XB000 SET ELIG CURSORS of COBOL module PSPBATBL, variable WELIG CURSOR-USED OF W-ELIG-CURSORS is set to the total SQL cursor count for each employee processed. If it is feasible, the customer can place DISPLAY statements in this section to determine the actual total SQL cursor count for each employee processed and then set the OCCURS limit to one that is greater than the highest of the actual total SCL cursor counts. If this is not feasible, then increasing the OCCURS limit for W-ELIG-CURSORS to 500 should be fine too.