SAP ABAP Class CL_GRFN_SR_BRR_DATA (Data Provider for Board Risk Report)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_ODATA_SMART_REPORTS (Package) Smart Reports App OData Services
Properties
Class CL_GRFN_SR_BRR_DATA  
Short Description Data Provider for Board Risk Report    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_ODATA_SMART_REPORTS   Smart Reports App OData Services 
Created 20140228   SAP 
Last change 20141106    
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_GRFN_SR_BRR_DATA has no interface implemented.
Friends
Class CL_GRFN_SR_BRR_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FILTER_COUNTRYCODE Constant Private Type reference (TYPE) STRING 'CountryCode' 20140228
2 C_FILTER_REGIONCODE Constant Private Type reference (TYPE) STRING 'RegionCode' 20140228
3 C_OTYPE_ACTIVITY Constant Private Type reference (TYPE) OTYPE 'OE' Object Type 20140228
4 C_OTYPE_ORGUNIT Constant Private Type reference (TYPE) OTYPE 'O' Object Type 20140228
5 C_OTYPE_RISK Constant Private Type reference (TYPE) OTYPE 'OF' Object Type 20140228
6 GT_PARENT_BUFFER Static Attribute Private Type reference (TYPE) TT_PARENT 20140228
7 GT_ROLE_ACTIVITY Static Attribute Private Type reference (TYPE) GRFN_T_ENTITY_ROLE Table of entity - role relationships 20140228
8 GT_ROLE_ORGUNIT Static Attribute Private Type reference (TYPE) GRFN_T_ENTITY_ROLE Table of entity - role relationships 20140228
9 GT_USER_BUFFER Static Attribute Private Type reference (TYPE) TT_USER 20140228
10 GV_PLAN_VERSION Static Attribute Private Type reference (TYPE) PLVAR Plan Version 20140228
11 GV_RELEVANT_ROLES_LOADED Static Attribute Private Type reference (TYPE) GRFN_BOOLEAN ABAP_FALSE Indicator 20140228
12 GV_RISK_OWNER_ROLE Static Attribute Private Type reference (TYPE) AGR_NAME Role Name 20140228
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20140228
2 CREATE_NOTE Static method Public Method 20140228
3 DELETE_CACHE Static method Public Method 20140228
4 FETCH_RISK Static method Public Method Read single risk including authorization 20140228
5 GET_ACTIVITY_ID Static method Private Method 20140228
6 GET_ASSIGNED_USERS Static method Private Method 20140228
7 GET_INHERITED_USERS Static method Private Method 20140228
8 GET_ORGUNIT_ID Static method Private Method 20140228
9 INITIAL_FULL_LOAD Static method Private Method Read all the risks in the system (without authority check) 20140228
10 LOAD_RELEVANT_ROLES Static method Private Method 20140228
11 QUERY_ASSIGNED_USERS Static method Private Method 20140228
12 QUERY_ATTACHMENTS Static method Public Method 20140228
13 QUERY_NOTES Static method Public Method 20140228
14 QUERY_RESPONSES Static method Public Method 20140228
15 QUERY_RISKS Static method Public Method 20140228
16 RETRIEVE_ASSIGNED_USERS Static method Public Method 20140228
17 RETRIEVE_ATTACHMENT_CREATED_BY Static method Public Method 20140228
18 RETRIEVE_NOTE_CREATED_BY Static method Public Method 20140228
19 RETRIEVE_PERSON_RESPONSIBLE Static method Public Method 20140228
20 RETRIEVE_RESPONSE_OWNER Static method Public Method 20140228
21 RETRIEVE_RISK_CHANGED_BY Static method Public Method 20140228
Events
Class CL_GRFN_SR_BRR_DATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_ORGUNIT_LOCATION Private See coding 20140228 begin of ts_orgunit_location, id type grfn_api_object_id, country type grfn_orgunit_country, region type grfn_orgunit_region, end of ts_orgunit_location
2 TS_PARENT Private See coding 20140228 begin of ts_parent, objecttype type otype, objectid type hrobjid, parenttype type otype, parentid type hrobjid, end of ts_parent
3 TS_TRACKING Private See coding 20140228 begin of ts_tracking, objectid type grfn_api_object_id, timestamp type grfn_timestamp, end of ts_tracking
4 TS_USER Private See coding 20140228 begin of ts_user, objecttype type otype, objectid type hrobjid, role type agr_name, users type tt_uname, end of ts_user
5 TT_ORGUNIT_LOCATION Private See coding 20140228 tt_orgunit_location type hashed table of ts_orgunit_location with unique key id
6 TT_PARENT Private See coding 20140228 tt_parent type hashed table of ts_parent with unique key objecttype objectid
7 TT_TRACKING Private See coding 20140228 tt_tracking type hashed table of ts_tracking with unique key objectid
8 TT_UNAME Private See coding 20140228 tt_uname type sorted table of uname with unique key table_line
9 TT_USER Private See coding 20140228 tt_user type hashed table of ts_user with unique key objecttype objectid role
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GRFN_SR_BRR_DATA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRFN_SR_BRR_DATA has no exception.

Method CREATE_NOTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IS_PRIVATE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20140228
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
3 Importing IV_TEXT Call by reference Type reference (TYPE) STRING String 20140228
4 Returning RS_NOTE Value transfer Type reference (TYPE) GRFN_S_OD_NOTE OData Note 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method DELETE_CACHE Signature

Method DELETE_CACHE on class CL_GRFN_SR_BRR_DATA has no parameter.
Method DELETE_CACHE on class CL_GRFN_SR_BRR_DATA has no exception.

Method FETCH_RISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_RISK Value transfer Type reference (TYPE) GRFNSRBRRBUFFER BRR buffer 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method GET_ACTIVITY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RISK_ID Call by reference Type reference (TYPE) HROBJID Object ID 20140228
2 Returning RV_ACTIVITY_ID Value transfer Type reference (TYPE) HROBJID Object ID 20140228

Method GET_ACTIVITY_ID on class CL_GRFN_SR_BRR_DATA has no exception.

Method GET_ASSIGNED_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) TT_UNAME Users 20140228
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) HROBJID Object ID 20140228
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) OTYPE Object Type 20140228
4 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20140228

Method GET_ASSIGNED_USERS on class CL_GRFN_SR_BRR_DATA has no exception.

Method GET_INHERITED_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) TT_UNAME Users 20140228
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) HROBJID Object ID 20140228
3 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20140228

Method GET_INHERITED_USERS on class CL_GRFN_SR_BRR_DATA has no exception.

Method GET_ORGUNIT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) HROBJID Object ID 20140228
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) OTYPE Object Type 20140228
3 Returning RV_ORGUNIT_ID Value transfer Type reference (TYPE) HROBJID Object ID 20140228

Method GET_ORGUNIT_ID on class CL_GRFN_SR_BRR_DATA has no exception.

Method INITIAL_FULL_LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK Call by reference Type reference (TYPE) GRFN_T_SR_RISK_BUFFER Risks Buffer 20140228
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method LOAD_RELEVANT_ROLES Signature

Method LOAD_RELEVANT_ROLES on class CL_GRFN_SR_BRR_DATA has no parameter.
Method LOAD_RELEVANT_ROLES on class CL_GRFN_SR_BRR_DATA has no exception.

Method QUERY_ASSIGNED_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) TT_UNAME Users 20140228
2 Importing IV_RISK_ID Call by reference Type reference (TYPE) HROBJID Object ID 20140228
3 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20140228

Method QUERY_ASSIGNED_USERS on class CL_GRFN_SR_BRR_DATA has no exception.

Method QUERY_ATTACHMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTACHMENT Call by reference Type reference (TYPE) GRFN_T_OD_ATTACHMENT Attachments 20140228
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method QUERY_NOTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NOTE Call by reference Type reference (TYPE) GRFN_T_OD_NOTE Notes 20140228
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method QUERY_RESPONSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESPONSE Call by reference Type reference (TYPE) GRFN_T_OD_RESPONSE OData Responses 20140228
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method QUERY_RISKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK Call by reference Type reference (TYPE) GRFN_T_SR_RISK_BUFFER Risks Buffer 20140228
2 Importing IT_FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20140228
3 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method RETRIEVE_ASSIGNED_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) GRFN_T_OD_USER OData Users 20140228
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
3 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20140228

Method RETRIEVE_ASSIGNED_USERS on class CL_GRFN_SR_BRR_DATA has no exception.

Method RETRIEVE_ATTACHMENT_CREATED_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ATTACHMENTID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_USER Value transfer Type reference (TYPE) GRFN_S_OD_USER OData User 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method RETRIEVE_NOTE_CREATED_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NOTEID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_USER Value transfer Type reference (TYPE) GRFN_S_OD_USER OData User 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method RETRIEVE_PERSON_RESPONSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_USER Value transfer Type reference (TYPE) GRFN_S_OD_USER OData User 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method RETRIEVE_RESPONSE_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESPONSEID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_USER Value transfer Type reference (TYPE) GRFN_S_OD_USER OData User 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228

Method RETRIEVE_RISK_CHANGED_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RISKID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20140228
2 Returning RS_USER Value transfer Type reference (TYPE) GRFN_S_OD_USER OData User 20140228
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20140228
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100