cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to find the number of records existing in HR module

Former Member
0 Kudos

Hi ,

I wanted to know if there exist BAPI that would return me the number of SAP HR module users in a system.

I cam across the BAPI's for info types like personu2019s Personal Data (Infotype 0002)

BAPI_PERSDATA_CHANGE u2013 Change personal data

BAPI_PERSDATA_CREATE u2013 Create personal data

BAPI_PERSDATA_CREATESUCCESSOR u2013 Create subsequent personal data record

BAPI_PERSDATA_DELETE u2013 Delete personal data

BAPI_PERSDATA_DELIMIT u2013 Delimit personal data validity period

BAPI_PERSDATA_GETDETAIL u2013 Read personal data

BAPI_PERSDATA_GETDETAILEDLIST u2013 read instances with data

BAPI_PERSDATA_GETLIST u2013 Read instances

But i wanted to know if there exist a master table which would return me the number of records irresepctive of the infotypes.

Best Regards

Manoj

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I did not get any answer or solution for this.

I am asumming that the table Pa0002 wil help me for this.

Former Member
0 Kudos

Hi,

if you want to know the number of employees, then u should use the infotype PA00001 and PA0000 with appropriate criteria. Infotype PA0002 should not be used to find the number of employees in the HR.

As you requested there are no specific BAPI to find the records. Hope this helps you.

Or u can use PAR2 transaction to find details.

Thanks,

Saibaba Kondani

Edited by: Kondani Saibaba on Aug 19, 2009 7:33 AM