SAP ABAP Class CL_SPCG_TOOLS (Roles API - Internal Tools)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-AUT-PFC (Application Component) ABAP Authorization and Role Management
     S_PROFGEN_API (Package) Roles API
Properties
Class CL_SPCG_TOOLS  
Short Description Roles API - Internal Tools    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_PROFGEN_API   Roles API 
Created 20130404   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_SPCG_TOOLS_PUBLIC Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_SPCG_TOOLS has no interface implemented.
Friends
Class CL_SPCG_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ACTIVITY_CREATE Constant Public Type reference (TYPE) TY_NODE_ACTIVITY 'C' Insert Nodes 20130404
2 CO_ACTIVITY_DELETE Constant Public Type reference (TYPE) TY_NODE_ACTIVITY 'D' Delete Node(s) 20130404
3 CO_ACTIVITY_RETRIEVE Constant Public Type reference (TYPE) TY_NODE_ACTIVITY 'R' Read Node 20130404
4 CO_ACTIVITY_UPDATE Constant Public Type reference (TYPE) TY_NODE_ACTIVITY 'U' Change Nodes 20130404
5 GT_CACHE_AUTHORITY_NODE Static Attribute Private Type reference (TYPE) TT_AUTHORITY_NODE Checked authorizations 20130404
6 GT_FIELD_INFO Static Attribute Private Type reference (TYPE) TT_FIELD_INFO DB: Field information 20130404
7 GT_OBJECT Static Attribute Private Type reference (TYPE) TT_OBJECT DB: Object information 20130404
8 GT_OBJECT_FIELD Static Attribute Private Type reference (TYPE) TT_OBJECT_FIELD DB: Information - object, field 20130404
9 GT_USORG Static Attribute Private Type reference (TYPE) TT_USORG DB: Organizational level information 20130404
Methods
# Method Level Visibility Method type Description Created on
1 AUTH_CHECK_SINGLE Static method Public Method Execute Authorization Check 20130404
2 CHECK_FIELD_VALUE Static method Public Method Check: Values of an authorization 20130404
3 CHECK_OBJECT_FIELD Static method Public Method Check: Fields of an object 20130404
4 CLEANUP Static method Public Method Transaction: Delete internal buffer 20130404
5 COMPARE_TABLES_WITH_KEY Static method Public Method Compare two internal tables 20130404
6 DEQUEUE Static method Public Method Dequeue 20130404
7 ENQUEUE Static method Public Method Enqueue 20130404
8 GET_NEW_PROF_TORSO Static method Public Method Determine profile torso 20130404
9 GET_OBJECT_FIELDS Static method Public Method Read fields of an authorization object 20130404
10 READ_OBJECT Static method Private Method DB: Read object definition 20130404
11 TO_UPPER_CASE Static method Public Method Convert to uppercase 20130404
Events
Class CL_SPCG_TOOLS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_AUTHORITY_NODE Private See coding Table type: Checked authorization 20130404 tt_authority_node type standard table of ty_authority_node
2 TT_FIELDS Public See coding Table type: Authorization field 20130404 tt_fields type standard table of ty_fields
3 TT_FIELD_INFO Private See coding Table type: authorization field information 20130404 tt_field_info type standard table of ty_field_info
4 TT_OBJECT Public See coding Table type: Authorization object 20130404 tt_object type standard table of ty_object
5 TT_OBJECT_FIELD Public See coding Table Type: Information - object, field 20130404 tt_object_field type standard table of ty_object_field
6 TT_PFCG_ROLE_ERROR Public See coding Table type: Error message 20130404 tt_pfcg_role_error type standard table of ty_pfcg_role_error
7 TT_USORG Private See coding Table type: Organizational levels 20130404 tt_usorg type standard table of usorg
8 TY_AUTHORITY_NODE Private See coding Table type: Checked authorization 20130404 begin of ty_authority_node , nodename type if_pfcg_role=>ty_node_name , field type if_pfcg_role=>ty_node_field , operation type ty_node_activity , role type agr_name , auth_object type xuobject , auth_field type xufield , auth_val type xuval , authorized type abap_bool , msg type symsg , end of ty_authority_node
9 TY_FIELDS Public See coding Structure type: Authorization field 20130404 begin of ty_fields , field type agrfield , end of ty_fields
10 TY_FIELD_INFO Private See coding Structure type: Authorization field information 20130404 begin of ty_field_info , field type agrfield , domname type domname , leng type ddleng , check_domval type valexi , end of ty_field_info
11 TY_NODE_ACTIVITY Public Type reference (TYPE) CHAR01 Activity for Authorization Check 20130404
12 TY_OBJECT Public See coding Structure type: Authorization object 20130404 begin of ty_object , object type agobject , exist type abap_bool , exit_fb type rs38l_fnam , start_obj type abap_bool , end of ty_object
13 TY_OBJECT_FIELD Public See coding Structure Type: Information - object, field 20130404 begin of ty_object_field , object type agobject , field type agrfield , varbl type tprorgvar , start_obj type abap_bool , crit_field type abap_bool , end of ty_object_field
14 TY_PFCG_ROLE_ERROR Public See coding Structure type: Error message 20130404 begin of ty_pfcg_role_error , role type agr_name , msg type symsg , end of ty_pfcg_role_error
Method Signatures

Method AUTH_CHECK_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) SYMSG 20130404
2 Importing IV_AUTH_FIELD Call by reference Type reference (TYPE) XUFIELD 20130404
3 Importing IV_AUTH_OBJECT Call by reference Type reference (TYPE) XUOBJECT 20130404
4 Importing IV_AUTH_VAL Call by reference Type reference (TYPE) XUVAL 20130404
5 Importing IV_FIELD Call by reference Type reference (TYPE) IF_PFCG_ROLE=>TY_NODE_FIELD 20130404
6 Importing IV_NODENAME Call by reference Type reference (TYPE) IF_PFCG_ROLE=>TY_NODE_NAME 20130404
7 Importing IV_OPERATION Call by reference Type reference (TYPE) TY_NODE_ACTIVITY 20130404
8 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME 20130404
# Exception Resumable Description Created on
1 CX_PFCG_ROLE 20130404

Method CHECK_FIELD_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) SYMSG 20130404
2 Exporting EV_FIELD Call by reference Type reference (TYPE) FIELDNAME 20130404
3 Importing IS_AUTH_VALUE Call by reference Type reference (TYPE) CL_SPCG_TOOLS_PUBLIC=>TY_AUTH_VALUE 20130404
4 Importing IV_OBJECT Call by reference Type reference (TYPE) AGOBJECT 20130404

Method CHECK_FIELD_VALUE on class CL_SPCG_TOOLS has no exception.

Method CHECK_OBJECT_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) SYMSG 20130404
2 Exporting ES_OBJECT_FIELD Call by reference Type reference (TYPE) TY_OBJECT_FIELD 20130404
3 Importing IV_FIELD Call by reference Type reference (TYPE) AGRFIELD 20130404
4 Importing IV_OBJECT Call by reference Type reference (TYPE) AGOBJECT 20130404

Method CHECK_OBJECT_FIELD on class CL_SPCG_TOOLS has no exception.

Method CLEANUP Signature

Method CLEANUP on class CL_SPCG_TOOLS has no parameter.
Method CLEANUP on class CL_SPCG_TOOLS has no exception.

Method COMPARE_TABLES_WITH_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IT_DEL Call by reference Type reference (TYPE) STANDARD TABLE Zu löschende Einträge 20130404
2 Changing IT_INS Call by reference Type reference (TYPE) STANDARD TABLE Einzufügende Einträge 20130404
3 Importing IT_NEW Call by reference Type reference (TYPE) STANDARD TABLE Aktuelle Tabelle 20130404
4 Importing IT_OLD Call by reference Type reference (TYPE) STANDARD TABLE Before Image 20130404
5 Changing IT_UPD Call by reference Type reference (TYPE) STANDARD TABLE Zu modifizierende Einträge 20130404
6 Changing IT_UPD_BEFORE Call by reference Type reference (TYPE) STANDARD TABLE Orginal für modifizierende Einträge 20130404

Method COMPARE_TABLES_WITH_KEY on class CL_SPCG_TOOLS has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PFCG_ROLE Call by reference Type reference (TYPE) IF_PFCG_ROLE=>TT_PFCG_ROLE 20130404
2 Importing IV_ENQ_MODE Call by reference Type reference (TYPE) ENQMODE 'E' 20130404
3 Importing IV_ENQ_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE 3 20130404
4 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME 20130404

Method DEQUEUE on class CL_SPCG_TOOLS has no exception.

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PFCG_ROLE_NOT_LOCKED Call by reference Type reference (TYPE) TT_PFCG_ROLE_ERROR 20130404
2 Importing IT_PFCG_ROLE Call by reference Type reference (TYPE) IF_PFCG_ROLE=>TT_PFCG_ROLE 20130404
3 Importing IV_ENQ_MODE Call by reference Type reference (TYPE) ENQMODE 'E' 20130404
4 Importing IV_ENQ_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE 3 20130404

Method ENQUEUE on class CL_SPCG_TOOLS has no exception.

Method GET_NEW_PROF_TORSO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_TORSO Call by reference Type reference (TYPE) AGPROFILE 20130404

Method GET_NEW_PROF_TORSO on class CL_SPCG_TOOLS has no exception.

Method GET_OBJECT_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) SYMSG 20130404
2 Exporting ES_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20130404
3 Exporting ET_OBJECT_FIELD Call by reference Type reference (TYPE) TT_OBJECT_FIELD 20130404
4 Importing IV_OBJECT Call by reference Type reference (TYPE) AGOBJECT 20130404

Method GET_OBJECT_FIELDS on class CL_SPCG_TOOLS has no exception.

Method READ_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_OBJECT Call by reference Object reference (TYPE REF TO) TY_OBJECT 20130404
2 Importing IV_OBJECT Call by reference Type reference (TYPE) AGOBJECT 20130404

Method READ_OBJECT on class CL_SPCG_TOOLS has no exception.

Method TO_UPPER_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NAME Call by reference Type reference (TYPE) ANY 20130404

Method TO_UPPER_CASE on class CL_SPCG_TOOLS has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740