‎2016 Feb 25 8:53 AM
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
‎2016 Feb 25 9:01 AM
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
‎2016 Feb 25 9:01 AM
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
‎2016 Feb 25 11:11 AM
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
‎2016 Feb 25 11:25 AM
‎2016 Feb 26 1:15 AM
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.
‎2016 Feb 25 9:15 AM
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.
‎2016 Feb 25 11:24 AM
Hi Patrick,
Thanks For reply. is PA0000 table enough for getting change data info or have to use any particular table ?
Thanks
Ramesh
‎2016 Feb 26 6:06 AM
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