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 | ![]() |
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 | ![]() |
Constant | Public | Type reference (TYPE) | TY_NODE_ACTIVITY | 'C' | Insert Nodes | 20130404 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | TY_NODE_ACTIVITY | 'D' | Delete Node(s) | 20130404 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | TY_NODE_ACTIVITY | 'R' | Read Node | 20130404 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | TY_NODE_ACTIVITY | 'U' | Change Nodes | 20130404 | |
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_AUTHORITY_NODE | Checked authorizations | 20130404 | ||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_FIELD_INFO | DB: Field information | 20130404 | ||
7 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_OBJECT | DB: Object information | 20130404 | ||
8 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_OBJECT_FIELD | DB: Information - object, field | 20130404 | ||
9 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_USORG | DB: Organizational level information | 20130404 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Execute Authorization Check | 20130404 |
2 | ![]() |
Static method | Public | Method | Check: Values of an authorization | 20130404 |
3 | ![]() |
Static method | Public | Method | Check: Fields of an object | 20130404 |
4 | ![]() |
Static method | Public | Method | Transaction: Delete internal buffer | 20130404 |
5 | ![]() |
Static method | Public | Method | Compare two internal tables | 20130404 |
6 | ![]() |
Static method | Public | Method | Dequeue | 20130404 |
7 | ![]() |
Static method | Public | Method | Enqueue | 20130404 |
8 | ![]() |
Static method | Public | Method | Determine profile torso | 20130404 |
9 | ![]() |
Static method | Public | Method | Read fields of an authorization object | 20130404 |
10 | ![]() |
Static method | Private | Method | DB: Read object definition | 20130404 |
11 | ![]() |
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 | ![]() |
ES_MSG | Call by reference | Type reference (TYPE) | SYMSG | 20130404 | |||
2 | ![]() |
IV_AUTH_FIELD | Call by reference | Type reference (TYPE) | XUFIELD | 20130404 | |||
3 | ![]() |
IV_AUTH_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | 20130404 | |||
4 | ![]() |
IV_AUTH_VAL | Call by reference | Type reference (TYPE) | XUVAL | 20130404 | |||
5 | ![]() |
IV_FIELD | Call by reference | Type reference (TYPE) | IF_PFCG_ROLE=>TY_NODE_FIELD | 20130404 | |||
6 | ![]() |
IV_NODENAME | Call by reference | Type reference (TYPE) | IF_PFCG_ROLE=>TY_NODE_NAME | 20130404 | |||
7 | ![]() |
IV_OPERATION | Call by reference | Type reference (TYPE) | TY_NODE_ACTIVITY | 20130404 | |||
8 | ![]() |
IV_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | 20130404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130404 |
Method CHECK_FIELD_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_MSG | Call by reference | Type reference (TYPE) | SYMSG | 20130404 | |||
2 | ![]() |
EV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | 20130404 | |||
3 | ![]() |
IS_AUTH_VALUE | Call by reference | Type reference (TYPE) | CL_SPCG_TOOLS_PUBLIC=>TY_AUTH_VALUE | 20130404 | |||
4 | ![]() |
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 | ![]() |
ES_MSG | Call by reference | Type reference (TYPE) | SYMSG | 20130404 | |||
2 | ![]() |
ES_OBJECT_FIELD | Call by reference | Type reference (TYPE) | TY_OBJECT_FIELD | 20130404 | |||
3 | ![]() |
IV_FIELD | Call by reference | Type reference (TYPE) | AGRFIELD | 20130404 | |||
4 | ![]() |
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 | ![]() |
IT_DEL | Call by reference | Type reference (TYPE) | STANDARD TABLE | Zu löschende Einträge | 20130404 | ||
2 | ![]() |
IT_INS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Einzufügende Einträge | 20130404 | ||
3 | ![]() |
IT_NEW | Call by reference | Type reference (TYPE) | STANDARD TABLE | Aktuelle Tabelle | 20130404 | ||
4 | ![]() |
IT_OLD | Call by reference | Type reference (TYPE) | STANDARD TABLE | Before Image | 20130404 | ||
5 | ![]() |
IT_UPD | Call by reference | Type reference (TYPE) | STANDARD TABLE | Zu modifizierende Einträge | 20130404 | ||
6 | ![]() |
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 | ![]() |
IT_PFCG_ROLE | Call by reference | Type reference (TYPE) | IF_PFCG_ROLE=>TT_PFCG_ROLE | 20130404 | |||
2 | ![]() |
IV_ENQ_MODE | Call by reference | Type reference (TYPE) | ENQMODE | 'E' | 20130404 | ||
3 | ![]() |
IV_ENQ_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | 3 | 20130404 | ||
4 | ![]() |
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 | ![]() |
ET_PFCG_ROLE_NOT_LOCKED | Call by reference | Type reference (TYPE) | TT_PFCG_ROLE_ERROR | 20130404 | |||
2 | ![]() |
IT_PFCG_ROLE | Call by reference | Type reference (TYPE) | IF_PFCG_ROLE=>TT_PFCG_ROLE | 20130404 | |||
3 | ![]() |
IV_ENQ_MODE | Call by reference | Type reference (TYPE) | ENQMODE | 'E' | 20130404 | ||
4 | ![]() |
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 | ![]() |
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 | ![]() |
ES_MSG | Call by reference | Type reference (TYPE) | SYMSG | 20130404 | |||
2 | ![]() |
ES_OBJECT | Call by reference | Type reference (TYPE) | TY_OBJECT | 20130404 | |||
3 | ![]() |
ET_OBJECT_FIELD | Call by reference | Type reference (TYPE) | TT_OBJECT_FIELD | 20130404 | |||
4 | ![]() |
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 | ![]() |
ER_OBJECT | Call by reference | Object reference (TYPE REF TO) | TY_OBJECT | 20130404 | |||
2 | ![]() |
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 | ![]() |
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 |