SAP ABAP Class CL_RSL_QUERY_DATA_READER (Read Class Query Result)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSL_UTILITIES (Package) Services for the Workspaces
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSL_DATA_READER Read Class (Interface) 20110509
Properties
Class CL_RSL_QUERY_DATA_READER  
Short Description Read Class Query Result    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class RSL_UTILITIES    
Program status     
Category 0   
Package RSL_UTILITIES   Services for the Workspaces 
Created 20110509   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RSR_QUERY_VARIANT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_RSL_DATA_READER 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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSL_DATA_READER Read Class (Interface) 20110509
Friends
Class CL_RSL_QUERY_DATA_READER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_STATE Constant Private See coding Read Status 20110628
2 C_VARIANT_TYPE Constant Public See coding 20111214
3 N_COMPID Instance attribute Public Type reference (TYPE) RSZCOMPID Query Name 20110509
4 N_R_MESSAGE_MANAGER Instance attribute Public Object reference (TYPE REF TO) IF_BICS_MESSAGE_MANAGER Message Manager in BICS 20111214
5 N_R_QV Instance attribute Public Object reference (TYPE REF TO) IF_BICS_QV Query View 20110509
6 N_VARIANT Instance attribute Public Type reference (TYPE) RSRVARI Variant 20110509
7 N_VARIANT_TYPE Instance attribute Public Type reference (TYPE) GT_VARIANT_TYPE Variant Type (RSRT/BEX) 20111214
8 P_KYF_EXTERNAL Instance attribute Private Type reference (TYPE) RS_BOOL Key Figures in External Display (Currency Shift) 20110601
9 P_MAXROWS Instance attribute Private Type reference (TYPE) I Max. Rows 20110511
10 P_PACKAGESIZE Instance attribute Private Type reference (TYPE) I Package Size 20110511
11 P_STATE Instance attribute Private Type reference (TYPE) I Read Status 20110628
12 P_TH_FIELDS Instance attribute Private Type reference (TYPE) PT_TH_FIELDS Table of Data Field Properties (Internal) 20110520
13 P_T_REQ_FIELDNAMES Instance attribute Private Type reference (TYPE) IF_RSL_DATA_READER=>GT_T_FIELDNAMES Name of Requested Fields 20110520
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_EXISTENCE Static method Public Method Existence Check Query/Variant/Variant Type 20111214
2 GET_INFO Instance method Public Method Get Query Info 20110629
3 GET_INSTANCE Static method Public Method Get Instance 20110509
4 GET_QUERY_LIST Static method Public Method Input Help Queries 20110509
5 GET_VARIANT_LIST Static method Public Method Input Help Variants 20110509
6 SET_OPTIONS Instance method Public Method Set Read Options 20110601
7 _BUILD_FIELDNAME Static method Private Method Build Field Name 20110718
8 _BUILD_FIELD_DESCR Instance method Private Method Find Data Field Properties 20110520
9 _CHECK Instance method Public Method Check 20111214
10 _CHECK_DATA_TABLE Instance method Private Method Check Data Table 20110520
11 _CHECK_KYF_STRUCTURE Instance method Public Method Check Key Figure Structure 20111214
12 _CHECK_VARIABLES Instance method Private Method Check Variables 20110630
13 _CONV_VAR_VALUES Instance method Private Method Convert variables values (int to ext) 20111214
14 _CREATE_QV Instance method Private Method Instantiate Query View 20110509
15 _GET_ELEMDESCR_BY_DATATYPE Static method Private Method Create Element Type Object 20110509
16 _GET_TH_FIELD_DESCR Instance method Private Method Get Data Field Properties 20110509
17 _GET_VAR_VALUES Instance method Private Method Get variable values of variant 20111214
18 _PREPARE_QV Instance method Private Method Prepare Query View 20110509
19 _RAISE_SY_MSG Static method Private Method Raise CX_RS_MSG with SY Message Fields 20110509
20 _SET_LENGTH_FROM_COBPRO Static method Private Method Set length from COBPRO 20110727
21 _SUBMIT_VARIANT Instance method Private Method Replace Variable with Variant 20110509
Events
Class CL_RSL_QUERY_DATA_READER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GT_S_QUERY_HEADER Public See coding Structure of Query Header Data 20110509 BEGIN OF gt_s_query_header, compid TYPE rszcompid, text TYPE rstxtlg, END OF gt_s_query_header
2 GT_S_VARIANT Public See coding Structure Variant Header Data 20111214 BEGIN OF gt_s_variant, objnm TYPE rsrvari, txtlg TYPE rstxtlg, variant_type TYPE gt_variant_type, pers_flag TYPE rs_bool, END OF gt_s_variant
3 GT_T_QUERY_HEADERS Public See coding Table of Query Header Data 20110509 gt_t_query_headers TYPE STANDARD TABLE OF gt_s_query_header WITH DEFAULT KEY
4 GT_T_VARIANT Public See coding Table Variant Header Data 20111214 gt_t_variant TYPE STANDARD TABLE OF gt_s_variant WITH DEFAULT KEY
5 GT_VARIANT_TYPE Public See coding Variant Type (RSRT/BEX) 20111214 gt_variant_type TYPE c LENGTH 4
6 PT_S_FIELD Private See coding Structure of Data Field Properties (Internal) 20110520 BEGIN OF pt_s_field, fieldname TYPE if_rsl_data_reader=>gt_s_field_descr-fieldname, r_qv_characteristic TYPE REF TO if_bics_qv_characteristic, " for chars only element_idx TYPE i, " for chars only iobjnm TYPE if_rsl_data_reader=>gt_s_field_descr-iobjnm, fieldtype TYPE if_rsl_data_reader=>gt_fieldtype, datatype TYPE if_rsl_data_reader=>gt_s_field_descr-datatype, length TYPE if_rsl_data_reader=>gt_s_field_descr-length, decimals TYPE if_rsl_data_reader=>gt_s_field_descr-decimals, convexit TYPE if_rsl_data_reader=>gt_s_field_descr-convexit, currency_column TYPE if_rsl_data_reader=>gt_s_field_descr-currency_column, unit_column TYPE if_rsl_data_reader=>gt_s_field_descr-unit_column, text TYPE if_rsl_data_reader=>gt_s_field_descr-text, default_req TYPE if_rsl_data_reader=>gt_s_field_descr-default_req, sup_of TYPE fieldname, " superior char of some char (only if NOT itself contained in rows) r_cmp_wa TYPE REF TO data, " workarea which splits concatenated value into its component values curr_unit_of TYPE fieldname, " reference from currency/unit key field to keyfigure field END OF pt_s_field
7 PT_TH_FIELDS Private See coding Table of Data Field Properties (Internal) 20110520 pt_th_fields TYPE HASHED TABLE OF pt_s_field WITH UNIQUE KEY fieldname
Method Signatures

Method CHECK_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VARIANT_TYPE Call by reference Type reference (TYPE) GT_VARIANT_TYPE Ermittelter Varianten-Typ 20111214
2 Importing I_COMPID Call by reference Type reference (TYPE) RSZCOMPID Name (ID) einer Reporting-Komponete 20111214
3 Importing I_VARIANT Call by reference Type reference (TYPE) RSRVARI Variante 20111214
4 Importing I_VARIANT_TYPE Call by reference Type reference (TYPE) GT_VARIANT_TYPE SPACE Varianten-Typ (RSRT/BEX) 20111214
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 20111214
2 QUERY_NOT_FOUND Query nicht gefunden 20111214
3 VARIANT_NOT_FOUND Variante nicht gefunden 20111214
4 VARIANT_NOT_UNIQUE Variante nicht eindeutig (nur bei fehlendem Varianten-Typ) 20111214

Method GET_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMPID Call by reference Type reference (TYPE) RSZCOMPID Name (ID) einer Reporting-Komponete 20110629
2 Exporting E_TEXT Call by reference Type reference (TYPE) RSTXTLG Query Beschreibung 20110629
3 Exporting E_VARIANT Call by reference Type reference (TYPE) RSRVARI Variante 20110629
4 Exporting E_VARIANT_TEXT Call by reference Type reference (TYPE) RSTXTLG Variante Beschreibung 20110727
5 Exporting E_VARIANT_TYPE Call by reference Type reference (TYPE) GT_VARIANT_TYPE Varianten-Typ (RSRT/BEX) 20111214

Method GET_INFO on class CL_RSL_QUERY_DATA_READER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPID Call by reference Type reference (TYPE) RSZCOMPID Name (ID) einer Reporting-Komponete 20110509
2 Importing I_VARIANT Call by reference Type reference (TYPE) RSRVARI Variante 20110509
3 Importing I_VARIANT_TYPE Call by reference Type reference (TYPE) GT_VARIANT_TYPE Varianten-Typ (RSRT/BEX) 20111214
4 Returning R_R_QUERY_DATA_READER Value transfer Object reference (TYPE REF TO) CL_RSL_QUERY_DATA_READER Leseklasse Query-Ergebnis 20110509
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110509

Method GET_QUERY_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUTHORIZED_ONLY Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Nur berechtigte Objekte 20110509
2 Importing I_SEARCH_STRING Call by reference Type reference (TYPE) STRING 20110509
3 Returning R_T_QUERY_HEADERS Value transfer Type reference (TYPE) GT_T_QUERY_HEADERS Tabelle Query Kopfdaten 20110509

Method GET_QUERY_LIST on class CL_RSL_QUERY_DATA_READER has no exception.

Method GET_VARIANT_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPID Call by reference Type reference (TYPE) RSZCOMPID Queryname 20110509
2 Importing I_SEARCH_STRING Call by reference Type reference (TYPE) STRING Suchstring für Variante 20111214
3 Importing I_VARIANT_TYPE Call by reference Type reference (TYPE) GT_VARIANT_TYPE Nur dieser Varianten-Typ 20111214
4 Returning R_T_VARIANT Value transfer Type reference (TYPE) GT_T_VARIANT Tabelle Variante Kopfdaten 20111214
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110509

Method SET_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KYF_EXTERNAL Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Kennzahlen in externer Darstellung (ohne Währungs-Shift) 20110601

Method SET_OPTIONS on class CL_RSL_QUERY_DATA_READER has no exception.

Method _BUILD_FIELDNAME 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) CLIKE 20110718
2 Returning R_FIELDNAME Value transfer Type reference (TYPE) FIELDNAME Fieldname 20110718

Method _BUILD_FIELDNAME on class CL_RSL_QUERY_DATA_READER has no exception.

Method _BUILD_FIELD_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TH_FIELD_DESCR Value transfer Type reference (TYPE) IF_RSL_DATA_READER=>GT_TH_FIELD_DESCR Tabelle Datenfeld-Eigenschaften 20110520

Method _BUILD_FIELD_DESCR on class CL_RSL_QUERY_DATA_READER has no exception.

Method _CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20111214
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20111214
3 Importing I_AUTHORITY_CHECK_DATA Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Berechtigungsprüfung: Daten lesen 20111214
4 Importing I_AUTHORITY_CHECK_METADATA Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Berechtigungsprüfung: Metadaten ansehen 20111214

Method _CHECK on class CL_RSL_QUERY_DATA_READER has no exception.

Method _CHECK_DATA_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_DATA Call by reference Type reference (TYPE) TABLE 20110520
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110520

Method _CHECK_KYF_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20111214
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20111214

Method _CHECK_KYF_STRUCTURE on class CL_RSL_QUERY_DATA_READER has no exception.

Method _CHECK_VARIABLES Signature

Method _CHECK_VARIABLES on class CL_RSL_QUERY_DATA_READER has no parameter.
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110630

Method _CONV_VAR_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TX_VAR Call by reference Type reference (TYPE) CL_RSR_QUERY_VARIANT=>TN_TX_VAR 20111214

Method _CONV_VAR_VALUES on class CL_RSL_QUERY_DATA_READER has no exception.

Method _CREATE_QV Signature

Method _CREATE_QV on class CL_RSL_QUERY_DATA_READER has no parameter.
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110630

Method _GET_ELEMDESCR_BY_DATATYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATATYPE Call by reference Type reference (TYPE) DATATYPE_D Datentyp im ABAP Dictionary 20110509
2 Importing I_DECIMALS Call by reference Type reference (TYPE) I Decimals 20110509
3 Importing I_LENGTH Call by reference Type reference (TYPE) I Length 20110509
4 Returning R_R_ELEMDESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR Typobjekt 20110509

Method _GET_ELEMDESCR_BY_DATATYPE on class CL_RSL_QUERY_DATA_READER has no exception.

Method _GET_TH_FIELD_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TH_FIELD_DESCR Value transfer Type reference (TYPE) IF_RSL_DATA_READER=>GT_TH_FIELD_DESCR Tabelle Datenfeld-Eigenschaften 20110509

Method _GET_TH_FIELD_DESCR on class CL_RSL_QUERY_DATA_READER has no exception.

Method _GET_VAR_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TX_VAR Value transfer Type reference (TYPE) CL_RSR_QUERY_VARIANT=>TN_TX_VAR 20111214
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20111214

Method _PREPARE_QV Signature

Method _PREPARE_QV on class CL_RSL_QUERY_DATA_READER has no parameter.
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110630

Method _RAISE_SY_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PREVIOUS Call by reference Object reference (TYPE REF TO) CX_ROOT Abstrakte Oberklasse aller globalen Exceptions 20110509
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110509

Method _SET_LENGTH_FROM_COBPRO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_COB_PRO Call by reference Type reference (TYPE) RSD_S_COB_PRO Eigenschafen InfoObject (im Kontext InfoCube / ODS Objekt) 20110727
2 Returning R_LENGTH Value transfer Type reference (TYPE) INT4 Länge 20110727

Method _SET_LENGTH_FROM_COBPRO on class CL_RSL_QUERY_DATA_READER has no exception.

Method _SUBMIT_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBMIT_NEEDS_INPUT Call by reference Type reference (TYPE) RS_BOOL Variableneingabe erforderlich 20110630
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20110630
History
Last changed by/on SAP  20130531 
SAP Release Created in 730