cancel
Showing results for 
Search instead for 
Did you mean: 

how to read employee user's Org unit name,Org unit add and user position

Former Member
0 Kudos

Hi ,

Is there any Function module or a class-method to read a user assinged Orgunit name ,Org unit address and the user position at that org unit.

i have a given out a search on sdn but could not get the answer.

Thanks for your time

Seema

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Use table HRP1001 - and look for active, date specific records...

Former Member
0 Kudos

Eswar,

Thanks for your fast reply.

I found this table before.But i do not have idea of passing what paramters to get my specific org and position of an employee data from this table.

Let say i know my BP number for employee and Username of him.

i could find out his Obj id using EMP user name.

When i look into table HRP1001 using above Obj id, i could see there are 3 entries exist in table , among one of them is talking about position as

Sclas = S and SOBID = 50020832.

So how would i know by having this number , is it dealing with position and what kind of position it is,,,whether a manager or something else?

Hope you got me.

Basically am aslo looking for a FM where in i cold porvide aBP number or EMP username, where inturn i ll get a Emp position his org details.

Seema

Edited by: seema rajjot on Apr 9, 2010 8:40 PM

Former Member
0 Kudos

In the key values for the selection:

OTYPE

S - Position

O - Organinzation

P - Person

US- User

PLVAR - Planning version usuallu 01 for the active version.

BEGDA - ENDDA : Must give the validitiy period. Usually, today for both the values.

Don't miss the above two in your query.

You also use RELAT also. To define the relation between the key value and the resulting value. You use this to find the Manager or hierarchy using this relationship.

You can get the key values by an example data set you have in your org data.

Former Member
0 Kudos

Thanks eswar.

Yes , I Got the answer.

Seema

Former Member
0 Kudos

Hi Seema,

Check if below link helps.

Regards,

Chandrakant