cancel
Showing results for 
Search instead for 
Did you mean: 

i knew position id i wanted to know sap user id

former_member183819
Active Contributor
0 Kudos

Hi All

I know the position number but i wanted to know their sap userid assigned to this position

for ex

position-sap userid

40000001 - user1

40000002 - user2

.......

.......

I have a big list of position id but i wanted to know what is their sap user id assigned to their position .

Muthu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Muthu,

Try this FM:

BBP_OM_STRUC_GET_USER_FROM_POS

Pass the position ID and you should get the SAP USER ID assigned to that position.

former_member183819
Active Contributor
0 Kudos

Thanks Both of you Jay and Deepthi !!

Muthu

Answers (1)

Answers (1)

Former Member
0 Kudos

One option is the following:

step 1: FM RH_OM_GET_HOLDER_OF_POSITION; input OTYPE = S and position #; get in DISP_TAB the position holder's OBJID

step 2: query table HRP1001, with OTYPE = CP, OBJID = <OBJID from step 1>, SCLAS = 'US'. In the return entry, SOBID is the SAP user name you are looking for.