Thanks Mahesh,
I have no problem with the payroll itself. Only the posting to accounting process is giving us issues.
We have actually deleted the payroll run, but anytime we try to generate another payroll run for posting to accounting using PC00_M99_CIPE for that same period, it gives the error message as explained above.