SAP ABAP Class /BOBF/CL_LIB_AUTHORITY_CHECK (Default implementation of authority concept)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   AP-RC-BOF-RNT (Application Component) Business Object Processing Framework Runtime
     /BOBF/LIBRARY (Package) Business Object Processing Framework Library
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /BOBF/CL_FRW_AUTHORITY_CHECK Authority check superclass 20121022
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /BOBF/CL_TOOL_TEST_DOUBLE_AUTH Authority Check test double 20130606
Properties
Class /BOBF/CL_LIB_AUTHORITY_CHECK  
Short Description Default implementation of authority concept    
Super Class /BOBF/CL_FRW_AUTHORITY_CHECK Authority check superclass 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BOBF/LIBRARY   Business Object Processing Framework Library 
Created 20121022   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /BOBF/IF_FRW_CONFIGURATION Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class /BOBF/CL_LIB_AUTHORITY_CHECK has no interface implemented.
Friends
Class /BOBF/CL_LIB_AUTHORITY_CHECK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_CONF Instance attribute Protected Object reference (TYPE REF TO) /BOBF/IF_FRW_CONFIGURATION Interface for Configuration 20121024
2 MT_ASSOC_KEY Instance attribute Protected Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121108
3 MT_AUTHORITY_FIELD_ID Instance attribute Protected Type reference (TYPE) /BOBF/IF_FRW_CONFIGURATION=>GTT_AUTH_FIELD_ID 20121023
4 MT_AUTHORITY_FIELD_MAP Instance attribute Protected Type reference (TYPE) /BOBF/IF_FRW_CONFIGURATION=>GTT_AUTH_FIELD_MAP 20121023
5 MT_AUTHORITY_OBJECT Instance attribute Protected Type reference (TYPE) /BOBF/IF_FRW_CONFIGURATION=>GTT_AUTHORITY_OBJECT 20121023
6 MT_EQUI_GROUP_BUFFER Instance attribute Private Type reference (TYPE) GTT_EQUI_GROUP_BUFFER 20121023
7 MT_NODE_DATA Instance attribute Private Type reference (TYPE) GTT_NODE_DATA 20121108
8 MT_STATIC_BUFFER Instance attribute Private Type reference (TYPE) GTT_STATIC_BUFFER 20121023
9 MV_MAP_EXISTS_FOR_NODE Instance attribute Protected Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121108
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORITY_FOR_INSTANCE Instance method Private Method check authority for a single instance 20121031
2 CHECK_PROPAGATED_AUTHORITY Instance method Protected Method check propagated authority of superior nodes 20121107
3 CHECK_PROPAGATED_AUTH_STATIC Instance method Protected Method check propagated authority statically 20121109
4 CONSTRUCTOR Instance method Public Constructor 20121022
5 EXECUTE Instance method Protected Method actually execute the authority check statement 20121023
6 EXECUTE_STATICALLY Instance method Protected Method actually execute the authority check statement 20121023
7 MESSAGE_NO_AUTH Instance method Protected Method raise message for no authorization 20121024
8 NAVIGATE_TO_AUTHORITY_NODE Instance method Private Method navigate from requested node to authority node by 20121107
9 RETRIEVE_NODE_DATA Instance method Private Method Retrieve data for node instances and all relevant assocs 20121108
Events
Class /BOBF/CL_LIB_AUTHORITY_CHECK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTT_EQUI_GROUP_BUFFER Private See coding 20121023 gtt_equi_group_buffer TYPE SORTED TABLE OF gty_equi_group_buffer WITH UNIQUE KEY authority_check
2 GTT_NODE_DATA Private See coding 20121108 gtt_node_data TYPE SORTED TABLE OF gty_node_data WITH UNIQUE KEY association
3 GTT_STATIC_BUFFER Private See coding 20121023 gtt_static_buffer TYPE SORTED TABLE OF gty_static_buffer WITH UNIQUE KEY authority_check
4 GTY_AUTH_FIELD_VAL Protected See coding 20121023 gty_auth_field_val TYPE c LENGTH 40
5 GTY_EQUI_GROUP_BUFFER Private See coding 20121023 BEGIN OF gty_equi_group_buffer. TYPES failed TYPE boole_d. INCLUDE TYPE gty_instance_check_as_string AS authority_check. TYPES END OF gty_equi_group_buffer
6 GTY_INSTANCE_CHECK Protected See coding 20121023 BEGIN OF gty_instance_check. TYPES authority_object TYPE xuobject. TYPES activity TYPE activ_auth. TYPES bo_service TYPE /bobf/auth_service_name. TYPES field1 TYPE gty_auth_field_val. TYPES field2 TYPE gty_auth_field_val. TYPES field3 TYPE gty_auth_field_val. TYPES field4 TYPE gty_auth_field_val. TYPES field5 TYPE gty_auth_field_val. TYPES field6 TYPE gty_auth_field_val. TYPES field7 TYPE gty_auth_field_val. TYPES field8 TYPE gty_auth_field_val. TYPES END OF gty_instance_check
7 GTY_INSTANCE_CHECK_AS_STRING Private See coding 20121119 BEGIN OF gty_instance_check_as_string. TYPES authority_object TYPE xuobject. TYPES activity TYPE activ_auth. TYPES bo_service TYPE /bobf/auth_service_name. TYPES field1 TYPE string. TYPES field2 TYPE string. TYPES field3 TYPE string. TYPES field4 TYPE string. TYPES field5 TYPE string. TYPES field6 TYPE string. TYPES field7 TYPE string. TYPES field8 TYPE string. TYPES END OF gty_instance_check_as_string
8 GTY_NODE_DATA Private See coding 20121108 BEGIN OF gty_node_data. TYPES association TYPE /bobf/obm_assoc_key. TYPES t_key_link TYPE /bobf/t_frw_key_link. TYPES r_data TYPE REF TO data. TYPES END OF gty_node_data
9 GTY_STATIC_BUFFER Private See coding 20121023 BEGIN OF gty_static_buffer. TYPES failed TYPE boole_d. INCLUDE TYPE gty_static_check AS authority_check. TYPES END OF gty_static_buffer
10 GTY_STATIC_CHECK Protected See coding 20121023 BEGIN OF gty_static_check. TYPES authority_object TYPE xuobject. TYPES activity TYPE activ_auth. TYPES bo_service TYPE /bobf/auth_service_name. TYPES END OF gty_static_check
Method Signatures

Method CHECK_AUTHORITY_FOR_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Key Table 20121031
2 Importing IS_AUTHORITY_FIELD_ID Call by reference Type reference (TYPE) /BOBF/IF_FRW_CONFIGURATION=>GTY_AUTH_FIELD_ID 20121031
3 Importing IS_CTX Call by reference Type reference (TYPE) /BOBF/S_FRW_CTX_AUTH Context Information for Validations 20121031
4 Importing IT_NODE_DATA Call by reference Type reference (TYPE) GTT_NODE_DATA 20121108
5 Importing IV_AUTHORITY_OBJECT Call by reference Type reference (TYPE) XUOBJECT Authorization Object 20121031
6 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20121031

Method CHECK_AUTHORITY_FOR_INSTANCE on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method CHECK_PROPAGATED_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface of Message Object 20121107
2 Changing CT_FAILED_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121107
3 Importing IO_READ Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_READ Interface to Read Data 20121107
4 Importing IS_CTX Call by reference Type reference (TYPE) /BOBF/S_FRW_CTX_AUTH Context Information for Validations 20121107
5 Importing IT_KEY_LINK Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY_LINK Key Link 20121107
6 Importing IT_KEY_PROPAGATE Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121107
7 Importing IV_SEND_MESSAGES Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121107

Method CHECK_PROPAGATED_AUTHORITY on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method CHECK_PROPAGATED_AUTH_STATIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface of Message Object 20121109
2 Changing CV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121113
3 Importing IS_CTX Call by reference Type reference (TYPE) /BOBF/S_FRW_CTX_AUTH Context Information for Validations 20121109
4 Importing IV_SEND_MESSAGE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121109

Method CHECK_PROPAGATED_AUTH_STATIC on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FACTORY Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_AUTHORITY_FACTORY Authority factory 20121106
2 Importing IV_BO_KEY Call by reference Type reference (TYPE) /BOBF/OBM_BO_KEY Business Object 20121022
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20121022
# Exception Resumable Description Created on
1 /BOBF/CX_FRW BOPF Exception Class 20121022

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121023
2 Importing IS_AUTHORITY_CHECK Call by reference Type reference (TYPE) GTY_INSTANCE_CHECK 20121023
3 Importing IS_AUTHORITY_FIELD_ID Call by reference Type reference (TYPE) /BOBF/IF_FRW_CONFIGURATION=>GTY_AUTH_FIELD_ID 20121023

Method EXECUTE on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method EXECUTE_STATICALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121023
2 Importing IS_AUTHORITY_CHECK Call by reference Type reference (TYPE) GTY_STATIC_CHECK 20121023

Method EXECUTE_STATICALLY on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method MESSAGE_NO_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface of Message Object 20121024
2 Importing IS_CTX Call by reference Type reference (TYPE) /BOBF/S_FRW_CTX_AUTH Context Information for Validations 20121024
3 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY Node Key 20121031

Method MESSAGE_NO_AUTH on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method NAVIGATE_TO_AUTHORITY_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEY_LINK Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY_LINK Key Link 20121107
2 Exporting ET_TARGET_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121107
3 Importing IO_READ Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_READ Interface to Read Data 20121107
4 Importing IT_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121107
5 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20121107

Method NAVIGATE_TO_AUTHORITY_NODE on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.

Method RETRIEVE_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) GTT_NODE_DATA 20121108
2 Importing IO_READ Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_READ Interface to Read Data 20121108
3 Importing IT_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20121108
4 Importing IV_BEFORE_IMAGE Call by reference Type reference (TYPE) BOOLE_D 20121218

Method RETRIEVE_NODE_DATA on class /BOBF/CL_LIB_AUTHORITY_CHECK has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 747