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

How to get username from objid?

former_member188498
Active Participant
0 Likes
2,149

Hi,

I am using RH_DIR_ORG_STRUC_GET to get company structure.

There from the person_tab table I have OBJID of the person.

How can I get username of the person with given OBJID?

Regards,

Ladislav

8 REPLIES 8
Read only

Former Member
0 Likes
1,445

Hi Pomezny,

You got the user name(UNAME) from HRP1001 by passing OBJID.

I hope , you got the solution.

by

Prasad GVK.

Read only

0 Likes
1,445

Hi,

but is it the username of the person on that position or username of the person who changed the record?

Regards,

Ladislav

Read only

0 Likes
1,445

hi,

UNAME is the username who changed the record

thanks

Read only

Former Member
0 Likes
1,445

Hi ,

If you are refreeing the OBJ ID as Position in that case if you will pass

OTYPE = S AND

OBJID = OBJID in table HRP1001 you will get all the User Name attached to that position.

Regards

Ravi

Read only

Former Member
0 Likes
1,445

OBJID = (OBJID) in table HRP1000

UNAME --- created person

Read only

Former Member
0 Likes
1,445

hi,please see table HRP1000

thanks

Read only

Former Member
0 Likes
1,445

This message was moderated.

Read only

Former Member
0 Likes
1,445

Hi,

Check this field UNAME (User Name)

Regards,

Jyothi CH.