SAP ABAP Class CL_GRFN_HANA_UTIL (Hana utility)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-RM (Application Component) GRC Risk Management
⤷
GRFN_IE_LEGACY (Package) GRC Integration Engine: 3.0 Legacy Objects
⤷
⤷
Properties
| Class | CL_GRFN_HANA_UTIL | |
| Short Description | Hana utility | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_IE_LEGACY | GRC Integration Engine: 3.0 Legacy Objects |
| Created | 20121011 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_GRFN_HANA_UTIL has no interface implemented.
Friends
Class CL_GRFN_HANA_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'V' | 20121011 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20121011 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_METADATA_HDB | Implements CL_SQL_METADATA for SAPDB | 20121011 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | T_COLUMNS | 20121011 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20121011 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | ADBC_NAME | 20121011 |
Methods
Events
Class CL_GRFN_HANA_UTIL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_COLUMNS | Public | See coding | 20121107 | BEGIN OF s_columns,
view_name TYPE text100,
columns TYPE t_column_descr,
END OF s_columns
|
||
| 2 | S_COLUMN_DESCR | Public | See coding | 20121107 | BEGIN OF s_column_descr,
column_name TYPE dbobject_d,
position TYPE int4,
data_type TYPE string,
data_length TYPE int4,
data_precesision TYPE int4,
data_scale TYPE int4,
data_nullable TYPE char10,
description TYPE string,
unique_column_name TYPE string,
custom_flag TYPE int4,
property_caption TYPE string,
END OF s_column_descr
|
||
| 3 | T_COLUMNS | Public | See coding | 20121107 | t_columns TYPE STANDARD TABLE OF s_columns WITH KEY primary_key COMPONENTS view_name
|
||
| 4 | T_COLUMN_DESCR | Public | See coding | 20121107 | t_column_descr TYPE STANDARD TABLE OF s_column_descr WITH KEY column_name
|
Method Signatures
Method BUILD_PARAMETER_CLAUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION_PARAMETER | Call by reference | Type reference (TYPE) | GRFN_T_QUERY_SELECTION | Query selection | 20121011 | |||
| 2 | RV_PARAMETER_CLAUSE | Value transfer | Type reference (TYPE) | GRFN_STRING | Long text for DataMart | 20121011 |
Method BUILD_PARAMETER_CLAUSE on class CL_GRFN_HANA_UTIL has no exception.
Method BUILD_QUERY_BY_FIELD_LIST Signature
Method BUILD_QUERY_BY_FIELD_LIST on class CL_GRFN_HANA_UTIL has no parameter.
Method BUILD_QUERY_BY_FIELD_LIST on class CL_GRFN_HANA_UTIL has no exception.
Method BUILD_QUERY_BY_OUTPUT Signature
Method BUILD_QUERY_BY_OUTPUT on class CL_GRFN_HANA_UTIL has no parameter.
Method BUILD_QUERY_BY_OUTPUT on class CL_GRFN_HANA_UTIL has no exception.
Method BUILD_SQL_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MAXROWS | Value transfer | Type reference (TYPE) | GRFN_MAXROWS | Job step max rows | 20121011 | |||
| 2 | IV_PARAMETER_CLAUSE | Value transfer | Type reference (TYPE) | GRFN_STRING | Parameter clause | 20121011 | |||
| 3 | IV_RESULT_SET | Value transfer | Type reference (TYPE) | GRFN_STRING | Result set | 20121011 | |||
| 4 | IV_SCHEMANAME | Value transfer | Type reference (TYPE) | GRFN_STRING | Schema name | 20121106 | |||
| 5 | IV_VIEW_NAME | Value transfer | Type reference (TYPE) | GRFN_STRING | view name | 20121011 | |||
| 6 | IV_WHERE_CLAUSE | Value transfer | Type reference (TYPE) | GRFN_STRING | Where clause | 20121011 | |||
| 7 | RV_SQL | Value transfer | Type reference (TYPE) | GRFN_STRING | SQL String | 20121011 |
Method BUILD_SQL_STATEMENT on class CL_GRFN_HANA_UTIL has no exception.
Method BUILD_WHERE_CLAUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | GRFN_T_QUERY_SELECTION | Query selection | 20121011 | |||
| 2 | RV_WHERE_CLAUSE | Value transfer | Type reference (TYPE) | GRFN_STRING | Long text for DataMart | 20121011 |
Method BUILD_WHERE_CLAUSE on class CL_GRFN_HANA_UTIL has no exception.
Method CLOSE_CONNECTION Signature
Method CLOSE_CONNECTION on class CL_GRFN_HANA_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121106 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONNECTOR | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20121011 | |||
| 2 | IV_SCHEMA | Call by reference | Type reference (TYPE) | ADBC_NAME | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
Method EXECUTE_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | TABLE | 20121011 | ||||
| 2 | EV_ROW_COUNT | Call by reference | Type reference (TYPE) | I | 20121011 | ||||
| 3 | IV_QUERY_STRING | Call by reference | Type reference (TYPE) | STRING | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
Method EXECUTE_SQL_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_DATA_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20121011 | |||
| 2 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121011 | ||||
| 3 | ET_METADATA | Call by reference | Type reference (TYPE) | ADBC_RS_METADATA_DESCR_TAB | 20121011 | ||||
| 4 | ET_QUERYPARAM_OUT | Call by reference | Type reference (TYPE) | GRFN_T_QUERYPARAM_OUT | Query Output Parameter | 20121011 | |||
| 5 | EV_TOTAL_ROWS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20121011 | |||
| 6 | IV_CONNECTOR | Value transfer | Type reference (TYPE) | GRFN_STRING | Connector | 20121011 | |||
| 7 | IV_SCHEMANAME | Value transfer | Type reference (TYPE) | GRFN_STRING | Schema name | 20121106 | |||
| 8 | IV_SQL | Value transfer | Type reference (TYPE) | GRFN_STRING | SQL string | 20121011 | |||
| 9 | IV_VIEW_NAME | Value transfer | Type reference (TYPE) | GRFN_STRING | View name | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20121011 | ||
| 2 | Exception Class for SQL Error | 20121011 |
Method GET_ALL_VIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_VIEW | Value transfer | Type reference (TYPE) | ADBC_TABLE_DESCR_TAB | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
Method GET_CALC_VIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERYLIST | Call by reference | Type reference (TYPE) | GRFN_T_QUERYLIST | Query List | 20121011 | |||
| 2 | EV_ROW_COUNT | Call by reference | Type reference (TYPE) | I | 20121011 | ||||
| 3 | IT_QRY_PARAS | Call by reference | Type reference (TYPE) | GRFN_T_EO_QRY_PARA | EO Query Paramaters | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
Method GET_CONNECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CONNECTION | Value transfer | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20121106 |
Method GET_CONNECTION on class CL_GRFN_HANA_UTIL has no exception.
Method GET_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_METADATA | Value transfer | Object reference (TYPE REF TO) | CL_SQL_METADATA_HDB | Implements CL_SQL_METADATA for SAPDB | 20121106 |
Method GET_METADATA on class CL_GRFN_HANA_UTIL has no exception.
Method GET_VIEW_COLUMNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COLUMN | Call by reference | Type reference (TYPE) | T_COLUMN_DESCR | 20121011 | ||||
| 2 | IV_SCHEMANAME | Value transfer | Type reference (TYPE) | GRFN_STRING | Schema name | 20121106 | |||
| 3 | IV_VIEW_NAME | Value transfer | Type reference (TYPE) | GRFN_STRING | View name | 20121011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
Method INIT_SCHEMA Signature
Method INIT_SCHEMA on class CL_GRFN_HANA_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121011 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | V1100 |