SAP ABAP Class CL_SAIS_TABLE_AUTH (Generic Table Authorization Check)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-AIS (Application Component) System Audit Information System
     SAIS_BCE (Package) Audit Info System BC
Properties
Class CL_SAIS_TABLE_AUTH  
Short Description Generic Table Authorization Check    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAIS_BCE   Audit Info System BC 
Created 20110412   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SAIS_TABLE_AUTH has no interface implemented.
Friends
Class CL_SAIS_TABLE_AUTH has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GD_ACTVT Static Attribute Private Type reference (TYPE) ACTIV_AUTH Activity for Authorization Check 20110414
2 GD_ALT_CHECK Static Attribute Private Type reference (TYPE) BOOLE_D Alternative Check for Other Activity 20110414
3 GD_AUTH_CLI Static Attribute Private Type reference (TYPE) SY-TABIX Check Status for S_TABU_CLI 20110414
4 GD_CGE_GRP Static Attribute Private Type reference (TYPE) TDDAT-CCLASS Authorization Group for CGE Tables 20110414
5 GD_MSG_MODE Static Attribute Private Type reference (TYPE) SY-TABIX Message Mode (0-None,1-Direct, 2-Log) 20110414
6 GT_DICBERCLS Static Attribute Private Type reference (TYPE) TT_CCLASS Buffer for Table Group Authorization Checks 20110414
7 GT_LOG Static Attribute Private Type reference (TYPE) BAPIRET2_T Message Table 20110414
8 GT_TECH Static Attribute Private Type reference (TYPE) TT_TECH Technical Attributes for Table 20110414
9 GT_VIEW Static Attribute Private Type reference (TYPE) TT_VIEW Buffer for Table Authorization Check 20110414
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_S_TABU_CLI Static method Private Method Authorization Check on S_TABU_CLI 20110414
2 CHECK_S_TABU_DIS_NAM Static method Private Method Authorization Check on S_TABU_DIS / S_TABU_NAM 20110414
3 CONSTRUCTOR Instance method Public Constructor Initialize Table Authorization Check 20110414
4 GET_TECH_ATTR_TABLE Static method Public Method Determine Technical Attributes for Table or View 20110414
5 MSG_CONTROLER Static method Private Method Error Handling Method 20110414
6 SHOW_MESSAGE_LOG Instance method Public Method Display Messages for Object 20110414
7 TABLE_AUTHORITY_CHECK Instance method Public Method Authorization Check for Generic Table Access 20110414
Events
Class CL_SAIS_TABLE_AUTH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CCLASS Private See coding Structure: DICBERCLS + Permitted Activity 20110414 BEGIN OF ts_cclass, cclass TYPE brgru, granted TYPE activ_auth, END OF ts_cclass
2 TS_TECH Private Type reference (TYPE) SAIS_S_VIEW_ATTR Table or View Maintenance Attributes 20110414
3 TS_VIEW Private See coding Structure: Table + Permitted Activity 20110414 BEGIN OF ts_view, table TYPE viewname, granted TYPE activ_auth, END OF ts_view
4 TT_CCLASS Private See coding Table Type for TS_CCLASS 20110414 tt_cclass TYPE STANDARD TABLE OF ts_cclass
5 TT_TECH Private See coding Table Type for TS_TECH 20110414 tt_tech TYPE STANDARD TABLE OF SAIS_S_VIEW_ATTR
6 TT_VIEW Private See coding Table Type for TS_VIEW 20110414 tt_view TYPE STANDARD TABLE OF ts_view
Method Signatures

Method CHECK_S_TABU_CLI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_ACTVT Value transfer Type reference (TYPE) ACTIV_AUTH Ergebnis der Prüfung 20110414
2 Importing ID_TABNAME Call by reference Type reference (TYPE) VIEWNAME Name einer Tabelle oder View 20110414

Method CHECK_S_TABU_CLI on class CL_SAIS_TABLE_AUTH has no exception.

Method CHECK_S_TABU_DIS_NAM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_ACTVT Value transfer Type reference (TYPE) ACTIV_AUTH Ergebnis der Prüfung 20110414
2 Importing ID_CCLASS Call by reference Type reference (TYPE) TDDAT-CCLASS Berechtigungsgruppe einer Tabelle/View 20110414
3 Importing ID_TABNAME Call by reference Type reference (TYPE) VIEWNAME Name einer Tabelle oder View 20110414

Method CHECK_S_TABU_DIS_NAM on class CL_SAIS_TABLE_AUTH has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH '03' Aktivität für Tabellenzugriffsberechtigungsprüfung 20110414
2 Importing ID_ALTERN_CHECK Call by reference Type reference (TYPE) BOOLE_D '' Alternative Prüfung auf Ersatzaktivität 20110414
3 Importing ID_LOG_ERR Call by reference Type reference (TYPE) BOOLE_D '' Fehler im Applikationslog sammeln 20110414
4 Importing ID_SINGLE_ERR Call by reference Type reference (TYPE) BOOLE_D '' Jeden Fehler per Message ausgeben 20110414

Method CONSTRUCTOR on class CL_SAIS_TABLE_AUTH has no exception.

Method GET_TECH_ATTR_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_TECH Value transfer Type reference (TYPE) SAIS_S_VIEW_ATTR Techn. Attribute zur Tabelle oder View 20110414
2 Importing ID_TABNAME Call by reference Type reference (TYPE) VIEWNAME Zu prüfende Tabelle oder View 20110414

Method GET_TECH_ATTR_TABLE on class CL_SAIS_TABLE_AUTH has no exception.

Method MSG_CONTROLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_MSGID Call by reference Type reference (TYPE) SY-MSGID 'TB' Nachrichtenklasse 20110414
2 Importing ID_MSGNO Call by reference Type reference (TYPE) SY-MSGNO Nachrichtennummer 20110414
3 Importing ID_MSGTY Call by reference Type reference (TYPE) SY-MSGTY 'I' Nachrichtentyp 20110414
4 Importing ID_TABNAME Call by reference Type reference (TYPE) VIEWNAME Name einer Tabelle oder View 20110414

Method MSG_CONTROLER on class CL_SAIS_TABLE_AUTH has no exception.

Method SHOW_MESSAGE_LOG Signature

Method SHOW_MESSAGE_LOG on class CL_SAIS_TABLE_AUTH has no parameter.
Method SHOW_MESSAGE_LOG on class CL_SAIS_TABLE_AUTH has no exception.

Method TABLE_AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_RETURN Value transfer Type reference (TYPE) ACTIV_AUTH Ergebnis der Prüfung (erlaubte Aktivität) 20110414
2 Importing ID_TABLE Call by reference Type reference (TYPE) VIEWNAME Name zu prüfender Tabelle oder View 20110414

Method TABLE_AUTHORITY_CHECK on class CL_SAIS_TABLE_AUTH has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in