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

bapi regarding HR

Hello Friends,

I am need of Standard BAPI fotr

1. Retreiving of employee information like name, location, group, department etc based on employee code.

2. Reading / Writing Standard infotype 105 in SAP HR based on employee code / id.

If there are no such standard BAPIs available, then please tell me from which standard HR tables we can retrieve such information

Please Help Me Out.

Thanks & Regards

Nigesh

Message was edited by:

nigesh Q S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Nov 30, 2007 at 11:43 AM

    Bapi

    HR_READ_INFOTYPE

    BAPI_EMPLOYEE_ENQUEUE

    HR_INFOTYPE_OPERATION

    BAPI_EMPLOYEE_DEQUEUE

    Use this

    Add a comment
    10|10000 characters needed characters exceeded

    • CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'

      EXPORTING

      number = pa0000-pernr

      IMPORTING

      return = l_ret1.

      IF l_ret1 IS INITIAL.

      CALL FUNCTION 'HR_INFOTYPE_OPERATION'

      EXPORTING

      infty = w_ear-infty

      number = w_ear-pernr

      subtype = w_ear-subty

      • validityend =

      • validitybegin = WA_2002-begda

      • RECORDNUMBER =

      record = w_ear

      operation = 'INS' "create

      nocommit = ' '

      IMPORTING

      return = rcode1

      key = itab1.

      ENDIF.

      CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'

      EXPORTING

      number = pa0000-pernr.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 11:37 AM

    hi,

    Check out this BAPI BAPI_EMPLOYEE_GETDATA.

    regards,

    Santosh Thorat

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 12:23 PM

    HI.

    Try with BAPIHR* in input field of SE37 transaction code .You will get HR related BAPI.

    To be Reward all helpfull answers,

    Regards.

    Jay

    Message was edited by:

    Jay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:18 PM

    nagesh iam also in hr can we have nice time gve me a mail at abapsati@gmail.com ok ..hope we ehlp each other

    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.