Skip to Content
avatar image
Former Member

How to get user default plant in SRM?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 15, 2006 at 10:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 15, 2006 at 11:22 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2006 at 04:55 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 16, 2006 at 07:31 AM

    Hi Murali,

    As Disha pointed it, you can use BBP_READ_ATTRIBUTES.

    Kind regards,

    Yann

    Add comment
    10|10000 characters needed characters exceeded