SAP ABAP Class CL_RSAN_ADP_ANALYSIS_PROVIDER (Analysis process: Node data retreival service)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-EI-APD (Application Component) Analysis Process Designer
     RSAN_ADP (Package) APD - Tool - Application Adapter
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSDRV_VPROV_LOC_NOSID_QUERY Interface for Virtual InfoProvider Without SID Support 20080103
Properties
Class CL_RSAN_ADP_ANALYSIS_PROVIDER  
Short Description Analysis process: Node data retreival service    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSAN_ADP   APD - Tool - Application Adapter 
Created 20080103   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSDRV_VPROV_LOC_NOSID_QUERY Interface for Virtual InfoProvider Without SID Support 20080103
Friends
Class CL_RSAN_ADP_ANALYSIS_PROVIDER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 PROCESS Instance attribute Public Type reference (TYPE) RSAN_PROCESS 20080103
2 R_ANALYSIS Instance attribute Public Object reference (TYPE REF TO) CL_RSAN_ADP_ANALYSIS 20080103
3 R_RESULTS Instance attribute Public Object reference (TYPE REF TO) CL_RSAN_ADP_RESULTS 20080103
4 _CALL_COUNTER Instance attribute Private Type reference (TYPE) I 20080103
5 _MAXROWS Instance attribute Private Type reference (TYPE) I 20080103
6 _RESULT_FROM Instance attribute Private Type reference (TYPE) I 20080103
7 _R_MDLH Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_MDLH_ABSTRACT_ANALYSIS 20080103
8 _R_MDL_VIRT_PROVIDER Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_MDL_DT_VIRT_PROVIDER 20080103
9 _R_REWRITTEN_MDL1 Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
10 _R_REWRITTEN_MDL2 Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
11 _R_REWRITTEN_MDL2_TARGET Instance attribute Private Object reference (TYPE REF TO) IF_RSAN_OM_ELEMENT 20080103
12 _R_RUNTIME Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_RT_ANALYSIS_TEST 20080103
13 _R_RUNTIME_CONTEXT Instance attribute Private Object reference (TYPE REF TO) CL_RSAN_RT_CONTEXT 20080103
14 _R_RUNTIME_ERROR Instance attribute Private Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20080328
15 _TREX_RUNTIME Instance attribute Private Type reference (TYPE) YS_TREX_RUNTIME 20080103
16 _USE_TREX_INDEX Instance attribute Private Type reference (TYPE) AS4FLAG 20080103
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20080103
2 CREATE_CHANGE_PROVIDER Instance method Public Method Provider: Create and activate virtual provider 20080103
3 CREATE_CHANGE_TREX_INDEX Instance method Public Method TREX: Create TREX Join Index 20080103
4 DELETE_PROVIDER Static method Public Method Provider: Delete Virtual Provider (currently only message) 20080103
5 DELETE_TREX_INDEX Static method Public Method TREX: Remove TREX Join Index 20080103
6 GET_INDEX_NAME Static method Public Method TREX: Calculated Join index name from APD name 20080103
7 GET_META_DATA Instance method Public Method Runtime: Get InfoProvider Field List 20080314
8 _CHECK_MDL_FOR_TREX_IDX Instance method Private Method TREX: Check if TREX runtime can be used 20080103
9 _COMP_DESCR_TO_AB_COMPDESCR Static method Private Method Runtime: Build Output Structure for TREX Node 20080103
10 _CREATE_TABLE_FROM_COMP_DESCR Static method Private Method Runtime: Get ABAP Data Structure for TREX Index 20080103
11 _GET_MDL_INFO_FOR_TREX Instance method Private Method TREX: Prepare Metadata for TREX Join Index 20080103
12 _REWRITE_MODEL_FOR_PROVIDER Instance method Private Method Runtime Classic: Convert SFC/SFK into APD Nodes 20080103
13 _TREX_CREATE_QUERY_ENTRIES Static method Private Method Runtime: Convert whereclause from query into trex parameters 20080103
14 _TREX_PROCESS_SFC_JOIN Instance method Private Method Runtime: Convert group by fields into trex parameter 20080317
15 _TREX_PROCESS_SFK_JOIN Instance method Private Method Runtime: Convert keyfigures into trex parameters 20080317
Events
Class CL_RSAN_ADP_ANALYSIS_PROVIDER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TREXTH_COMP_DESCR Private See coding 20080103 trexth_comp_descr TYPE HASHED TABLE OF trexs_comp_descr WITH UNIQUE KEY attr_name
2 YS_BO_INFO Private See coding 20080103 BEGIN OF ys_bo_info, bo_name TYPE string, " should not be used - bo name for BO´s, result-guid for intermediate results bo_node_name TYPE string, " should not be used - bo nodename for BO´s, result-guid for intermediate results physical_index_id TYPE trexd_index_id, " physical TREX Index name comp_descr TYPE trexth_comp_descr, is_fact_table TYPE as4flag, " will be set for the leftmost source node (was required for BIA index) END OF ys_bo_info
3 YS_DIMENSION Private See coding 20080103 BEGIN OF ys_dimension, dim_text TYPE rstxtlg, dim_name TYPE rsdimension, count TYPE i, END OF ys_dimension
4 YS_FIELD Public See coding 20080103 BEGIN OF ys_field, iobj TYPE rsiobjnm, dim_text TYPE rstxtlg, END OF ys_field
5 YS_FIELD_MAPPING Private See coding 20080103 BEGIN OF ys_field_mapping, field_name_top TYPE string, " field name in virtual provider (fieldname of source, not infoobject) field_name_internal TYPE string, " field name used in node currently analysed field_name_trex TYPE trexd_index_id, " name of trex index column source_index TYPE trexd_index_id, " physical TREX Index name where the column comes from is_key_figure TYPE as4flag, " field type as defined through the infoobject type in the virtual provider aggr_type TYPE trexd_aggregation_type, " standard aggregation behaviour of infoobject in virtual provider is_tmp TYPE as4flag, " source field is temporarily used for the evaluation, but not exposed in virt. provider added_by TYPE string, " contains name of model node if is_tmp = 'X' join_conditions TYPE string, " Join conditions END OF ys_field_mapping
6 YS_TREX_RUNTIME Private See coding 20080103 BEGIN OF ys_trex_runtime, index_id TYPE trexd_index_id, " Join index name query_entries TYPE trext_query_entries, " Where clause coming from query call, enriched by conditions defined in the APD-model req_attributes TYPE trext_join_attributes, " group by clause sort_attributes TYPE trext_sort_attributes, " Sorting in TREX, not used in implementation key_figures TYPE trext_key_figure, " Aggregation behaviour for key figures. Unclear if required, but needs list of keyfigures comp_descr TYPE trext_comp_descr, END OF ys_trex_runtime
7 YTH_FIELDS Public See coding 20080103 yth_fields TYPE HASHED TABLE OF ys_field WITH UNIQUE KEY iobj
8 YTS_DIMENSIONS Private See coding 20080103 yts_dimensions TYPE SORTED TABLE OF ys_dimension WITH UNIQUE KEY dim_text INITIAL SIZE 1
9 YT_BO_INFO Private See coding 20080103 yt_bo_info TYPE TABLE OF ys_bo_info
10 YT_FIELD_MAPPING Private See coding 20080103 yt_field_mapping TYPE STANDARD TABLE OF ys_field_mapping
11 YT_PRP_PROVF Private See coding 20080103 yt_prp_provf TYPE TABLE OF rsant_prp_provf
12 YT_PRP_TREXC Private See coding 20080103 yt_prp_trexc TYPE TABLE OF rsant_prp_trexc
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ANALYSIS Value transfer Object reference (TYPE REF TO) CL_RSAN_ADP_ANALYSIS 20080103
2 Importing IR_RESULTS Value transfer Object reference (TYPE REF TO) CL_RSAN_ADP_RESULTS 20080103
3 Importing I_PROCESS Call by reference Type reference (TYPE) RSAN_PROCESS 20080103

Method CONSTRUCTOR on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method CREATE_CHANGE_PROVIDER Signature

Method CREATE_CHANGE_PROVIDER on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no parameter.
# Exception Resumable Description Created on
1 CX_RSAN_ADP_ANALYSIS_PROVIDER 20080103

Method CREATE_CHANGE_TREX_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_TIMESTMP Call by reference Type reference (TYPE) RSTIMESTMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080323
# Exception Resumable Description Created on
1 CX_RSAN_ADP_ANALYSIS_PROVIDER 20080103

Method DELETE_PROVIDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROCESS Call by reference Type reference (TYPE) RSAN_PROCESS Analyseprozess 20080327

Method DELETE_PROVIDER on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method DELETE_TREX_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROCESS Call by reference Type reference (TYPE) RSAN_PROCESS Analyseprozess 20080327

Method DELETE_TREX_INDEX on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method GET_INDEX_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_INDEX_ID Value transfer Type reference (TYPE) TREXD_INDEX_ID 20080103
2 Importing I_PROCESS Call by reference Type reference (TYPE) RSAN_PROCESS 20080103

Method GET_INDEX_NAME on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method GET_META_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_FIELDS Call by reference Type reference (TYPE) YTH_FIELDS 20080314

Method GET_META_DATA on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method _CHECK_MDL_FOR_TREX_IDX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IS_LEFT_PATH Call by reference Type reference (TYPE) AS4FLAG 'X' 20080103
2 Importing I_JOIN_NODE_SEEN Call by reference Type reference (TYPE) AS4FLAG 20080103
3 Importing I_R_MDL Call by reference Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
4 Importing I_R_NODE Call by reference Object reference (TYPE REF TO) IF_RSAN_OM_ELEMENT 20080103
# Exception Resumable Description Created on
1 CX_RSAN_ADP_ANALYSIS_PROVIDER 20080103

Method _COMP_DESCR_TO_AB_COMPDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RVAL Value transfer Type reference (TYPE) ABAP_COMPONENTDESCR 20080103
2 Importing I_DESCRIPTOR Call by reference Type reference (TYPE) TREXS_COMP_DESCR 20080103

Method _COMP_DESCR_TO_AB_COMPDESCR on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method _CREATE_TABLE_FROM_COMP_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RVAL Value transfer Object reference (TYPE REF TO) DATA 20080103
2 Importing I_DESCRIPTOR Call by reference Type reference (TYPE) TREXT_COMP_DESCR 20080103

Method _CREATE_TABLE_FROM_COMP_DESCR on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method _GET_MDL_INFO_FOR_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BO_INFO Call by reference Type reference (TYPE) YT_BO_INFO 20080103
2 Changing CT_FIELD_MAPPING Call by reference Type reference (TYPE) YT_FIELD_MAPPING 20080103
3 Exporting ET_BO_VIEWS Call by reference Type reference (TYPE) TREXT_BO_VIEWS 20080103
4 Exporting ET_JOIN_CONDITIONS Call by reference Type reference (TYPE) TREXT_STATIC_JOIN_CONDITION 20080103
5 Exporting ET_JOIN_INDEXES Call by reference Type reference (TYPE) TREXT_JOIN_INDEX 20080103
6 Exporting ET_JOIN_PATHS Call by reference Type reference (TYPE) TREXT_JOIN_PATHS 20080103
7 Exporting ET_KEY_FIGURES Call by reference Type reference (TYPE) TREXT_KEY_FIGURE 20080103
8 Exporting ET_STATIC_QUERY_ENTRIES Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES 20080103
9 Exporting ET_VIEW_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_VIEW_ATTRIBUTES 20080103
10 Importing I_IS_LEFT_PATH Call by reference Type reference (TYPE) AS4FLAG 'X' 20080103
11 Importing I_JC_IDX_LAST Call by reference Type reference (TYPE) N '0' 20080103
12 Importing I_JP_IDX_LAST Call by reference Type reference (TYPE) N '0' 20080103
13 Importing I_MDL Call by reference Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
14 Importing I_NODE Call by reference Object reference (TYPE REF TO) IF_RSAN_OM_ELEMENT 20080103
# Exception Resumable Description Created on
1 CX_RSAN_ADP_ANALYSIS_PROVIDER Error Class for Analysis Provider 20080317

Method _REWRITE_MODEL_FOR_PROVIDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_NEW_MDL Call by reference Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
2 Exporting ER_NEW_TARGET Call by reference Object reference (TYPE REF TO) IF_RSAN_OM_ELEMENT 20080103
3 Importing IR_MDL Call by reference Object reference (TYPE REF TO) CL_RSAN_MDL_ABSTRACT_ANALYSIS 20080103
4 Importing ITH_SFC Call by reference Type reference (TYPE) RSDRI_TH_SFC 20080103
5 Importing ITH_SFK Call by reference Type reference (TYPE) RSDRI_TH_SFK 20080103
6 Importing IT_RANGE Call by reference Type reference (TYPE) RSDRI_T_RANGE 20080103
7 Importing I_USE_AGGREGATION Call by reference Type reference (TYPE) RS_BOOL 20080103
# Exception Resumable Description Created on
1 CX_RSAN_MDL_CHECK 20080103

Method _TREX_CREATE_QUERY_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_QUERY_ENTRIES Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES 20080103
2 Importing IT_IOBJ_MAPPING Call by reference Type reference (TYPE) YT_PRP_PROVF 20080103
3 Importing IT_QUERY_ENTRIES Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES 20080103
4 Importing IT_RANGE Call by reference Type reference (TYPE) RSDRI_T_RANGE 20080103

Method _TREX_CREATE_QUERY_ENTRIES on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method _TREX_PROCESS_SFC_JOIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COMP_DESCR Call by reference Type reference (TYPE) TREXT_COMP_DESCR Beschreibung der Komponenten 20080317
2 Changing CT_REQ_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_JOIN_ATTRIBUTES Attribute mit Index-ID und Join-Pfad 20080317
3 Exporting ET_SORT_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_SORT_ATTRIBUTES Sortierattribute 20080317
4 Importing ITH_SFC Call by reference Type reference (TYPE) RSDRI_TH_SFC BW-Data-Manager: Liste von Merkmalen 20080317
5 Importing IT_COMP_DESCR Call by reference Type reference (TYPE) YT_PRP_TREXC 20080317
6 Importing IT_IOBJ_MAPPING Call by reference Type reference (TYPE) YT_PRP_PROVF 20080317

Method _TREX_PROCESS_SFC_JOIN on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.

Method _TREX_PROCESS_SFK_JOIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COMP_DESCR Call by reference Type reference (TYPE) TREXT_COMP_DESCR Beschreibung der Komponenten 20080317
2 Changing CT_REQ_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_JOIN_ATTRIBUTES Attribute mit Index-ID und Join-Pfad 20080317
3 Exporting ET_KEY_FIGURES Call by reference Type reference (TYPE) TREXT_KEY_FIGURE Kennzahl 20080319
4 Importing ITH_SFK Call by reference Type reference (TYPE) RSDRI_TH_SFK BW-Data-Manager: Liste von Kennzahlen 20080317
5 Importing IT_COMP_DESCR Call by reference Type reference (TYPE) YT_PRP_TREXC 20080317
6 Importing IT_IOBJ_MAPPING Call by reference Type reference (TYPE) YT_PRP_PROVF 20080317

Method _TREX_PROCESS_SFK_JOIN on class CL_RSAN_ADP_ANALYSIS_PROVIDER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 711