Last reviewed · Rinexis SAP security team
S_TABU_DIS and S_TABU_NAM are the SAP authorization objects that control generic access to table contents through tools such as SE16, SE16N and SM30. S_TABU_DIS grants display or change by table authorization group; S_TABU_NAM grants it by individual table name. Either one, combined with the right activity, opens the table.
Why generic table access matters
Applications protect data with their own authorization objects: company code checks on financial documents, infotype and organizational checks on HR data. Generic table tools read the database tables directly and skip those application checks. A user who can display PA0008 in SE16 sees basic pay without passing the HR authorization checks that the HR transactions perform.
That makes the table objects a control in their own right. In production, table display should be limited to the tables people genuinely need, and table change through generic tools should be rare and tightly controlled.
S_TABU_DIS: authorization groups
S_TABU_DIS has two fields: ACTVT (02 change, 03 display) and DICBERCLS, the table authorization group. Each table or view can be assigned to one authorization group, and the user needs that group with the right activity to open it.
| Item | Where | Notes |
|---|---|---|
| Table-to-group assignment | Table TDDAT, field CCLASS | One group per table or view |
| Maintain the assignment | SE54, Assign Authorization Group | Also set when generating table maintenance in SE11 |
| Tables without a group | Group &NC& | Granting &NC& opens every unassigned table, including most custom ones |
Groups are coarse. One SAP group can cover dozens of tables with very different sensitivity, so granting a group to give access to one table often grants far more than intended.
S_TABU_NAM and the check order
S_TABU_NAM has the fields ACTVT and TABLE, so it grants access to named tables. Generic tools check through function module VIEW_AUTHORITY_CHECK, which checks S_TABU_DIS first. If that check fails, it checks S_TABU_NAM for the specific table. Passing either check is enough.
- Use
S_TABU_NAMfor precise grants: give display on the five tables a role needs instead of the group that contains them. - Remember the OR logic: restricting
S_TABU_NAMachieves nothing if the same user holds a broadS_TABU_DISvalue such as*or&NC&. - Keep both objects maintained in SU24 for custom table-reporting transactions, so PFCG proposes table names rather than groups.
S_TABU_CLI and S_TABU_LIN
Two further objects refine table maintenance. S_TABU_CLI (field CLIIDMAINT) is required in addition to S_TABU_DIS or S_TABU_NAM to maintain client-independent tables. Changes to those tables affect every client in the system, so this authorization belongs to very few people in production.
S_TABU_LIN restricts table maintenance to specific rows by an organizational criterion, such as a country or plant key, defined in Customizing. Its fields are ACTVT, ORG_CRIT and the organizational criterion fields. It applies in the standard table maintenance dialog, so it is a way to let a local team maintain only its own entries in a shared configuration table.
Tools that use these objects
| Path | What it does | Points to watch |
|---|---|---|
SE16, SE16N, SE16H, SE17 | Display table contents | Display of sensitive tables; SE16N edit functions must not be available in production |
SM30, SM31 | Maintain tables and views through generated maintenance dialogs | Change access to configuration tables bypasses Customizing change controls if client settings allow it |
SE11 | Dictionary display, with a link to table contents | Same table checks; often granted widely to support staff |
Function module RFC_READ_TABLE | Reads tables over RFC | Needs S_RFC; interfaces and reporting tools use it, so its table access is easy to overlook |
Custom Z reporting or parameter transactions | Wrap SE16 or SM30 for a fixed table | Review as wrapper transactions; they still rely on the table objects |
Users with debugging and replace rights (S_DEVELOP with object type DEBUG and activity 02) can bypass table checks entirely. Treat that authorization as critical access in production.
Restricting sensitive tables
Start by listing the tables whose contents are sensitive on their own, then make sure no broad grant reaches them.
- User and security data:
USR02(logon data, including password hashes),USH02(logon data change history) and the role tables such asAGR_1251. - HR data:
PA*tables such asPA0002(personal data),PA0008(basic pay) andPA0009(bank details). - Bank details:
LFBK(vendor),KNBK(customer) andBUT0BK(business partner). - Interface configuration:
RFCDES(RFC destinations).
Assign sensitive custom tables to their own authorization groups rather than leaving them in &NC&, and grant display of sensitive tables through S_TABU_NAM only to roles that need it. Use SUIM to find users holding a given table authorization.
Common audit findings
S_TABU_DISwithDICBERCLS*in production roles, often inherited from a support or project role.- Change activity 02 on table objects combined with
SM30orSE16Nfor business users. &NC&granted widely, exposing every custom table without an authorization group.S_TABU_CLIheld by users outside the Basis team.- HR or bank detail tables readable by users with no business need, bypassing application-level controls.
Frequently asked questions
What is the difference between S_TABU_DIS and S_TABU_NAM?
S_TABU_DIS grants table access by authorization group, which can cover many tables at once. S_TABU_NAM grants access by individual table name. The system checks S_TABU_DIS first and falls back to S_TABU_NAM, so holding either one with the right activity is enough.
What does &NC& mean in S_TABU_DIS?
&NC& is the authorization group for tables that have not been assigned to any group. Granting it gives access to every unassigned table, which typically includes most custom Z tables. It should not appear in production business roles.
Where do I find which authorization group a table belongs to?
The assignment is stored in table TDDAT in field CCLASS. It can be displayed and maintained with transaction SE54 by choosing the option to assign an authorization group to the table or view.
What is S_TABU_CLI used for?
S_TABU_CLI is required, in addition to S_TABU_DIS or S_TABU_NAM, to maintain client-independent tables. Because those changes apply to every client in the system, the authorization should be restricted to a small number of administrators.
Does SE16 access bypass application authorizations?
Yes. SE16 and similar tools read tables directly and only check the generic table authorization objects. Application checks such as HR infotype or company code authorizations are not applied, so table display access must be restricted separately.
Our authorization design work includes table access: assigning custom tables to authorization groups, replacing broad S_TABU_DIS grants with precise S_TABU_NAM values, and restricting sensitive tables. Sodly reads each role's authorization values from your AGR_1251 export, so table-access authorizations are checked against your SoD ruleset at authorization level.
Tcodex classifies custom transactions by SE93 type and flags wrapper transactions, including ones built on generic table tools, and shows how many production roles grant each one.