cancel
Showing results for 
Search instead for 
Did you mean: 

there is any fm to get employee is active / not (status)

Former Member
0 Kudos

there is any fm to get employee is active / not (status)

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

I think you want to see the data of Active or In active employees???

If yes, then go to SM30-> Table name pa0000 -> then select STAT1, go to f4 and select active/inactive and execute. You will get the details of the employees who are all active and inactive.

All the best and do reward if you are satisfied.Or else let me know you query.

Regards,

Sri..

former_member181966
Active Contributor
0 Kudos

Look at prog : RPCSOCPX

FM

CALL FUNCTION 'HR_PT_CHECK_EMPLOYEE_ACTIVE'

EXPORTING

ENDDA = P_ENDDA

BEGDA = P_BEGDA

REL_PER = P_FLAG

IMPORTING

FL_ACTIVE = P_ACTIVE

TABLES

AB = P_ABAUX

WPBP = P_WPBPAUX

EXCEPTIONS

AB_NOT_CLASS = 1

OTHERS = 2.

OR HR_ECM_TEST_EE_IS_ACTIVE

OR

CALL FUNCTION 'CATS_CHECK_EMPLOYEE_ACTIVE'

EXPORTING

PERNR = PERNR

  • date = date (DEL)YIKP45K046668

BEGDA = DATE "YIKP45K046668

ENDDA = DATE "YIKP45K046668

EXCEPTIONS

PERNR_NOT_FOUND = 1

PERNR_NOT_ACTIVE = 2

OTHERS = 3.

Good luck !

Khan

.