Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi regarding HR

Former Member
0 Likes
697

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
667

Bapi

HR_READ_INFOTYPE

BAPI_EMPLOYEE_ENQUEUE

HR_INFOTYPE_OPERATION

BAPI_EMPLOYEE_DEQUEUE

Use this

5 REPLIES 5
Read only

Former Member
0 Likes
667

hi,

Check out this BAPI BAPI_EMPLOYEE_GETDATA.

regards,

Santosh Thorat

Read only

Former Member
0 Likes
668

Bapi

HR_READ_INFOTYPE

BAPI_EMPLOYEE_ENQUEUE

HR_INFOTYPE_OPERATION

BAPI_EMPLOYEE_DEQUEUE

Use this

Read only

0 Likes
667

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.

Read only

Former Member
0 Likes
667

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

Read only

Former Member
0 Likes
667

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