Hierarchy
⤷
⤷
Properties
| Class | CL_DPR_API_FAST_AUTHORIZATION | |
| Short Description | Read Authorizations directly from DB | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | DEVELOPMENT_PROJECTS_API | API for Project Management |
| Created | 20090129 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_DPR_API_FAST_AUTHORIZATION has no interface implemented.
Friends
Class CL_DPR_API_FAST_AUTHORIZATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | TT_ACLS_READ | Flags which ACLs are read per user | 20091020 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TT_ACO_HR_OBJECT | Buffer of ACLs for org units | 20091021 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TT_ACO_ROLE | Buffer of ACLs for roles | 20091021 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | DPR_TT_GUID | Buffer of guids for aco_role | 20130710 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TT_ACO_USER | Buffer of ACLs for users | 20091021 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_ACO_USER_GROUP | Buffer of ACLs for user groups | 20091020 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TT_AUTH_RESULT | Buffer for authorization results | 20090223 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | DPR_TT_API_CGPL_HIERARCHY | cgpl hierarchy table for direct DB read | 20091022 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TT_ORG_UNITS_OF_USER | Orgnizational Units per User | 20090129 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TT_ROLES_OF_USER | Roles per User | 20090129 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_SUBSTITUTIONS | Substitutions per user | 20090224 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TT_USER_GROUPS_OF_USER | User groups per user | 20090129 | |||
| 13 | Constant | Private | Type reference (TYPE) | CHAR1 | 'H' | Authorization holder type | 20090326 | ||
| 14 | Constant | Private | Type reference (TYPE) | CHAR1 | 'R' | Authorization holder type | 20090326 | ||
| 15 | Constant | Private | Type reference (TYPE) | CHAR1 | 'U' | Authorization holder type | 20090326 | ||
| 16 | Constant | Private | Type reference (TYPE) | CHAR1 | 'G' | Authorization holder type | 20090326 | ||
| 17 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_ACO_ORG_UNITS | BAdI Interface IF_EX_ACO_ORG_UNITS | 20090327 | |||
| 18 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_DPR_API_FAST_AUTHORIZATION | Singleton instance | 20090129 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | TT_AUTH_HOLDER_TYPES | Authoirzation holder types | 20090703 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | class constructor | 20090327 | |
| 2 | Instance method | Public | Constructor | Constructor | 20090331 | |
| 3 | Instance method | Private | Method | Get abbreviation of ACO auth holder type | 20090326 | |
| 4 | Instance method | Private | Method | buffer the found auth result also for the inherting children | 20090223 | |
| 5 | Instance method | Private | Method | get all the elements on the path to the root object | 20090302 | |
| 6 | Static method | Public | Method | get all the elements on the path to the root object | 20090223 | |
| 7 | Static method | Public | Method | Get instance of this singleton class | 20090129 | |
| 8 | Instance method | Private | Method | Get the local authorization fot the given holder type | 20090223 | |
| 9 | Instance method | Private | Method | Get the local authorization on org unit level | 20090129 | |
| 10 | Instance method | Private | Method | Get the local authorization on org unit level | 20090223 | |
| 11 | Instance method | Private | Method | Get the local authorization on user level | 20090129 | |
| 12 | Instance method | Private | Method | Get the local authorization on user group level | 20090129 | |
| 13 | Instance method | Private | Method | Get all org units the given user is assigned to | 20090129 | |
| 14 | Static method | Public | Method | get the guid of the root object | 20091022 | |
| 15 | Instance method | Private | Method | Get all org units the given user is assigned to | 20090129 | |
| 16 | Instance method | Private | Method | Get all users that are substituted by the given user | 20090223 | |
| 17 | Instance method | Private | Method | Get guids of the complete sub-tree | 20090331 | |
| 18 | Instance method | Private | Method | Get all usergroups the given usergroups are nested in | 20090129 | |
| 19 | Instance method | Private | Method | Get all user groups the given user is assigned to | 20090129 | |
| 20 | Instance method | Public | Method | Check if the user has the given authorization | 20090225 | |
| 21 | Instance method | Private | Method | check the authorization for one object and user | 20090129 | |
| 22 | Instance method | Public | Method | Check is if a user has super user rights | 20090223 | |
| 23 | Instance method | Private | Method | Is one activity inferior to another acttivity | 20090306 | |
| 24 | Instance method | Public | Method | Invalidate Authorization result buffer | 20090331 | |
| 25 | Instance method | Private | Method | Is one activity inferior to another acttivity | 20090129 | |
| 26 | Instance method | Private | Method | Is one activity inferior to another acttivity | 20090129 | |
| 27 | Instance method | Private | Event handling method | Event Handler CHANGED:IF_ACO_AUTHORIZATION | 20090331 | |
| 28 | Static method | Public | Method | Read Organizational Unit for User | 20090129 | |
| 29 | Static method | Private | Method | Read User Role | 20090129 |
Events
Class CL_DPR_API_FAST_AUTHORIZATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_ACLS_READ | Protected | See coding | 20091020 | tt_acls_read TYPE standard TABLE OF ty_acls_read
|
||
| 2 | TT_ACO_ACTVTS | Protected | See coding | 20090129 | tt_aco_actvts TYPE STANDARD TABLE OF aco_actvt
WITH NON-UNIQUE DEFAULT KEY
|
||
| 3 | TT_ACO_HR_OBJECT | Protected | See coding | 20091021 | tt_aco_hr_object type standard TABLE OF aco_hr_object
|
||
| 4 | TT_ACO_ROLE | Protected | See coding | 20091021 | tt_aco_role type standard TABLE OF aco_role
|
||
| 5 | TT_ACO_USER | Protected | See coding | 20091021 | tt_aco_user type standard TABLE OF aco_user
|
||
| 6 | TT_ACO_USER_GROUP | Protected | See coding | 20091020 | tt_aco_user_group type standard TABLE OF aco_user_group
|
||
| 7 | TT_AUTH_HOLDER_TYPES | Protected | See coding | 20090703 | tt_auth_holder_types TYPE TABLE OF aco_auth_holder_type
|
||
| 8 | TT_AUTH_RESULT | Protected | See coding | 20090223 | tt_auth_result TYPE HASHED TABLE OF ty_auth_result
WITH UNIQUE KEY primary_key
COMPONENTS user_id obj_guid
WITH NON-UNIQUE SORTED KEY obj_guid
COMPONENTS obj_guid
|
||
| 9 | TT_ORG_UNITS_OF_USER | Protected | See coding | 20090129 | tt_org_units_of_user TYPE HASHED TABLE OF ty_org_units_of_user
WITH UNIQUE KEY primary_key
COMPONENTS user_id
|
||
| 10 | TT_ROLES_OF_USER | Protected | See coding | 20090129 | tt_roles_of_user TYPE HASHED TABLE OF ty_roles_of_user
WITH UNIQUE KEY primary_key
COMPONENTS user_id
|
||
| 11 | TT_SUBSTITUTIONS | Protected | See coding | 20090224 | tt_substitutions TYPE HASHED TABLE OF ty_substitutions
WITH UNIQUE KEY user_id_subst
|
||
| 12 | TT_USER_GROUPS_OF_USER | Protected | See coding | 20090129 | tt_user_groups_of_user TYPE HASHED TABLE OF ty_user_groups_of_user
WITH UNIQUE KEY primary_key
COMPONENTS user_id
|
||
| 13 | TT_USER_OBJ_PAIRS | Protected | See coding | 20090224 | tt_user_obj_pairs TYPE STANDARD TABLE OF ty_user_obj_pair
WITH NON-UNIQUE DEFAULT KEY
|
||
| 14 | TY_ACLS_READ | Protected | See coding | 20091020 | BEGIN OF ty_acls_read,
user_id TYPE xubname, " User ACls are read for
user_acls TYPE abap_bool,
usergroup_acls TYPE abap_bool,
hr_object_acls TYPE abap_bool,
role_acls TYPE abap_bool, "
END OF ty_acls_read
|
||
| 15 | TY_AUTH_RESULT | Protected | See coding | 20090223 | BEGIN OF ty_auth_result,
user_id TYPE xubname,
obj_guid TYPE dpr_tv_guid,
obj_type TYPE cgpl_object_type,
activities TYPE tt_aco_actvts, " list of activities (most extensive ones)
** Abbreviation for authorization holder type the activities are assigned to
** Constants SC_AHT_* used as values
auth_holder_type TYPE char1, "
incomplete TYPE boolean, " true if not all activities are buffered
END OF ty_auth_result
|
||
| 16 | TY_ENTITY | Protected | See coding | 20090223 | BEGIN OF ty_entity,
guid TYPE guid,
obj_type TYPE cgpl_object_type,
up TYPE guid,
END OF ty_entity
|
||
| 17 | TY_ORG_UNITS_OF_USER | Protected | See coding | 20090129 | BEGIN OF ty_org_units_of_user,
user_id TYPE xubname,
org_units TYPE objec_t,
eval_path TYPE wegid,
END OF ty_org_units_of_user
|
||
| 18 | TY_ROLES_OF_USER | Protected | See coding | 20090129 | BEGIN OF ty_roles_of_user,
user_id TYPE xubname,
* roles type tt_str_agrs,
roles TYPE smum_agr_users,
END OF ty_roles_of_user
|
||
| 19 | TY_SUBSTITUTIONS | Protected | See coding | 20090224 | BEGIN OF ty_substitutions,
user_id_subst TYPE xubname, " User that is a substitute
user_obj_pairs TYPE tt_user_obj_pairs, "
END OF ty_substitutions
|
||
| 20 | TY_USER_GROUPS_OF_USER | Protected | See coding | 20090129 | BEGIN OF ty_user_groups_of_user,
user_id TYPE xubname,
user_groups TYPE aco_tt_user_group_id,
END OF ty_user_groups_of_user
|
||
| 21 | TY_USER_OBJ_PAIR | Protected | See coding | 20090224 | BEGIN OF ty_user_obj_pair,
user_id TYPE xubname, " The user that is substituted combined with
obj_guid TYPE dpr_tv_guid, " the object the substitution is valid for
END OF ty_user_obj_pair
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DPR_API_FAST_AUTHORIZATION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_DPR_API_FAST_AUTHORIZATION has no parameter.
Method CONSTRUCTOR on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method CONVERT_AUTH_HOLDER_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUTH_HOLDER_TYPE | Call by reference | Type reference (TYPE) | ACO_AUTH_HOLDER_TYPE | Type of "Authorization Object": User, User Group, ... | 20090326 | |||
| 2 | RV_ABBREVIATION | Value transfer | Type reference (TYPE) | CHAR1 | Values of constants SC_AHT_* | 20090326 |
Method CONVERT_AUTH_HOLDER_TYPE on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method FILL_RESULT_4_PASSED_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_AUTH_RESULT | Call by reference | Type reference (TYPE) | TY_AUTH_RESULT | 20090223 | ||||
| 2 | IT_PASSED_CHILDREN | Call by reference | Type reference (TYPE) | TT_AUTH_RESULT | List of passed children objects | 20090223 |
Method FILL_RESULT_4_PASSED_CHILDREN on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_HIERARCHY_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIERARCHY | Call by reference | Type reference (TYPE) | DPR_TT_API_CGPL_HIERARCHY | cgpl hierarchy table for direct DB read | 20090703 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20090302 | |||
| 3 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090302 |
Method GET_HIERARCHY_PATH on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_HIERARCHY_PATH_TO_TOP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20090223 | |||
| 2 | RT_HIERARCHY | Value transfer | Type reference (TYPE) | DPR_TT_API_CGPL_HIERARCHY | cgpl hierarchy table for direct DB read | 20090223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not contained in the cgpl_hierachy and cgpl_entity tables | 20090526 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_DPR_API_FAST_AUTHORIZATION | Read Authorizations directly from DB | 20090129 |
Method GET_INSTANCE on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_LOCAL_AUTH_FOR_HOLDER_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of activities | 20090223 | |||
| 2 | EV_HAS_CHECK_ACTVT | Call by reference | Type reference (TYPE) | BOOLEAN | TRUE if iv_check_only_actvt has been found | 20090318 | |||
| 3 | IT_SUPERIOR_CHECK_ACTVTS | Call by reference | Type reference (TYPE) | ACO_TT_ACTIVITY_UNSORTED | Superiror activities of the activity to check | 20090713 | |||
| 4 | IV_AUTH_HOLDER_TYPE | Call by reference | Type reference (TYPE) | ACO_AUTH_HOLDER_TYPE | Type of "Authorization Object": User, User Group, ... | 20090223 | |||
| 5 | IV_CHECK_ONLY_ACTVT | Call by reference | Type reference (TYPE) | ACO_ACTVT | Stop if this activity has been found | 20090318 | |||
| 6 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090223 | |||
| 7 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Unique Object Key | 20090223 | |||
| 8 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090223 |
Method GET_LOCAL_AUTH_FOR_HOLDER_TYPE on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_LOCAL_AUTH_FOR_ORG_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of activities | 20090129 | |||
| 2 | EV_HAS_CHECK_ACTVT | Call by reference | Type reference (TYPE) | BOOLEAN | TRUE if iv_check_only_actvt has been found | 20090318 | |||
| 3 | IT_SUPERIOR_CHECK_ACTVTS | Call by reference | Type reference (TYPE) | ACO_TT_ACTIVITY_UNSORTED | Superiror activities of the activity to check | 20090713 | |||
| 4 | IV_CHECK_ONLY_ACTVT | Call by reference | Type reference (TYPE) | ACO_ACTVT | '' | Stop if this activity has been found | 20090318 | ||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090129 | |||
| 6 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Unique Object Key | 20090129 | |||
| 7 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090129 |
Method GET_LOCAL_AUTH_FOR_ORG_UNIT on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_LOCAL_AUTH_FOR_ROLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of activities | 20090223 | |||
| 2 | EV_HAS_CHECK_ACTVT | Call by reference | Type reference (TYPE) | BOOLEAN | TRUE if iv_check_only_actvt has been found | 20090318 | |||
| 3 | IT_SUPERIOR_CHECK_ACTVTS | Call by reference | Type reference (TYPE) | ACO_TT_ACTIVITY_UNSORTED | Superiror activities of the activity to check | 20090713 | |||
| 4 | IV_CHECK_ONLY_ACTVT | Call by reference | Type reference (TYPE) | ACO_ACTVT | '' | Stop if this actvity has been found | 20090318 | ||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090223 | |||
| 6 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Unique Object Key | 20090223 | |||
| 7 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090223 |
Method GET_LOCAL_AUTH_FOR_ROLES on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_LOCAL_AUTH_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of Activities | 20090223 | |||
| 2 | EV_HAS_CHECK_ACTVT | Call by reference | Type reference (TYPE) | BOOLEAN | True if check_only_actvt has been found | 20090225 | |||
| 3 | IT_SUPERIOR_CHECK_ACTVTS | Call by reference | Type reference (TYPE) | ACO_TT_ACTIVITY_UNSORTED | Superiror activities of the activity to check | 20090713 | |||
| 4 | IV_CHECK_ONLY_ACTVT | Call by reference | Type reference (TYPE) | ACO_ACTVT | '' | Stop if this activity has been found | 20090225 | ||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090223 | |||
| 6 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Unique Object Key | 20090129 | |||
| 7 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090129 |
Method GET_LOCAL_AUTH_FOR_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_LOCAL_AUTH_FOR_USERGROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of activities | 20090223 | |||
| 2 | EV_HAS_CHECK_ACTVT | Call by reference | Type reference (TYPE) | BOOLEAN | TRUE if iv_check_only_actvt has been found | 20090318 | |||
| 3 | IT_SUPERIOR_CHECK_ACTVTS | Call by reference | Type reference (TYPE) | ACO_TT_ACTIVITY_UNSORTED | Superiror activities of the activity to check | 20090713 | |||
| 4 | IV_CHECK_ONLY_ACTVT | Call by reference | Type reference (TYPE) | ACO_ACTVT | '' | Stop if this activity has been found | 20090318 | ||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090223 | |||
| 6 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Unique Object Key | 20090129 | |||
| 7 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090129 |
Method GET_LOCAL_AUTH_FOR_USERGROUPS on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_ORG_UNITS_OF_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EVALUATION_PATH | Call by reference | Type reference (TYPE) | WEGID | Evaluation Path | 20090327 | |||
| 2 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090129 | |||
| 3 | RT_ORG_UNITS | Value transfer | Type reference (TYPE) | OBJEC_T | Org. Management: Table of Object Entries | 20090129 |
Method GET_ORG_UNITS_OF_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_PROJECT_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20091022 | |||
| 2 | RV_ROOT_GUID | Value transfer | Type reference (TYPE) | DPR_TV_GUID | GUID of root project | 20091022 |
Method GET_PROJECT_GUID on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_ROLES_OF_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090129 | |||
| 2 | RT_ROLES | Value transfer | Type reference (TYPE) | SMUM_AGR_USERS | Role Table Type | 20090129 |
Method GET_ROLES_OF_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_SUBSTITUTED_USERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJ_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20090223 | |||
| 2 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090223 | |||
| 3 | RT_USERS | Value transfer | Type reference (TYPE) | SPROUSER | List of users | 20090224 |
Method GET_SUBSTITUTED_USERS on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_SUB_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20090331 | |||
| 2 | RT_SUB_GUIDS | Value transfer | Type reference (TYPE) | DPR_TT_GUID | Guids of all sub-tree elements | 20090331 |
Method GET_SUB_HIERARCHY on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_USERGRPS_OF_USERGRPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_USER_GROUPS | Call by reference | Type reference (TYPE) | ACO_TT_USER_GROUP_ID | List of User Group IDs | 20090129 | |||
| 2 | RT_NESTED_USER_GROUPS | Value transfer | Type reference (TYPE) | ACO_TT_USER_GROUP_ID | List of User Group IDs | 20090129 |
Method GET_USERGRPS_OF_USERGRPS on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method GET_USER_GROUPS_OF_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090129 | |||
| 2 | RT_USER_GROUPS | Value transfer | Type reference (TYPE) | ACO_TT_USER_GROUP_ID | List of User Group IDs | 20090129 |
Method GET_USER_GROUPS_OF_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method HAS_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_OBJECT_HIERARCHY | Call by reference | Type reference (TYPE) | DPR_TT_API_CGPL_HIERARCHY | cgpl hierarchy table for direct DB read | 20090225 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090225 | |||
| 3 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_OBJECT_GUID_CHAR | Unique Object Key | 20090225 | |||
| 4 | IV_ROOT_GUID | Call by reference | Type reference (TYPE) | DPR_TV_OBJECT_GUID_CHAR | Unique Object Key | 20091023 | |||
| 5 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090225 | ||
| 6 | RV_HAS_AUTHORIZATION | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090225 |
Method HAS_AUTHORIZATION on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method HAS_AUTHORIZATION_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_HIERARCHY | Call by reference | Type reference (TYPE) | DPR_TT_API_CGPL_HIERARCHY | cgpl hierarchy table for direct DB read | 20090223 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090223 | |||
| 3 | IV_GUID | Call by reference | Type reference (TYPE) | DPR_TV_GUID | Application Object GUID | 20090223 | |||
| 4 | IV_STOP_IF_FOUND | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Stop search immediately when activity is found | 20090318 | ||
| 5 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20090223 | ||
| 6 | RV_HAS_AUTHORIZATION | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090223 |
Method HAS_AUTHORIZATION_INTERNAL on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method HAS_SUPER_RIGHTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090223 | |||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090223 | |||
| 3 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090223 | |||
| 4 | RV_HAS_SUPER_RIGHTS | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090223 |
Method HAS_SUPER_RIGHTS on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method INSERT_ACTIVITY_INTO_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of Activities for Authorization Check | 20090306 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090306 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090306 |
Method INSERT_ACTIVITY_INTO_LIST on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method INVALIDATE_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_GUIDS | Call by reference | Type reference (TYPE) | DPR_TT_GUID | Table Type for GUIDs | 20090331 |
Method INVALIDATE_BUFFER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method IS_ACTIVITY_CONTAINED_IN_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_POT_SUPERIOR_ACTIVITIES | Call by reference | Type reference (TYPE) | TT_ACO_ACTVTS | List of Activities for Authorization Check | 20090129 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090129 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090129 | |||
| 4 | RV_IS_CONTAINED | Value transfer | Type reference (TYPE) | BOOLEAN | Activity is contained in potentially superior activity | 20090129 |
Method IS_ACTIVITY_CONTAINED_IN_LIST on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method IS_ACTIVITY_SUBORDINATE_TO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090129 | |||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CGPL_OBJECT_TYPE | Object Type in Project Planning | 20090129 | |||
| 3 | IV_POT_SUPERIOR_ACTIVITY | Call by reference | Type reference (TYPE) | ACO_ACTVT | Activity for Authorization Check | 20090129 | |||
| 4 | RV_IS_CONTAINED | Value transfer | Type reference (TYPE) | BOOLEAN | Activity is contained in potentially superior activity | 20090129 |
Method IS_ACTIVITY_SUBORDINATE_TO on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method ON_AUTHORIZATION_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_AUTHORIZATION | Call by reference | Attribute reference (LIKE) | 20090331 |
Method ON_AUTHORIZATION_CHANGED on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method READ_ORG_UNITS_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EVALUATION_PATH | Call by reference | Type reference (TYPE) | WEGID | Evaluation Path | 20090129 | |||
| 2 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090129 | |||
| 3 | RT_RESULT_OBJEC | Value transfer | Type reference (TYPE) | OBJEC_T | Org. Management: Table of Object Entries | 20090129 |
Method READ_ORG_UNITS_FOR_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
Method READ_ROLES_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | User Name in User Master Record | 20090129 | |||
| 2 | RT_ROLES | Value transfer | Type reference (TYPE) | SMUM_AGR_USERS | Role Table Type | 20090129 |
Method READ_ROLES_FOR_USER on class CL_DPR_API_FAST_AUTHORIZATION has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 500_702 |