cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving user id's and org id's

Former Member
0 Kudos

Hi,

Need one small help.

1)If I have the user id of a user, how do I find out the users org id and vice versa ie if I have the org id how do I find out the user id? Is there any function module which can be used? Or is there any table which I can query?

2) We are using SRM 4, extended classic scenario. Is there any master table for company codes in SRM? If no then how can I retrieve them from R/3 (any RFC?)

Thanks and Regards,

Mick

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1.Try using table BUT000.

2.For fetching the Company codes,you can use table BBP_ATTR_VALUE_T.

HTH.

BR,

Disha.

Pls reward points for helpful answers.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

To get the company code details ,you can use the FM "BBP_IV_COCODE_GETDETAIL".

BR,

Disha.

PLs reward points for useful answers.

Former Member
0 Kudos

Hi,

For Org specific info for users,you can search in the HRP* tables.

BR,

Disha.

Pls reward points for useful answers.