SAP ABAP Class CL_BSCL_HDBR_CALC_VIEW (HDB Repository Object Calculation View)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷ CA-CL (Application Component) Classification
⤷ BSCL_VIEW_KIT (Package) Classification: Tools for view generation
⤷ CA-CL (Application Component) Classification
⤷ BSCL_VIEW_KIT (Package) Classification: Tools for view generation
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_BSCL_HDBR_OBJECT | Abstraction for HDB Repository Object | 20130128 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BSCL_HDBR_ACCESS_CONSTANTS | HDB Repository Access | 20130125 |
3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BSCL_HDBR_TYPES | Types of HDBR access | 20130125 |
4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BSCL_SQL_STATEMNT_CONSTANTS | General SQL behavior | 20130125 |
Properties
Class | CL_BSCL_HDBR_CALC_VIEW | |
Short Description | HDB Repository Object Calculation View | |
Super Class | CL_BSCL_HDBR_OBJECT | Abstraction for HDB Repository Object |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | BSCL_VIEW_KIT | Classification: Tools for view generation |
Created | 20130117 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | IF_BSCL_HDBR_NHI_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
2 | IF_BSCL_HDBR_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_BSCL_HDBR_ACCESS_CONSTANTS | HDB Repository Access | 20130125 | ||
2 | IF_BSCL_HDBR_TYPES | Types of HDBR access | 20130125 | ||
3 | IF_BSCL_SQL_STATEMNT_CONSTANTS | General SQL behavior | 20130125 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_BSCL_HDBR_OBJECT_FACTORY | 20130117 | Provides Access to HDB repository objects |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_BEGIN_SCRIPT | Instance attribute | Private | Attribute reference (LIKE) | 20130125 | ||||
2 | MC_END_SCRIPT | Instance attribute | Private | Attribute reference (LIKE) | 20130125 | ||||
3 | MC_EQUALS | Instance attribute | Private | Attribute reference (LIKE) | 20130125 | ||||
4 | MC_ID_SCRIPT_VIEW | Constant | Private | Type reference (TYPE) | STRING | 'Script_View' | 20130117 | ||
5 | MC_INTERNAL | Constant | Private | Type reference (TYPE) | STRING | 'internal' | 20130117 | ||
6 | MC_OUTPUT_VARIABLE | Instance attribute | Private | Attribute reference (LIKE) | 20130125 | ||||
7 | MC_REPORTING_ENABLED | Constant | Private | Type reference (TYPE) | STRING | 'reportingEnabled' | 20130117 | ||
8 | MC_SCENARIO_SCRIPT_BASED | Constant | Public | Type reference (TYPE) | STRING | 'SCRIPT_BASED' | 20130117 | ||
9 | MC_TRANSFORMATION | Static Attribute | Public | Type reference (TYPE) | STRING | 'ST_BSCL_PARSE_CALCVIEW' | 20130117 | ||
10 | MC_XSI_SCRIPTVIEW | Constant | Private | Type reference (TYPE) | STRING | 'Calculation:SqlScriptView' | 20130117 | ||
11 | MS_OUTPUT_PARAMETER | Instance attribute | Private | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TS_CA_OUTPUT_PARAMETER | 20130117 | |||
12 | MT_ATTRIBUTE | Instance attribute | Private | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_ATTRIBUTE | 20130117 | |||
13 | MT_INPUT_PARAMETER | Instance attribute | Private | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_INPUT_PARAMETER | 20130117 | |||
14 | MV_SCRIPT | Instance attribute | Private | Type reference (TYPE) | STRING | 20130117 | |||
15 | MV_SCRIPT_LANGUAGE | Instance attribute | Private | Type reference (TYPE) | STRING | 20130117 | |||
16 | MV_VISIBILITY | Instance attribute | Private | Type reference (TYPE) | STRING | 20130128 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | BUILD_CALCULATION_VIEW_BASIS | Instance method | Private | Method | 20130117 | |
2 | BUILD_LOGICAL_MODEL | Instance method | Private | Method | 20130117 | |
3 | CONVERT_INPUT_PARAMETER_TO_EXT | Instance method | Private | Method | 20130205 | |
4 | CONVERT_INPUT_PARAMETER_TO_INT | Instance method | Private | Method | 20130117 | |
5 | CONVERT_TO_STRING | Instance method | Private | Method | 20130117 | |
6 | EXTRACT_CALCULATION_VIEW_BASIS | Instance method | Private | Method | 20130205 | |
7 | EXTRACT_LOGICAL_MODEL | Instance method | Private | Method | 20130205 | |
8 | INIT | Instance method | Public | Method | 20130117 | |
9 | READ | Instance method | Public | Method | 20130205 | |
10 | WRAP_SCRIPT | Instance method | Private | Method | Wrap SQL script for calculation view usage | 20130124 |
Events
Class CL_BSCL_HDBR_CALC_VIEW has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_ATTRIBUTE_OUTPUT_INT | Private | See coding | 20130117 | BEGIN OF ts_attribute_output_int,
attribute_name TYPE string,
key_column_object_name TYPE string,
key_column_name TYPE string,
s_description TYPE if_bscl_hdbr_types=>ts_ca_description,
END OF ts_attribute_output_int
|
||
2 | TS_CALCULATED_ATTRIBUTE_INT | Private | See coding | 20130117 | BEGIN OF ts_calculated_attribute_int,
id TYPE string,
attribute_type TYPE string,
attribute_length TYPE i,
attribute_length_decimals TYPE i,
formula TYPE string,
END OF ts_calculated_attribute_int
|
||
3 | TS_CALCULATION_VIEW | Private | See coding | 20130117 | BEGIN OF ts_calculation_view,
id TYPE string,
xsi_type TYPE string,
t_attribute TYPE if_bscl_hdbr_types=>tt_ca_attribute, "tt_ca_attribute_int,
t_parameter TYPE tt_ca_parameter_int,
* t_calculated_attribute TYPE if_bscl_hdbr_types=>tt_ca_calculated_attribute,
script TYPE string,
END OF ts_calculation_view
|
||
4 | TS_CALC_ATTRIBUTE_OUTPUT_INT | Private | See coding | 20130117 | BEGIN OF ts_calc_attribute_output_int,
attribute_name TYPE string,
s_description TYPE if_bscl_hdbr_types=>ts_ca_description,
field_type TYPE string,
field_length TYPE int4,
field_length_decimals TYPE int4,
formula TYPE string,
END OF ts_calc_attribute_output_int
|
||
5 | TS_CA_ATTRIBUTE_INT | Private | See coding | 20130117 | BEGIN OF ts_ca_attribute_int,
attribute_name TYPE string,
attribute_description TYPE string,
field_type TYPE string,
field_length TYPE string,
field_length_decimals TYPE string,
END OF ts_ca_attribute_int
|
||
6 | TS_CA_PARAMETER_INT | Private | See coding | 20130117 | BEGIN OF ts_ca_parameter_int,
parameter_name TYPE string,
END OF ts_ca_parameter_int
|
||
7 | TS_INPUT_PARAMETER_INT | Private | See coding | 20130117 | BEGIN OF ts_input_parameter_int,
parameter_name TYPE string,
s_description TYPE if_bscl_hdbr_types=>ts_ca_description,
field_type TYPE if_bscl_hdbr_types=>t_sql_data_type,
field_length TYPE if_bscl_hdbr_types=>t_sql_data_type_length,
field_length_decimals TYPE if_bscl_hdbr_types=>t_sql_data_type_decimals,
mandatory TYPE string,
related_attribute TYPE string,
default_value type string,
END OF ts_input_parameter_int
|
||
8 | TS_LOGICAL_MODEL | Private | See coding | 20130117 | BEGIN OF ts_logical_model,
id TYPE string,
t_attribute TYPE tt_attribute_output_int,
t_calculated_attribute TYPE tt_calc_attribute_output_int,
t_measure TYPE tt_measure_int,
s_description TYPE if_bscl_hdbr_types=>ts_ca_description,
END OF ts_logical_model
|
||
9 | TS_MEASURE_INT | Private | See coding | 20130117 | BEGIN OF ts_measure_int,
measure_name TYPE string,
measure_type TYPE string,
column_object_name TYPE string,
column_name TYPE string,
END OF ts_measure_int
|
||
10 | TT_ATTRIBUTE_OUTPUT_INT | Private | See coding | 20130117 | tt_attribute_output_int TYPE STANDARD TABLE OF ts_attribute_output_int WITH DEFAULT KEY
|
||
11 | TT_CALCULATION_VIEW | Private | See coding | 20130117 | tt_calculation_view TYPE STANDARD TABLE OF ts_calculation_view WITH DEFAULT KEY
|
||
12 | TT_CALC_ATTRIBUTE_OUTPUT_INT | Private | See coding | 20130117 | tt_calc_attribute_output_int TYPE STANDARD TABLE OF ts_calc_attribute_output_int WITH DEFAULT KEY
|
||
13 | TT_CA_ATTRIBUTE_INT | Private | See coding | 20130117 | tt_ca_attribute_int TYPE STANDARD TABLE OF ts_ca_attribute_int WITH DEFAULT KEY
|
||
14 | TT_CA_PARAMETER_INT | Private | See coding | 20130117 | tt_ca_parameter_int TYPE STANDARD TABLE OF ts_ca_parameter_int WITH DEFAULT KEY
|
||
15 | TT_INPUT_PARAMETER_INT | Private | See coding | 20130117 | tt_input_parameter_int TYPE STANDARD TABLE OF ts_input_parameter_int WITH DEFAULT KEY
|
||
16 | TT_LOGICAL_MODEL | Private | See coding | 20130117 | tt_logical_model TYPE STANDARD TABLE OF ts_logical_model WITH DEFAULT KEY
|
||
17 | TT_MEASURE_INT | Private | See coding | 20130117 | tt_measure_int TYPE STANDARD TABLE OF ts_measure_int WITH DEFAULT KEY
|
Method Signatures
Method BUILD_CALCULATION_VIEW_BASIS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_CALCULATION_VIEW | Value transfer | Type reference (TYPE) | TT_CALCULATION_VIEW | 20130117 |
Method BUILD_CALCULATION_VIEW_BASIS on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method BUILD_LOGICAL_MODEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_LOGICAL_MODEL | Value transfer | Type reference (TYPE) | TT_LOGICAL_MODEL | 20130117 |
Method BUILD_LOGICAL_MODEL on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method CONVERT_INPUT_PARAMETER_TO_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_INPUT_PARAMETER | Call by reference | Type reference (TYPE) | TT_INPUT_PARAMETER_INT | 20130206 | |||
2 | Returning | RT_INPUT_PARAMETER | Value transfer | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_INPUT_PARAMETER | 20130206 |
Method CONVERT_INPUT_PARAMETER_TO_EXT on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method CONVERT_INPUT_PARAMETER_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_INPUT_PARAMETER | Value transfer | Type reference (TYPE) | TT_INPUT_PARAMETER_INT | 20130117 |
Method CONVERT_INPUT_PARAMETER_TO_INT on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method CONVERT_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20130117 | |||
2 | Returning | RV_XML | Value transfer | Type reference (TYPE) | STRING | 20130117 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BSCL_HDBR_ACCESS_ERROR | 20130117 |
Method EXTRACT_CALCULATION_VIEW_BASIS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_CALCULATION_VIEW_BASIS | Call by reference | Type reference (TYPE) | TT_CALCULATION_VIEW | 20130206 |
Method EXTRACT_CALCULATION_VIEW_BASIS on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method EXTRACT_LOGICAL_MODEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_LOGICAL_MODEL | Call by reference | Type reference (TYPE) | TT_LOGICAL_MODEL | 20130206 |
Method EXTRACT_LOGICAL_MODEL on class CL_BSCL_HDBR_CALC_VIEW has no exception.
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_OUTPUT_PARAMETER | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TS_CA_OUTPUT_PARAMETER | 20130117 | |||
2 | Importing | IT_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_ATTRIBUTE | 20130117 | |||
3 | Importing | IT_INPUT_PARAMETER | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_INPUT_PARAMETER | 20130117 | |||
4 | Importing | IV_ACCESS_READ_WRITE | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>T_WRITE_ACCESS | 20130117 | |||
5 | Importing | IV_CLIENT | Call by reference | Type reference (TYPE) | STRING | 20130117 | |||
6 | Importing | IV_DB_CONN_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20130117 | ||
7 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>T_SCRIPT_LANGUAGE | 20130117 | |||
8 | Importing | IV_OBJECT_DESCRIPTION | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>T_DESCRIPTION | 20130117 | |||
9 | Importing | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | STRING | 20130117 | |||
10 | Importing | IV_PACKAGE | Call by reference | Type reference (TYPE) | STRING | 20130117 | |||
11 | Importing | IV_SCENARIO_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130117 | |||
12 | Importing | IV_SCHEMA | Call by reference | Type reference (TYPE) | HDB_SCHEMA_NAME | Schema Name | 20131002 | ||
13 | Importing | IV_SCRIPT | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>T_SCRIPT | 20130117 | |||
14 | Importing | IV_WORKSPACE | Call by reference | Type reference (TYPE) | STRING | 20130117 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BSCL_HDBR_ACCESS_ERROR | 20130117 |
Method READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_OUTPUT_PARAMETER | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TS_CA_OUTPUT_PARAMETER | 20130205 | |||
2 | Exporting | ET_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_ATTRIBUTE | 20130205 | |||
3 | Exporting | ET_INPUT_PARAMETER | Call by reference | Type reference (TYPE) | IF_BSCL_HDBR_TYPES=>TT_CA_INPUT_PARAMETER | 20130205 | |||
4 | Exporting | EV_CLIENT | Call by reference | Type reference (TYPE) | STRING | 20130208 | |||
5 | Exporting | EV_DB_CONN_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20130208 | ||
6 | Exporting | EV_OBJECT_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
7 | Exporting | EV_OBJECT_NAME | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
8 | Exporting | EV_OWNER | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
9 | Exporting | EV_PACKAGE | Call by reference | Type reference (TYPE) | STRING | 20130208 | |||
10 | Exporting | EV_SCENARIO_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130208 | |||
11 | Exporting | EV_SCHEMA | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
12 | Exporting | EV_SCRIPT | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
13 | Exporting | EV_SCRIPT_LANGUAGE | Call by reference | Type reference (TYPE) | STRING | 20130208 | |||
14 | Exporting | EV_VISIBILITY | Call by reference | Type reference (TYPE) | STRING | 20130208 | |||
15 | Exporting | EV_WORKSPACE | Call by reference | Type reference (TYPE) | STRING | 20130208 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BSCL_HDBR_ACCESS_ERROR | Classification Error Class (dynamic check) | 20130205 |
Method WRAP_SCRIPT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_SCRIPT | Call by reference | Type reference (TYPE) | STRING | 20130124 | |||
2 | Returning | RV_SCRIPT | Value transfer | Type reference (TYPE) | STRING | 20130124 |
Method WRAP_SCRIPT on class CL_BSCL_HDBR_CALC_VIEW has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 747 |