Skip to Content
avatar image
Former Member

function to bring views authorized per user

Hi I am looking for a function that can bring what are the material master change (mm02) views and organization unit as valuation area and plant level a user has. I want to put the user and the plant and valuation area and get the list of material master views ( in letters as- C D....) which this user is authorized. Thanks Dan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 28, 2015 at 08:40 AM

    Some basis (you can easily find executing SU24 for transaction MM02)

    • Views : Authorization object M_MATE_STA, with fields ACTVT and STATM, Views are defined in table T132[T]
    • Plants: Authorization object M_MATE_WRK, with fields ACTVT and WERKS, Plant are defined in table T001W
    • Activity is usually '02' for MM02

    So you could loop on available values and execute statement AUTHORITY-CHECK FOR USER.



    Add comment
    10|10000 characters needed characters exceeded