SAP ABAP Class CL_RS2HANA_VIEW_CALC (SAP HANA Calculation View)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-WHM-MTD-HMOD (Application Component) HANA Model Generation in BW
⤷ RS2HANA_VIEW (Package) SAP HANA Views for BW Objects
⤷ BW-WHM-MTD-HMOD (Application Component) HANA Model Generation in BW
⤷ RS2HANA_VIEW (Package) SAP HANA Views for BW Objects
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_RS2HANA_VIEW_INFOMODEL | SAP HANA Info Model | 20130417 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_RS2HANA_VIEW_CALC_HCPR | SAP HANA Calculation View for CompositeProvider | 20130501 |
Properties
Class | CL_RS2HANA_VIEW_CALC | |
Short Description | SAP HANA Calculation View | |
Super Class | CL_RS2HANA_VIEW_INFOMODEL | SAP HANA Info Model |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RS2HANA_VIEW | SAP HANA Views for BW Objects |
Created | 20130417 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_RS2HANA_VIEW_CALC has no forward declaration.
Interfaces
Class CL_RS2HANA_VIEW_CALC has no interface implemented.
Friends
Class CL_RS2HANA_VIEW_CALC has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CN_S_CALC_SCENARIO_TYPES | Constant | Public | See coding | 20130417 | ||||
2 | CN_S_CALC_VIEW_TYPE | Constant | Public | See coding | 20130417 | ||||
3 | CN_S_DATA_SOURCE_TYPE | Constant | Public | See coding | 20130422 | ||||
4 | CN_S_EXECUTION_SEMANTIC | Constant | Public | See coding | 20130417 | ||||
5 | CN_S_VIEW_TYPE | Constant | Public | See coding | 20130912 | ||||
6 | CP_S_XML_ELEMENTS | Constant | Private | See coding | 20130523 | ||||
7 | P_S_CALCVIEW | Instance attribute | Private | Type reference (TYPE) | NT_S_CALCVIEW | 20130423 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | FACTORY | Static method | Public | Method | 20130501 | |
2 | GET_CALCVIEW | Instance method | Public | Method | 20130423 | |
3 | _GET_CALC_SCENARIO_TYPE | Instance method | Protected | Method | 20130423 | |
4 | _GET_DATA_SOURCES | Instance method | Protected | Method | 20130423 | |
5 | _GET_JOIN_VIEWS | Instance method | Protected | Method | 20130507 | |
6 | _GET_LOGICAL_MODEL | Instance method | Protected | Method | 20130507 | |
7 | _GET_UNION_VIEWS | Instance method | Protected | Method | 20130507 |
Events
Class CL_RS2HANA_VIEW_CALC has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | NT_S_ABSTR_ATTR_MAPPING | Public | See coding | 20130417 | BEGIN OF nt_s_abstr_attr_mapping,
target TYPE string,
END OF nt_s_abstr_attr_mapping
|
||
2 | NT_S_AGGR_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_aggr_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
END OF nt_s_aggr_view
|
||
3 | NT_S_ATTR_MAPPING | Public | See coding | 20130417 | BEGIN OF nt_s_attr_mapping.
INCLUDE TYPE nt_s_abstr_attr_mapping AS s_abstr_attr_mapping.
TYPES:
source TYPE string,
END OF nt_s_attr_mapping
|
||
4 | NT_S_CALCVIEW | Public | See coding | 20130417 | BEGIN OF nt_s_calcview.
INCLUDE TYPE nt_s_information_model AS s_info_model.
TYPES:
ts_data_sources TYPE nt_ts_data_sources,
* ts_projection_views TYPE nt_ts_projection_views,
* ts_join_views TYPE nt_ts_join_views,
* ts_union_views TYPE nt_ts_union_views,
* ts_sql_script_views TYPE nt_ts_sql_script_views,
* ts_l_script_views TYPE nt_ts_l_script_views,
* ts_aggr_views TYPE nt_ts_aggr_views,
ts_views TYPE nt_ts_views,
s_logical_model TYPE cl_rs2hana_view_measure_group=>nt_s_measure_group,
calculation_scenario_type TYPE string,
run_with_invoker_privileges TYPE nt_xml_bool,
script_param_case_sensitive TYPE nt_xml_bool,
count_star_attribute_name TYPE string,
execution_semantic TYPE string,
enforce_sql_execution TYPE nt_xml_bool,
output_view_type TYPE string,
END OF nt_s_calcview
|
||
5 | NT_S_CALC_VIEW | Public | See coding | 20130417 | BEGIN OF nt_s_calc_view,
s_node TYPE nt_s_node,
ts_input TYPE nt_ts_inputs,
filter TYPE string,
default_view TYPE nt_xml_bool,
END OF nt_s_calc_view
|
||
6 | NT_S_CALC_VIEW_ATTRIBUTE | Public | See coding | 20130417 | BEGIN OF nt_s_calc_view_attribute.
INCLUDE TYPE nt_s_view_attribute AS s_view_attribute.
TYPES:
formula TYPE string,
END OF nt_s_calc_view_attribute
|
||
7 | NT_S_CONST_ATTR_MAPPING | Public | See coding | 20130417 | BEGIN OF nt_s_const_attr_mapping.
INCLUDE TYPE nt_s_abstr_attr_mapping AS s_abstr_attr_mapping.
TYPES:
value TYPE string,
null TYPE nt_xml_bool,
END OF nt_s_const_attr_mapping
|
||
8 | NT_S_DATA_SOURCE | Public | See coding | 20130417 | BEGIN OF nt_s_data_source,
s_node TYPE nt_s_node,
column_object TYPE nt_s_column_object,
type TYPE string,
END OF nt_s_data_source
|
||
9 | NT_S_INPUT | Public | See coding | 20130417 | BEGIN OF nt_s_input,
ts_attr_mappings TYPE nt_ts_attr_mappings,
ts_const_attr_mappings TYPE nt_ts_const_attr_mappings,
order TYPE i, "to internally sort the inputs because with text join the second input is the text table
node TYPE c LENGTH 60,
* map_all TYPE nt_xml_bool,
END OF nt_s_input
|
||
10 | NT_S_JOIN_ATTR | Public | See coding | 20130419 | BEGIN OF nt_s_join_attr,
name TYPE string,
END OF nt_s_join_attr
|
||
11 | NT_S_JOIN_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_join_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
join_type TYPE string,
cardinality TYPE string,
language_column TYPE string,
ts_join_attr TYPE nt_ts_join_attr,
optimize_Join_Columns type nt_xml_bool,
END OF nt_s_join_view
|
||
12 | NT_S_LOGICAL_MODEL | Public | See coding | 20130507 | BEGIN OF nt_s_logical_model,
id TYPE string,
ts_attr TYPE cl_rs2hana_view_logical_object=>nt_ts_attr,
ts_base_measures TYPE cl_rs2hana_view_measure_group=>nt_ts_base_measures,
ts_calc_measures TYPE cl_rs2hana_view_measure_group=>nt_ts_calc_measures,
END OF nt_s_logical_model
|
||
13 | NT_S_L_SCRIPT_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_l_script_view.
INCLUDE TYPE nt_s_script_view AS s_script_view.
TYPES:
END OF nt_s_l_script_view
|
||
14 | NT_S_NODE | Public | See coding | 20130417 | BEGIN OF nt_s_node,
id TYPE string,
s_description TYPE nt_s_descriptions,
s_view_attributes TYPE nt_s_view_attributes,
ts_calc_view_attr TYPE nt_ts_calc_view_attributes,
END OF nt_s_node
|
||
15 | NT_S_PROJECTION_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_projection_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
END OF nt_s_projection_view
|
||
16 | NT_S_SCRIPT_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_script_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
definition TYPE string,
END OF nt_s_script_view
|
||
17 | NT_S_SQL_SCRIPT_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_sql_script_view.
INCLUDE TYPE nt_s_script_view AS s_script_view.
TYPES:
END OF nt_s_sql_script_view
|
||
18 | NT_S_UNION_VIEW | Public | See coding | 20130419 | BEGIN OF nt_s_union_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
END OF nt_s_union_view
|
||
19 | NT_S_VIEW | Public | See coding | 20130912 | BEGIN OF nt_s_view.
INCLUDE TYPE nt_s_calc_view AS s_calc_view.
TYPES:
view_type TYPE string,
"join
join_type TYPE string,
cardinality TYPE string,
language_column TYPE string,
ts_join_attr TYPE nt_ts_join_attr,
optimize_Join_Columns type nt_xml_bool,
"script
definition TYPE string,
END OF nt_s_view
|
||
20 | NT_S_VIEW_ATTRIBUTE | Public | See coding | 20130417 | BEGIN OF nt_s_view_attribute,
s_filter TYPE nt_s_single_value_filter,
id TYPE string,
* is_measure TYPE nt_xml_bool,
aggregation_type TYPE string,
order TYPE i,
* keep_flag TYPE nt_xml_bool,
datatype TYPE string,
length TYPE i,
scale TYPE i,
END OF nt_s_view_attribute
|
||
21 | NT_S_VIEW_ATTRIBUTES | Public | See coding | 20130417 | BEGIN OF nt_s_view_attributes,
all_view_attributes TYPE nt_xml_bool,
ts_view_attr TYPE nt_ts_view_attributes,
END OF nt_s_view_attributes
|
||
22 | NT_TS_AGGR_VIEWS | Public | See coding | 20130419 | nt_ts_aggr_views TYPE SORTED TABLE OF nt_s_aggr_view WITH UNIQUE KEY s_calc_view-s_node-id
|
||
23 | NT_TS_ATTR_MAPPINGS | Public | See coding | 20130417 | nt_ts_attr_mappings TYPE SORTED TABLE OF nt_s_attr_mapping WITH UNIQUE KEY source target
|
||
24 | NT_TS_CALC_VIEWS | Public | See coding | 20130417 | nt_ts_calc_views TYPE SORTED TABLE OF nt_s_calc_view WITH UNIQUE KEY s_node-id
|
||
25 | NT_TS_CALC_VIEW_ATTRIBUTES | Public | See coding | 20130417 | nt_ts_calc_view_attributes TYPE SORTED TABLE OF nt_s_calc_view_attribute WITH UNIQUE KEY id
|
||
26 | NT_TS_CONST_ATTR_MAPPINGS | Public | See coding | 20130417 | nt_ts_const_attr_mappings TYPE SORTED TABLE OF nt_s_const_attr_mapping WITH UNIQUE KEY target
|
||
27 | NT_TS_DATA_SOURCES | Public | See coding | 20130417 | nt_ts_data_sources TYPE SORTED TABLE OF nt_s_data_source WITH UNIQUE KEY s_node-id
|
||
28 | NT_TS_INPUTS | Public | See coding | 20130419 | nt_ts_inputs TYPE SORTED TABLE OF nt_s_input WITH NON-UNIQUE KEY order
|
||
29 | NT_TS_JOIN_ATTR | Public | See coding | 20130419 | nt_ts_join_attr TYPE SORTED TABLE OF nt_s_join_attr WITH UNIQUE KEY name
|
||
30 | NT_TS_JOIN_VIEWS | Public | See coding | 20130419 | nt_ts_join_views TYPE SORTED TABLE OF nt_s_join_view WITH UNIQUE KEY s_calc_view-s_node-id
|
||
31 | NT_TS_L_SCRIPT_VIEWS | Public | See coding | 20130419 | nt_ts_l_script_views TYPE SORTED TABLE OF nt_s_l_script_view WITH UNIQUE KEY s_script_view-s_calc_view-s_node-id
|
||
32 | NT_TS_PROJECTION_VIEWS | Public | See coding | 20130419 | nt_ts_projection_views TYPE SORTED TABLE OF nt_s_projection_view WITH UNIQUE KEY s_calc_view-s_node-id
|
||
33 | NT_TS_SQL_SCRIPT_VIEWS | Public | See coding | 20130419 | nt_ts_sql_script_views TYPE SORTED TABLE OF nt_s_sql_script_view WITH UNIQUE KEY s_script_view-s_calc_view-s_node-id
|
||
34 | NT_TS_UNION_VIEWS | Public | See coding | 20130419 | nt_ts_union_views TYPE SORTED TABLE OF nt_s_union_view WITH UNIQUE KEY s_calc_view-s_node-id
|
||
35 | NT_TS_VIEWS | Public | See coding | 20130912 | nt_ts_views TYPE SORTED TABLE OF nt_s_view WITH UNIQUE KEY s_calc_view-s_node-id
|
||
36 | NT_TS_VIEW_ATTRIBUTES | Public | See coding | 20130417 | nt_ts_view_attributes TYPE SORTED TABLE OF nt_s_view_attribute WITH UNIQUE KEY id
|
Method Signatures
Method FACTORY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_OBJNM | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130501 | ||
2 | Returning | R_R_CALCVIEW | Value transfer | Object reference (TYPE REF TO) | CL_RS2HANA_VIEW_CALC | HANA Calculation View | 20130501 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | Error during construction of BW Object for HANA View | 20130501 |
Method GET_CALCVIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_S_CALCVIEW | Call by reference | Type reference (TYPE) | NT_S_CALCVIEW | 20130423 | |||
2 | Exporting | E_T_RSMSG | Call by reference | Type reference (TYPE) | RS_T_MSG | 20130423 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | Error during construction of BW Object for HANA View | 20130501 |
Method _GET_CALC_SCENARIO_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_CALC_SCENARIO_TYPE | Value transfer | Type reference (TYPE) | STRING | 20130423 |
Method _GET_CALC_SCENARIO_TYPE on class CL_RS2HANA_VIEW_CALC has no exception.
Method _GET_DATA_SOURCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TS_DATA_SOURCES | Call by reference | Type reference (TYPE) | NT_TS_DATA_SOURCES | 20130423 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | Error during construction of BW Object for HANA View | 20130501 |
Method _GET_JOIN_VIEWS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TS_JOIN_VIEWS | Call by reference | Type reference (TYPE) | NT_TS_JOIN_VIEWS | 20130507 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | 20130507 |
Method _GET_LOGICAL_MODEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_S_LOGICAL_MODEL | Call by reference | Type reference (TYPE) | NT_S_LOGICAL_MODEL | 20130507 | |||
2 | Exporting | E_T_RSMSG | Call by reference | Type reference (TYPE) | RS_T_MSG | 20130507 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | 20130507 |
Method _GET_UNION_VIEWS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TS_UNION_VIEWS | Call by reference | Type reference (TYPE) | NT_TS_UNION_VIEWS | 20130507 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RS2HANA_VIEW_OBJ | 20130507 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |