cancel
Showing results for 
Search instead for 
Did you mean: 

How to get user default plant in SRM?

Former Member
0 Kudos

Hi all,

Is there any FM or table name for getting user default plant location?

I need to get user default plant in SRM.

thanks for ur time.

Accepted Solutions (0)

Answers (4)

Answers (4)

yann_bouillut
Active Contributor
0 Kudos

Hi Murali,

As Disha pointed it, you can use BBP_READ_ATTRIBUTES.

Kind regards,

Yann

Former Member
0 Kudos

Hi,

You can use the FM "BBP_READ_ATTRIBUTES" to get the User plant after passing the User ID to the FM.

HTH.

BR,

Disha.

Pls reward points for helpful answers.

Former Member
0 Kudos

Hi Murali,

I only know a convoluted way of getting the plant location for the user...

1. There's a table HRP5502 for which you need the user's position as the objectId. You'll then get a field called TABNR.

2. The value in TABNR, you need to put into table HRT5502 and this will return the business partner number for the default plant for the user.

3. You then get the plant based on business partner in HRT5502 from table BBP_LOCMAP.

Regards,

Paula.

Former Member
0 Kudos

Murali

Default plant can be set in the Extended attributes of the Org node where the user is attached.

In that select Locations and select the plant. Then check the default check box.

Then whenever a user belonged to that org unit create shopping cart, above default plant gets selected.

Hope this will solve your problem.

Regards

Jagadish