SAP ABAP Class CL_RS2HANA_VIEW_LOGICAL_OBJECT (SAP HANA Logical Object)
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
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 20130405
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS2HANA_VIEW_DIMENSION SAP HANA Dimension (Attribute View) 20130415
2 Inheritance (c INHERITING FROM c_ref)  CL_RS2HANA_VIEW_MEASURE_GROUP SAP HANA Cube Measure Group 20130408
Properties
Class CL_RS2HANA_VIEW_LOGICAL_OBJECT  
Short Description SAP HANA Logical Object    
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 20130405   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_RSDRV_SX_QRY_BUILDER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_RSD_CHA_PROP Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no interface implemented.
Friends
Class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CN_S_CARDINALITY Constant Public See coding 20130801
2 CN_S_JOIN_OPERATOR Constant Public See coding 20130801
3 CN_S_JOIN_TYPES Constant Public See coding 20130801
4 CP_S_XML_ELEMENTS Constant Private See coding 20130523
5 C_NOT_ALPHANUM_REGEX Constant Public Type reference (TYPE) STRING '[^a-zA-Z0-9_]' 20130912
6 P_S_INIT Instance attribute Private See coding 20130813
7 P_S_LOGICAL_OBJECT Instance attribute Private Type reference (TYPE) NT_S_LOGICAL_OBJ 20130405
8 P_TS_CONSTRAINTS Instance attribute Private Type reference (TYPE) IF_RSDD_HDB_COLUMN_VIEW=>TN_TS_CONSTRAINT 20130813
Methods
# Method Level Visibility Method type Description Created on
1 GET_LOGICAL_OBJECT Instance method Public Method 20130405
2 _COMPARE_LOGICAL_OBJECT Instance method Protected Method 20130523
3 _GET_ALPHANUM_NAME Instance method Protected Method 20130912
4 _GET_ATTRIBUTES Instance method Protected Method 20130405
5 _GET_ATTR_TXTTABS Instance method Protected Method 20130405
6 _GET_CMP_FIELDS Instance method Protected Method 20130903
7 _GET_CONSTRAINTS Instance method Protected Method 20130405
8 _GET_DATE_CONSTR Instance method Protected Method 20130812
9 _GET_DESCR_FROM_IOBJ Instance method Protected Method 20130408
10 _GET_FACTTABLE Instance method Protected Method 20130405
11 _GET_JOINS Instance method Protected Method 20130812
12 _GET_TXT_TABLES Instance method Protected Method 20130408
13 _IS_AUTH_RELEVANT Instance method Protected Method 20130430
14 _MERGE_LOGICAL_OBJECT Instance method Protected Method 20130801
15 __GET_CARDINALITY Instance method Private Method 20130808
16 __GET_JOIN_TYPE Instance method Private Method 20130405
17 __GET_TEXT_TABLE_INFO Static method Private Method 20130408
18 __SET_ATTR Instance method Private Method 20130405
19 __SET_DATA_FOUNDATION Instance method Private Method 20130405
20 __SET_JOINS Instance method Private Method 20130405
21 __SET_TABLES Instance method Private Method 20130405
Events
Class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 NT_S_ABSTR_ATTR Public See coding 20130405 BEGIN OF nt_s_abstr_attr. INCLUDE TYPE nt_s_logical_column AS s_log_column. INCLUDE TYPE nt_s_search_attr_prop AS s_search_attr_prop. TYPES: attr_hchy_act TYPE nt_xml_bool, ts_attr_relation TYPE nt_ts_attr_relation, attr_hchy_def_member TYPE string, descr_column_name TYPE string, display_attr TYPE nt_xml_bool, flat_hchy_def_member TYPE string, END OF nt_s_abstr_attr
2 NT_S_ATTR Public See coding 20130405 BEGIN OF nt_s_attr. INCLUDE TYPE nt_s_abstr_attr AS s_abstr_attr. TYPES: curr TYPE nt_xml_bool, s_descr_mapping TYPE nt_s_column_mapping, keep_flag TYPE nt_xml_bool, key TYPE nt_xml_bool, s_key_mapping TYPE nt_s_column_mapping, principal_key TYPE nt_xml_bool, unit_of_measure TYPE nt_xml_bool, END OF nt_s_attr
3 NT_S_ATTR_RELATION Public See coding 20130405 BEGIN OF nt_s_attr_relation, parent_attr TYPE string, rel_type TYPE string, END OF nt_s_attr_relation
4 NT_S_CALCULATION Public See coding 20130627 BEGIN OF nt_s_calculation, calc_before_aggr TYPE nt_xml_bool, column_store_datatype TYPE string, datatype TYPE string, formula TYPE string, length TYPE i, scale TYPE i, END OF nt_s_calculation
5 NT_S_CALC_ATTR Public See coding 20130405 BEGIN OF nt_s_calc_attr. INCLUDE TYPE nt_s_abstr_attr AS s_abstr_attr. TYPES: key_calculation TYPE nt_s_calculation, description_calculation TYPE nt_s_calculation, END OF nt_s_calc_attr
6 NT_S_DATA_FOUNDATION Public See coding 20130405 BEGIN OF nt_s_data_foundation. * INCLUDE TYPE nt_s_bi_obj AS s_bi_obj. TYPES: ts_joins TYPE nt_ts_joins, ts_table_proxies TYPE nt_ts_table_proxies, *s_layout TYPE nt_s_layout, END OF nt_s_data_foundation
7 NT_S_JOIN Public See coding 20130405 BEGIN OF nt_s_join. INCLUDE TYPE nt_s_join_prop AS s_join_prop. TYPES: id_intern TYPE string, langu_column TYPE string, ts_leftcolumns TYPE SORTED TABLE OF string WITH UNIQUE KEY table_line, ts_rightcolumns TYPE SORTED TABLE OF string WITH UNIQUE KEY table_line, s_left_table TYPE nt_s_column_object, s_right_table TYPE nt_s_column_object, END OF nt_s_join
8 NT_S_JOIN_PROP Public See coding 20130405 BEGIN OF nt_s_join_prop, cardinality TYPE string, join_type TYPE string, join_operator TYPE string, END OF nt_s_join_prop
9 NT_S_LOGICAL_COLUMN Public See coding 20130405 BEGIN OF nt_s_logical_column, id TYPE string, s_descriptions TYPE nt_s_descriptions, infoobject TYPE string, order TYPE string, hidden TYPE nt_xml_bool, END OF nt_s_logical_column
10 NT_S_LOGICAL_OBJ Public See coding 20130405 BEGIN OF nt_s_logical_obj, * INCLUDE TYPE nt_s_information_model AS s_info_model. * types: * TYPES: s_info_model TYPE nt_s_information_model, * id TYPE string, s_data_foundation TYPE nt_s_data_foundation, ts_attr TYPE nt_ts_attr, ts_calc_attr TYPE nt_ts_calc_attr, END OF nt_s_logical_obj
11 NT_S_SEARCH_ATTR_PROP Public See coding 20130405 BEGIN OF nt_s_search_attr_prop, freestyle TYPE nt_xml_bool, fuzzy_threshold TYPE string, ranking_weight TYPE string, END OF nt_s_search_attr_prop
12 NT_S_TABLE_PROXY Public See coding 20130405 BEGIN OF nt_s_table_proxy, client_column TYPE string, central_table TYPE nt_xml_bool, s_table TYPE nt_s_column_object, ts_column_filters TYPE nt_ts_column_filters, END OF nt_s_table_proxy
13 NT_TS_ATTR Public See coding 20130405 nt_ts_attr TYPE SORTED TABLE OF nt_s_attr WITH UNIQUE KEY s_abstr_attr-id
14 NT_TS_ATTR_RELATION Public See coding 20130405 nt_ts_attr_relation TYPE SORTED TABLE OF nt_s_attr_relation WITH UNIQUE KEY table_line
15 NT_TS_CALC_ATTR Public See coding 20130405 nt_ts_calc_attr TYPE SORTED TABLE OF nt_s_calc_attr WITH UNIQUE KEY s_abstr_attr-id
16 NT_TS_JOINS Public See coding 20130405 nt_ts_joins TYPE SORTED TABLE OF nt_s_join WITH UNIQUE KEY id_intern
17 NT_TS_TABLE_PROXIES Public See coding 20130405 nt_ts_table_proxies TYPE SORTED TABLE OF nt_s_table_proxy WITH UNIQUE KEY s_table
18 OT_S_ATTR Protected See coding 20130405 BEGIN OF ot_s_attr, iobjnm TYPE string, keysid TYPE rsddbattrtp, keyflag TYPE rsd_s_dta_pro-keyflag, no_drill TYPE rs_bool, tablnm TYPE string, fieldnm TYPE string, joinalias TYPE string, txt TYPE rstxtlg, hidden TYPE rs_bool, convexit TYPE rsd_s_dta_pro-convexit, cmpsta TYPE rsd_s_dta_pro-cmpsta, END OF ot_s_attr
19 OT_S_JOIN Protected See coding 20130405 BEGIN OF ot_s_join, tablalias1 TYPE string, tablalias2 TYPE string, tablnm1 TYPE string, fieldnm1 TYPE string, tablnm2 TYPE string, fieldnm2 TYPE string, jointp TYPE rsddbjointp, cardinality TYPE rsdrs_cardinality, langu_column TYPE nt_s_join-langu_column, END OF ot_s_join
20 OT_S_TXTTAB Protected See coding 20130405 BEGIN OF ot_s_txttab, iobjnm TYPE rsiobjnm, tabnm TYPE string, alias TYPE string, fieldnm TYPE string, txttimfl TYPE rsdtxttimfl, END OF ot_s_txttab
21 OT_TS_ATTRIBUTES Protected See coding 20130405 ot_ts_attributes TYPE SORTED TABLE OF ot_s_attr WITH NON-UNIQUE KEY iobjnm keysid
22 OT_TS_JOINS Protected See coding 20130405 ot_ts_joins TYPE SORTED TABLE OF ot_s_join WITH NON-UNIQUE KEY tablalias1 tablalias2
23 OT_TS_TXTTAB Protected See coding 20130405 ot_ts_txttab TYPE SORTED TABLE OF ot_s_txttab WITH UNIQUE KEY iobjnm
Method Signatures

Method GET_LOGICAL_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_LOGICAL_OBJ Call by reference Type reference (TYPE) NT_S_LOGICAL_OBJ 20130405
2 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130408
3 Importing I_IGNORE_HIDDEN Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE 20130821
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_OBJ 20130502

Method _COMPARE_LOGICAL_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_DIFFERENT Call by reference Type reference (TYPE) RS_BOOL 20130523
2 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130523
3 Importing I_S_LOGICAL_OBJECT Call by reference Type reference (TYPE) NT_S_LOGICAL_OBJ 20130523
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_OBJ 20130523

Method _GET_ALPHANUM_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) STRING 20130912
2 Returning R_ALPHANUM_NAME Value transfer Type reference (TYPE) STRING 20130912

Method _GET_ALPHANUM_NAME on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130813
2 Returning R_TS_ATTRIBUTES Value transfer Type reference (TYPE) OT_TS_ATTRIBUTES 20130405

Method _GET_ATTRIBUTES on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_ATTR_TXTTABS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TS_ATTR_TXTTABS Value transfer Type reference (TYPE) OT_TS_TXTTAB 20130405

Method _GET_ATTR_TXTTABS on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_CMP_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_L_FIELD Call by reference Type reference (TYPE) STRING 20130903
2 Exporting E_R_FIELD Call by reference Type reference (TYPE) STRING 20130903
3 Importing I_FACT Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20130903
4 Importing I_R_NAME_MAPPER Call by reference Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapper BI <-> Trex View attributes 20130903
5 Importing I_S_CMP_CHA Call by reference Type reference (TYPE) IF_RSD_CHA_PROP=>NT_S_CMP_PROP Compound characteristic inclusive its properties 20130903
6 Importing I_S_IOBJ_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO InfoObject Properties in Data Target 20130903
7 Importing I_TS_CMP_CHABAS Call by reference Type reference (TYPE) IF_RSD_CHA_PROP=>NT_TS_CMP_PROP Compound characteristics inclusive their properties 20130903

Method _GET_CMP_FIELDS on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_CONSTRAINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TS_CONSTRAINTS Value transfer Type reference (TYPE) IF_RSDD_HDB_COLUMN_VIEW=>TN_TS_CONSTRAINT 20130405

Method _GET_CONSTRAINTS on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_DATE_CONSTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLNM Call by reference Type reference (TYPE) STRING 20130812
2 Returning R_TS_CONSTRAINTS Value transfer Type reference (TYPE) IF_RSDD_HDB_COLUMN_VIEW=>TN_TS_CONSTRAINT 20130812

Method _GET_DATE_CONSTR on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_DESCR_FROM_IOBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DEFAULT_DESCR Call by reference Type reference (TYPE) STRING 20130408
2 Exporting E_TS_LOCAL_DESCR Call by reference Type reference (TYPE) NT_TS_LOCAL_DESCR 20130408
3 Importing I_DTA_PRO_TXTLG Call by reference Type reference (TYPE) RSTXTLG 20130408
4 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV 20130408
5 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20130408

Method _GET_DESCR_FROM_IOBJ on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_FACTTABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_FACTTABLE Value transfer Type reference (TYPE) STRING 20130405

Method _GET_FACTTABLE on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_JOINS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TS_JOINS Value transfer Type reference (TYPE) OT_TS_JOINS 20130812

Method _GET_JOINS on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _GET_TXT_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_ATTR_TXTTABS Call by reference Type reference (TYPE) OT_TS_TXTTAB 20130408
2 Exporting E_TS_TEXT_JOINS Call by reference Type reference (TYPE) OT_TS_JOINS 20130408
3 Importing I_R_NAME_MAPPER Call by reference Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapper BI <-> Trex View attributes 20130510
4 Importing I_T_DTA_PRO Call by reference Type reference (TYPE) RSD_T_DTA_PRO 20130408

Method _GET_TXT_TABLES on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _IS_AUTH_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUTHRELFL Call by reference Type reference (TYPE) RSDAUTHRELFL 20130430
2 Importing I_CMPSTA Call by reference Type reference (TYPE) RSCMPSTA 20130430
3 Importing I_IOBJNM Call by reference Type reference (TYPE) STRING 20130430
4 Returning R_AUTH_IOBJNM Value transfer Type reference (TYPE) STRING 20130430

Method _IS_AUTH_RELEVANT on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method _MERGE_LOGICAL_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_XML Call by reference Type reference (TYPE) STRING 20130801
2 Importing I_MERGE_XML Call by reference Type reference (TYPE) STRING 20130801

Method _MERGE_LOGICAL_OBJECT on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __GET_CARDINALITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CARDINALITY Call by reference Type reference (TYPE) RSDRS_CARDINALITY 20130808
2 Returning R_CARDINALITY Value transfer Type reference (TYPE) STRING 20130808

Method __GET_CARDINALITY on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __GET_JOIN_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_JOINTP Call by reference Type reference (TYPE) RSDDBJOINTP 20130405
2 Returning R_JOIN_TYPE Value transfer Type reference (TYPE) STRING 20130405

Method __GET_JOIN_TYPE on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __GET_TEXT_TABLE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KEY_FIELD Call by reference Type reference (TYPE) RSD_FIELDNM 20130408
2 Exporting E_LANGU_FIELD Call by reference Type reference (TYPE) STRING 20130408
3 Exporting E_TXT_FIELD Call by reference Type reference (TYPE) RSD_FIELDNM 20130408
4 Importing I_NOLANGU Call by reference Type reference (TYPE) RSD_S_DTA_PRO-NOLANGU 20130408
5 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20130408
6 Importing I_TXTTP Call by reference Type reference (TYPE) RS_TXTTP 20130408

Method __GET_TEXT_TABLE_INFO on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __SET_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_ATTR Call by reference Type reference (TYPE) NT_TS_ATTR 20130405
2 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130405
3 Importing I_IGNORE_HIDDEN Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE 20130820

Method __SET_ATTR on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __SET_DATA_FOUNDATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_DATA_FOUNDATION Call by reference Type reference (TYPE) NT_S_DATA_FOUNDATION 20130405

Method __SET_DATA_FOUNDATION on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __SET_JOINS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_JOINS Call by reference Type reference (TYPE) NT_TS_JOINS 20130405

Method __SET_JOINS on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.

Method __SET_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_TABLES Call by reference Type reference (TYPE) NT_TS_TABLE_PROXIES 20130405

Method __SET_TABLES on class CL_RS2HANA_VIEW_LOGICAL_OBJECT has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740