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 For Employee Master Data

0 Likes
5,913

Hi Friends,

Which bapi is using for getting all employee master data .based on given date range or based on given info type or any parameter except personnel number range.

and also how can track the changes in employee master data , if changes are done in employee master data

Thanks

Ramesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,005

BAPI_OUTEMPLOYEE_GETLIST - List of employee

BAPI_EMPLOYEE_GETDATA - employee details


You can also get all emp details in infotype PA0000 including the date of change

7 REPLIES 7
Read only

Former Member
0 Likes
3,006

BAPI_OUTEMPLOYEE_GETLIST - List of employee

BAPI_EMPLOYEE_GETDATA - employee details


You can also get all emp details in infotype PA0000 including the date of change

Read only

0 Likes
3,005

Hi Elzkie La,

Thanks for reply .using BAPI_OUTEMPLOYEE_GETLIST and payroll area as input ,I m getting the data.

is there any bapi for getting employee master data using employee group as input.

     or

How can we know particular employee belongs to particular employee group.I have searched two tables PA0000,PA0002.But I did not find  field(PERSG - Its Employee group and T501 is master table employee group)  in those two tables.

  Please help me in this context

Read only

0 Likes
3,005

You'll find the employe group in infotype 0001 (PA0001).

Read only

0 Likes
3,005

Hi

In PA0001 you can find the PERSG field. From PA0001 you can get the main details (primary keys) to used in retrieving record from PA0000.

Read only

Patrick_vN
Active Contributor
0 Likes
3,005

As far as keeping track of changes in employee master data, there is the option of change pointers. But depending on your requirements, the fact that most PA-tables contain a change date, might be enough.

Read only

0 Likes
3,005

Hi Patrick,

Thanks For reply. is PA0000 table  enough for getting change data info or  have to use any particular table ?

Thanks

Ramesh

Read only

0 Likes
3,005

Hello Ramesh,

You can read those information from the info types using the function module HR_READ_INFOTYPE .

Refer to the below links for help.

HR Programming - Read Infotype - ABAP Development - SCN Wiki

Read infotype 0105 of a person for sy-datum | SCN

https://scn.sap.com/thread/782757

https://scn.sap.com/thread/1505683

Regards,

Thanga