Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

AUTHORITY-CHECK doesnu00B4t work

I have created an authority object. I have assigned this object to a role.

When I call "authority-check object", it always returns the value 12.

Why? I call the authority-check with parameters that should return 0 value.



Hi Oscar,

check the below table ..

The authorization group allows extended authorization protection for particular objects. The authorization groups are freely definable. They usually occur in authorization objects together with an activity. 
The table that contains all authorization objects is TOBJ.
The table that contains all activities is TACT.
The table that contains definition of all authorization groups is TBRG.
TBRG -- Contains all authorization groups and gives information about relation between authorization object and authorization group. The description of the authorization groups is defined in table TBRGT.

If you create AUTHORITY-CHECK for report or t-code..

* Checking Authorization
           ID 'TCD' FIELD 'ZC7B1UM'.                "ZC7B1UM is t-code
  IF sy-subrc <> 0. 
    MESSAGE e544.

if you check for t-code check by above syntax.



Edited by: Prabhu Das on Apr 15, 2009 11:04 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question