Skip to Content
author's profile photo Former Member
Former Member

Querying for employees

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 26, 2005 at 03:44 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2005 at 04:31 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.