cancel
Showing results for 
Search instead for 
Did you mean: 

Querying for employees

Former Member
0 Kudos

I am attempting to find the number employees in the System using RFC's and cant use BAPI_EMPLOYEE_GETDATA. Below are a list of RFC's which I believe may help me accomplish this, Is my assumption correct??

If its is I cannot seem to get the RFC's To work because I dont know the approriate syntax for populating the FUNCAREA field and SELID field. Can some one provide the syntax and sample of how to populate these RFC's

HR_CREATE_QUERY_FOR_INFO_GET

HR_INFO_GET

HR_INFO_GET_USING_QUERY

Greatly appreciate Your help,

SAP Newbie

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the sites, but not exactly whats I was looking for. It didnt tell me how to use the bapis.

Let me explain my issue in further detail, Im using BAPI_EMPLOYEE_GETDATA and it is called through the SAP .Net Connector. When calling this BAPI on system with the number of employees > 50k i get an RFC time out error. So im tryin to refine the search but first I would like to check know many matches I will get for a specified search string, before performing that search using BAPI_EMPLOYEE_GETDATA. That is why I am trying to use the bapis listed below, but cant get them to work.

HR_CREATE_QUERY_FOR_INFO_GET

HR_INFO_GET

HR_INFO_GET_USING_QUERY

What are some sample values for the fields?

Thanks for Your help in advance,

SAP newbie

Former Member
0 Kudos

Hi,

Check this link

http://www.sapdevelopment.co.uk/fmodules/fmshr.htm

Also Check whether u can get any info

http://www.sapdevelopment.co.uk/hr/hrhome.htm

Thanks & Regards,

Judith.