SAP ABAP Class CL_GRRM_BOWTIE_XML (Bow Tie Builder XML data handling class)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_WD_BOWTIE (Package) Risk Management Bow Tie Builder
Properties
Class CL_GRRM_BOWTIE_XML  
Short Description Bow Tie Builder XML data handling class    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_WD_BOWTIE   Risk Management Bow Tie Builder 
Created 20091124   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)
2 GRFN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRRM_BOWTIE_XML has no interface implemented.
Friends
Class CL_GRRM_BOWTIE_XML has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ORGUNIT Instance attribute Private Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for orgunit list 20091124
2 MT_REGULATION Static Attribute Private Type reference (TYPE) GRFN_T_API_REGULATION_LIST Table type for regulation data 20140206
3 MT_RESPONSE Static Attribute Private Type reference (TYPE) GRRM_T_API_RESPONSE_LIST Response List 20140218
4 MT_RISK_CATEGORY Instance attribute Private Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20091124
5 MT_TREE_CONTROL Static Attribute Private Type reference (TYPE) T_CONTROL_BUFFER 20140206
Methods
# Method Level Visibility Method type Description Created on
1 COLLECT_ORGUNIT_CHILDREN Instance method Private Method Collects all children of an OrgUnit 20091124
2 COLLECT_RISK_CATEGORY_CHILDREN Instance method Private Method Collects all children of a risk category 20091124
3 CONVERT_ANALYSIS_FROM_XML Static method Public Method Converts XML-string into analysis data 20100203
4 CONVERT_ANALYSIS_TO_XML Static method Public Method Converts analysis data into XML-string 20100203
5 CONVERT_RISK_FROM_XML Static method Public Method Converts XML-string into risk data 20100201
6 CONVERT_RISK_TO_XML Static method Public Method Converts risk data into XML-string 20100201
7 GET_ACTIVITIES Static method Public Method Generates activity XML-string 20091127
8 GET_ANALYSES Static method Public Method Generates analyses XML-string 20100208
9 GET_ANALYSIS_CUST Static method Public Method Generates analysis customizing XML-string 20100210
10 GET_CONTROLS Static method Public Method Generates control XML-string 20100416
11 GET_DRIVER_CATEGORIES Static method Public Method Generates driver category XML-string 20091127
12 GET_IMPACT_CATEGORIES Static method Public Method Generates impact category XML-string 20091127
13 GET_ORGUNITS Static method Public Method Generates OrgUnit XML-string 20091124
14 GET_ORGUNIT_UOM Static method Public Method Generates all UOM definition for one OrgUnit as XML 20100209
15 GET_RESPONSES Static method Public Method Generates responses XML-string 20100226
16 GET_RISK_CATEGORIES Static method Public Method Generates risk category XML-string 20091124
Events
Class CL_GRRM_BOWTIE_XML has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_ANALYSES Private See coding 20100208 begin of s_analyses, parent_id type grfn_api_object_id, analysis_id type grfn_api_object_id, valid_from_date type d, valid_from_time type t, active type string, deletable type string, end of s_analyses
2 S_ANALYSIS Private See coding 20100203 begin of s_analysis, id type grfn_api_object_id, currency type grfn_currency, validfromdate type d, validfromtime type t, assessedby type grrm_assessed_by, editable type string, " profile impactreduction type string, probabilitymode type grrm_analysis_mode, speedofonset type string, impactmode type grrm_analysis_mode, scoredecimals type grfn_score_decimals, maxscore type grfn_score_max, " tables probabilities type hashed table of s_probability with unique key analysistype, assessments type hashed table of s_assessment with unique key analysistype impactrowindex impactcat, impactlevels type hashed table of s_impact with unique key analysistype, summaries type hashed table of s_summary with unique key analysistype, responses type hashed table of s_response with unique key responseid, mitigations type hashed table of s_mitigation with unique key responseid impactrowindex impactcat, uiattr type s_analysis_ui_attr, optional_analysis type s_optional_analysis, end of s_analysis
3 S_ANALYSIS_CUSTOMIZING Private See coding 20100210 begin of s_analysis_customizing, legacy_mode type string, prob_level type hashed table of s_cust_level with unique key key, impact_level type hashed table of s_cust_level with unique key key, risk_level type hashed table of s_risk_level with unique key key, speed_of_onset type hashed table of s_cust_level with unique key key, end of s_analysis_customizing
4 S_ANALYSIS_UI_ATTR Private See coding 20100225 begin of s_analysis_ui_attr, probabilitymode type grrm_probability_mode, impactmodes type hashed table of s_impact_mode with unique key impactcat impactmode, end of s_analysis_ui_attr
5 S_ASSESSMENT Private See coding 20100203 begin of s_assessment, analysistype type grrm_analysis_type, impactrowindex type sytabix, impacttxt type string, impactcat type grrm_impact_cat, impactscore type grfn_impact_score, qualimpact type grfn_impact_level, minquanimpact type grfn_amount, avgquanimpact type grfn_amount, maxquanimpact type grfn_amount, wtquanimpact type grfn_amount, analysismode type grrm_analysis_mode, monetaryimpact type grfn_amount, unitofmeasure type grfn_api_object_id, uomname type string, end of s_assessment
6 S_ATTRIBUTE Private See coding 20091126 begin of s_attribute, id type grfn_api_object_id, label type grfn_title, end of s_attribute
7 S_CATEGORY Private See coding 20091126 begin of s_category, id type c length 10, label type grfn_title, description type grfn_description, end of s_category
8 S_CLASSIFICATION Private See coding 20091126 begin of s_classification, id type sytabix, category type s_category, comment type string, end of s_classification
9 S_CONTROL Private See coding 20100420 begin of s_control, regulation_id type grfn_api_object_id, regulation_title type grfn_title, controls type grpc_t_api_control_list, end of s_control
10 S_CONTROL_BUFFER Private See coding 20140206 begin of s_control_buffer, regulation_id type grfn_api_object_id, regulation_title type grfn_title, controls type grpc_t_api_control_list, buffered type abap_bool, end of s_control_buffer
11 S_CUST_LEVEL Private See coding 20100504 begin of s_cust_level, key type string, name type string, end of s_cust_level
12 S_IMPACT Private See coding 20100210 begin of s_impact, analysistype type grrm_analysis_type, qualimpactid type grfn_impact_level, impactscore type grfn_impact_score, overwritten type string, qualimpact type grfn_imp_level_desc, end of s_impact
13 S_IMPACT_MODE Private See coding 20100225 begin of s_impact_mode, impactcat type grrm_impact_cat, impactmode type grrm_analysis_mode, text type string, end of s_impact_mode
14 S_MITIGATION Private See coding 20100504 begin of s_mitigation, responseid type grfn_api_object_id, qualimpact type grrm_analysis_qual_impact, quanimpact type grfn_amount, scoreimpact type grfn_impact_score, impactrowindex type sytabix, impacttext type string, impactcat type grrm_impact_cat, monetaryreduction type grfn_amount, mitigdisabled type grfn_boolean, end of s_mitigation
15 S_OPTIONAL_ANALYSIS Private See coding 20121112 begin of s_optional_analysis, "specify if the analysis type will be hidden planned type string, end of s_optional_analysis
16 S_ORGUNIT_CHILD Private See coding 20091124 begin of s_orgunit_child. include type s_attribute. types: t_child type ref to data, end of s_orgunit_child
17 S_PROBABILITY Private See coding 20100203 begin of s_probability, analysistype type grrm_analysis_type, probabilitymode type grrm_probability_mode, probabilitytext type grrm_probablity_text, probabilitylevel type grrm_probability_level_id, probability type grrm_analysis_probability, speedofonset type grrm_speed_of_onset, probabilityscore type grfn_probability_score, speedofonsetscore type grfn_speed_of_onset_score, end of s_probability
18 S_RESPONSE Private See coding 20100504 begin of s_response, responseid type grfn_api_object_id, effectiveness type grrm_response_effectiveness, completeness type grrm_response_completion, probability type grrm_analysis_probability, probabilitylevel type grrm_probability_level_id, probabilityscore type grfn_probability_score, qualreduction type grrm_analysis_qual_impact, quanreduction type grrm_analysis_quan_impact, scorereduction type grfn_impact_score, mitigdisabled type grfn_boolean, end of s_response
19 S_RISK Private See coding 20091125 begin of s_risk. include type s_attribute. types: validfrom type grfn_validfrom, validto type grfn_validto, comment type string, orgunit1 type s_attribute, orgunit2 type s_attribute, activity type s_attribute, category type s_attribute, template type s_attribute, impactlongtext type string, driverlongtext type string, drivers type sorted table of s_classification with unique key id category-id, impacts type sorted table of s_classification with unique key id category-id, end of s_risk
20 S_RISK_CATEGORY_CHILD Private See coding 20091124 begin of s_risk_category_child. include type s_attribute. types: assignable type string, t_child type ref to data, end of s_risk_category_child
21 S_RISK_LEVEL Private See coding 20100210 begin of s_risk_level, key type string, sort type string, name type string, color_code type string, end of s_risk_level
22 S_SUMMARY Private See coding 20100203 begin of s_summary, analysistype type grrm_analysis_type, currency type grfn_currency, expectedloss type grfn_amount, minquanimpact type grfn_amount, avgquanimpact type grfn_amount, maxquanimpact type grfn_amount, wtquanimpact type grfn_amount, riskscore type grfn_risk_score, risklevelid type grrm_risk_level_id, risklevel type grrm_risk_level, impactscore type grfn_impact_score, qualimpact type grfn_imp_level_desc, qualimpactid type grfn_impact_level, priority type grrm_priority, monetaryimpact type grfn_amount, end of s_summary
23 T_CONTROL Private See coding 20100420 t_control type standard table of s_control
24 T_CONTROL_BUFFER Private See coding 20140206 t_control_buffer type standard table of s_control_buffer
25 T_ORGUNIT_CHILD Private See coding 20091124 t_orgunit_child type sorted table of s_orgunit_child with unique key id
26 T_RISK_CATEGORY_CHILD Private See coding 20091124 t_risk_category_child type sorted table of s_risk_category_child with unique key id
Method Signatures

Method COLLECT_ORGUNIT_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RESULT Call by reference Type reference (TYPE) S_ORGUNIT_CHILD 20091124
2 Importing IV_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091124

Method COLLECT_ORGUNIT_CHILDREN on class CL_GRRM_BOWTIE_XML has no exception.

Method COLLECT_RISK_CATEGORY_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RESULT Call by reference Type reference (TYPE) S_RISK_CATEGORY_CHILD 20091124
2 Importing IV_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091124

Method COLLECT_RISK_CATEGORY_CHILDREN on class CL_GRRM_BOWTIE_XML has no exception.

Method CONVERT_ANALYSIS_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ANALYSIS_DATA Call by reference Type reference (TYPE) GRRM_S_API_ANALYSIS_DATA Analysis Data 20100210
2 Exporting ET_ANALYSIS_ASSESSMENT Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_ASSESSMENT Analysis_assessment 20100210
3 Exporting ET_ANALYSIS_IMPACT Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_IMPACT Analysis Impact (at risk level) 20100210
4 Exporting ET_ANALYSIS_MITIG Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_MITIG Analysis mitigation values 20100210
5 Exporting ET_ANALYSIS_PROBABILITY Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_PROBABILIT Analysis Probability 20100210
6 Exporting ET_ANALYSIS_RESPONSE Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_RESPONSE Analysis response API 20100210
7 Importing IV_XML Call by reference Type reference (TYPE) STRING 20100210

Method CONVERT_ANALYSIS_FROM_XML on class CL_GRRM_BOWTIE_XML has no exception.

Method CONVERT_ANALYSIS_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ANALYSIS_DATA Call by reference Type reference (TYPE) GRRM_S_API_ANALYSIS_DATA Analysis Data 20100203
2 Importing IT_ANALYSIS_ASSESSMENT Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_ASSESSMENT Analysis_assessment 20100203
3 Importing IT_ANALYSIS_IMPACT Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_IMPACT Analysis Impact (at risk level) 20100210
4 Importing IT_ANALYSIS_MITIG Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_MITIG Analysis mitigation values 20100203
5 Importing IT_ANALYSIS_PROBABILITY Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_PROBABILIT Analysis Probability 20100203
6 Importing IT_ANALYSIS_RESPONSE Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_RESPONSE Analysis response API 20100504
7 Importing IT_ANALYSIS_SUMMARY Call by reference Type reference (TYPE) GRRM_T_API_ANALYSIS_SUMMARY Analysis Summary 20100203
8 Importing IT_IMPACT_MODE Call by reference Type reference (TYPE) GRRM_T_IMPACT_MODE_LIST List of analysis modes per impact category 20100504
9 Importing IT_ORGUNIT_UOM Call by reference Type reference (TYPE) GRRM_T_API_ORGUNIT_UOM Table type for unit of measure 20100209
10 Importing IV_EDITABLE Call by reference Type reference (TYPE) GRFN_BOOLEAN Indicator 20100916
11 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100203

Method CONVERT_ANALYSIS_TO_XML on class CL_GRRM_BOWTIE_XML has no exception.

Method CONVERT_RISK_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DATA Call by reference Type reference (TYPE) GRRM_S_API_RISK_DATA API DATA STRUCTURE 20100201
2 Exporting ET_DRIVER Call by reference Type reference (TYPE) GRRM_T_API_DRIVER Driver 20100201
3 Exporting ET_IMPACT Call by reference Type reference (TYPE) GRRM_T_API_IMPACT Impact 20100201
4 Importing IV_XML Call by reference Type reference (TYPE) STRING 20100201

Method CONVERT_RISK_FROM_XML on class CL_GRRM_BOWTIE_XML has no exception.

Method CONVERT_RISK_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) GRRM_S_API_RISK_DATA API DATA STRUCTURE 20100201
2 Importing IT_DRIVER Call by reference Type reference (TYPE) GRRM_T_API_DRIVER Driver 20100201
3 Importing IT_IMPACT Call by reference Type reference (TYPE) GRRM_T_API_IMPACT Impact 20100201
4 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100201

Method CONVERT_RISK_TO_XML on class CL_GRRM_BOWTIE_XML has no exception.

Method GET_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091127
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091127
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091127

Method GET_ANALYSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100208
2 Importing IV_RISK_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100208
3 Importing IV_VIRTUAL_SLICE Call by reference Type reference (TYPE) GRFN_TIMESTAMP Time Stamp 20120113
4 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100208
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100226

Method GET_ANALYSIS_CUST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100210
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100210

Method GET_CONTROLS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100416
2 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100416
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100416
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100416

Method GET_DRIVER_CATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_XML Value transfer Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091127

Method GET_IMPACT_CATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_XML Value transfer Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091127

Method GET_ORGUNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091124
2 Importing IV_SECONDARY Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20091127
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091124

Method GET_ORGUNIT_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100209
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100209
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100226

Method GET_RESPONSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100226
2 Importing IV_RISK_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100226
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20100316
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100226

Method GET_RISK_CATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091124
2 Importing IV_ACTIVITY_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091124
3 Returning RV_XML Value transfer Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091124
History
Last changed by/on SAP  20141106 
SAP Release Created in 600