cancel
Showing results for 
Search instead for 
Did you mean: 

Emp No not valid on 00.00.000 (PY IN) Error for separated employee

former_member764721
Participant
0 Kudos

Hi Gurus,

I am getting below error while I am running the payroll for separated employees.

I couldn't find anything on google for this issue.

Please help it is urgent

former_member764721
Participant
0 Kudos

It is coming only for 3 employees and out of which 1 is an Active employee. Where could be the issue, please help?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member17522
Active Contributor

This message may come in different contexts so it's always hekpful to provide the technical error number. I assume in this case it may be HRPADIN01 429 (Message ID Message Number)

ABAP code found for this error message in context which suggests the error happens because IT0001 was not found for the referred date:

form get_algrp tables p0008_tmp structure p0008
using p_empno
p_rfdate
changing p_algrpfr
p_bck_subrc.

data : p0001_tmp like p0001 occurs 0 with header line.
data: tmp_subrc TYPE sy-subrc.
*-- Get the Employee Group, Subgroup for employee ----*
CALL FUNCTION 'HR_INDVAL_READ_INFOTYPE'
EXPORTING
TCLAS = 'A'
pernr = p_empno
infty = '0001'
BEGDA = p_rfdate
ENDDA = p_rfdate
* BYPASS_BUFFER = ' '
* REFRESH_INFTY_TAB = ' '
IMPORTING
SUBRC = tmp_subrc
TABLES
infty_tab = p0001_tmp
if tmp_subrc ne 0.
p_bck_subrc = 1.
MESSAGE E429(HRPADIN01) WITH p_empno p_rfdate.
endif.

[...]

It's called from Function Module HR_IN_GET_ALGRP which is called in different contexts, so I suggest you to set a break point and you will find out the root cause. e.g. if the error happens in operation INTHS, check that there are IT0001 records for all IT0008. If it happens in loan calculation, check that there are valid IT0001 records for all IT0045.

Kind regards,

Carlos

former_member764721
Participant
0 Kudos

thank you. I'll get it debugged and will update here shortly.

former_member764721
Participant
0 Kudos

Thank you all.

Issue resolved

Issue was in the Masterdata. User somehow didnt maintain the IT0008 line item with the new validity because of which it was giving error.

Sanjayt
Explorer
0 Kudos

You can check the master data for the employee once again. Were you able to tun payroll for previous periods for this employee? Also if you can share the where the error is happening in the payroll log that will be helpful. You can double click the error and attach the error screen.

former_member764721
Participant
0 Kudos

Hi,

I am able to run the previous period payroll, also I checked the Master data everything seems in place.

It is not reaching to the payroll log giving the error and the blank screen,

Sanjayt
Explorer
0 Kudos

Please try extending the “run payroll upto”field in IT0003 to the start or end of current payroll period for which you are running payroll and then run payroll.

Thanks,

Sanjay

former_member764721
Participant
0 Kudos

Hi,

Tried that still getting the same error.