Hi Nikitha,
Go to T-code PCP0 and select your incorrect document display settlement document (shift+f2) you can view posting to accounting document overview select display documents select display line items (shift+f1) select accounting number with text sort in ascending order (crtl+f4) you can view the red triangle in the line items when you click on that line item you can able to view employee no so check the employee cost center or wbs element, if missing maintain the cost centers run payroll in live mode and post again, your document will view error free.
Regards
Ratan