Application Development 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: 

Infotype for fetching employee previous company details?

Former Member
0 Kudos

Hi Experts,

                    Iam new to the HR-ABAP,what is the infotype for employee previous company details here i want to display the employee previous company details.

In OM(ORGANISATIONAL MANAGEMENT)how to find the person is a employee or manager and if the person is managaer how to find employees under that manager and what are infotypes.

                   

Please help me on this.

Thanks and Regards,

Venkat M.

3 REPLIES 3

Former Member
0 Kudos

You can check PA** tables in se16 for some infos.

Also check this thread for reference:

Infotypes - Application Server Infrastructure - SCN Wiki

Former Member
0 Kudos

Hi Elzkie La,

                     I have checked in se16,but iam not able find the suitable infotype,could you please tell the suitable infotypes for the employee previous company details.

Thanks and Regards,

Venkat M.

pranay570708
Active Contributor
0 Kudos

Hi,

For previous employer details, look into infotype 0023. The database table is PA0023.

To check if employee/manager:- Get the employee's position from info type 0001. Then check table hrp1001 to see if this position has relationship A012 assigned to it. Enter position in OBJID and OTYPE = 'S' and subty = 'A012'. If entry exits, this relationship dictates that this position is a manager of an org unit.


Get employees under manager:-Select latest record, take the org unit (SOBID of the record, SCLAS = 'O') of that relationship A012. Then run FM 'RH_STRUC_GET'  to get all the objects of type 'P''s underneath it using evaluation path O-S-P.