Skip to Content
avatar image
Former Member

How to prevent user from accessing a a specific field in a table?

Hello,

From Authorization perspective, there is possibilities to restrict access to tables and group of tables via S_TABU_NAM and S_TABU_DIS..

Is there a way to restrict access to a specific field in a table?

Thanks, Safa

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 30, 2015 at 10:05 AM

    Hi Safa Agrebi,

    Please use authorization object S_TABU_LIN to restrict user access at line level.

    This authorization object has three fields which help us to restrict user authorization at line level

    ORGKRIT --- Organizational criterion for key-specific authorizations

    ACTVT  ---  Activity

    ORG_FIELD1 --1. Attribute for organizational criterion

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kiran,

      Thanks for your answer.

      This authorization object allows to restrict access to some rows of a defined table, basing on the value of a defined field ( criterion)

      Exp: user can only view entries having company code = X

      But I need to display all the entries in a table, but I want to restrict the view of the whole column ( company code)

      Any idea...

      Thanks a lot in advance

      Safa

  • Oct 30, 2015 at 11:07 AM

    Create a z-view (e.g. projection) for the particular table without column you want to hide. Create a z-transaction with parameters. In z-transaction name of screenfield 'VIEWNAME' = z-view.

    Hope this will be helpful.

    Add comment
    10|10000 characters needed characters exceeded