This error can occur when a new data item has been setup incorrectly (see step 1) or can occur while calculating net pay when there are too many data items set to calculate.  A maximum of 135 data items are allowed to be calculated (see step 2)

Step 1:  Turn off the calculation of the new data item. Go to Setup,Define Historical Data Item, and do a C to change.  Type in the newly added data item, type in 3 for field to be changed, change Calc cycle = N- No calculation used. Calculate net pay again.  If you are able to calculate, then there is a problem with this new data item and the item must be reviewed for errors in the calculation.

Step 2.  Turn off a couple of existing data items to get through the payroll. Go to Setup, Define Historical Data Item, do a C to change, type in the data item we do not need calculated, type in 3 for field to be changed, change Calc cycle = N- No calculation used.