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 | 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
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20080103 | ||
| 2 | Instance method | Public | Method | Provider: Create and activate virtual provider | 20080103 | |
| 3 | Instance method | Public | Method | TREX: Create TREX Join Index | 20080103 | |
| 4 | Static method | Public | Method | Provider: Delete Virtual Provider (currently only message) | 20080103 | |
| 5 | Static method | Public | Method | TREX: Remove TREX Join Index | 20080103 | |
| 6 | Static method | Public | Method | TREX: Calculated Join index name from APD name | 20080103 | |
| 7 | Instance method | Public | Method | Runtime: Get InfoProvider Field List | 20080314 | |
| 8 | Instance method | Private | Method | TREX: Check if TREX runtime can be used | 20080103 | |
| 9 | Static method | Private | Method | Runtime: Build Output Structure for TREX Node | 20080103 | |
| 10 | Static method | Private | Method | Runtime: Get ABAP Data Structure for TREX Index | 20080103 | |
| 11 | Instance method | Private | Method | TREX: Prepare Metadata for TREX Join Index | 20080103 | |
| 12 | Instance method | Private | Method | Runtime Classic: Convert SFC/SFK into APD Nodes | 20080103 | |
| 13 | Static method | Private | Method | Runtime: Convert whereclause from query into trex parameters | 20080103 | |
| 14 | Instance method | Private | Method | Runtime: Convert group by fields into trex parameter | 20080317 | |
| 15 | 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 | IR_ANALYSIS | Value transfer | Object reference (TYPE REF TO) | CL_RSAN_ADP_ANALYSIS | 20080103 | ||||
| 2 | IR_RESULTS | Value transfer | Object reference (TYPE REF TO) | CL_RSAN_ADP_RESULTS | 20080103 | ||||
| 3 | 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 | 20080103 |
Method CREATE_CHANGE_TREX_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NEW_TIMESTMP | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080323 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080103 |
Method DELETE_PROVIDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | E_INDEX_ID | Value transfer | Type reference (TYPE) | TREXD_INDEX_ID | 20080103 | ||||
| 2 | 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 | 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 | I_IS_LEFT_PATH | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | 20080103 | |||
| 2 | I_JOIN_NODE_SEEN | Call by reference | Type reference (TYPE) | AS4FLAG | 20080103 | ||||
| 3 | I_R_MDL | Call by reference | Object reference (TYPE REF TO) | CL_RSAN_MDL_ABSTRACT_ANALYSIS | 20080103 | ||||
| 4 | I_R_NODE | Call by reference | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | 20080103 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080103 |
Method _COMP_DESCR_TO_AB_COMPDESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RVAL | Value transfer | Type reference (TYPE) | ABAP_COMPONENTDESCR | 20080103 | ||||
| 2 | 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 | E_RVAL | Value transfer | Object reference (TYPE REF TO) | DATA | 20080103 | ||||
| 2 | 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 | CT_BO_INFO | Call by reference | Type reference (TYPE) | YT_BO_INFO | 20080103 | ||||
| 2 | CT_FIELD_MAPPING | Call by reference | Type reference (TYPE) | YT_FIELD_MAPPING | 20080103 | ||||
| 3 | ET_BO_VIEWS | Call by reference | Type reference (TYPE) | TREXT_BO_VIEWS | 20080103 | ||||
| 4 | ET_JOIN_CONDITIONS | Call by reference | Type reference (TYPE) | TREXT_STATIC_JOIN_CONDITION | 20080103 | ||||
| 5 | ET_JOIN_INDEXES | Call by reference | Type reference (TYPE) | TREXT_JOIN_INDEX | 20080103 | ||||
| 6 | ET_JOIN_PATHS | Call by reference | Type reference (TYPE) | TREXT_JOIN_PATHS | 20080103 | ||||
| 7 | ET_KEY_FIGURES | Call by reference | Type reference (TYPE) | TREXT_KEY_FIGURE | 20080103 | ||||
| 8 | ET_STATIC_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | 20080103 | ||||
| 9 | ET_VIEW_ATTRIBUTES | Call by reference | Type reference (TYPE) | TREXT_VIEW_ATTRIBUTES | 20080103 | ||||
| 10 | I_IS_LEFT_PATH | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | 20080103 | |||
| 11 | I_JC_IDX_LAST | Call by reference | Type reference (TYPE) | N | '0' | 20080103 | |||
| 12 | I_JP_IDX_LAST | Call by reference | Type reference (TYPE) | N | '0' | 20080103 | |||
| 13 | I_MDL | Call by reference | Object reference (TYPE REF TO) | CL_RSAN_MDL_ABSTRACT_ANALYSIS | 20080103 | ||||
| 14 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | 20080103 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ER_NEW_MDL | Call by reference | Object reference (TYPE REF TO) | CL_RSAN_MDL_ABSTRACT_ANALYSIS | 20080103 | ||||
| 2 | ER_NEW_TARGET | Call by reference | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | 20080103 | ||||
| 3 | IR_MDL | Call by reference | Object reference (TYPE REF TO) | CL_RSAN_MDL_ABSTRACT_ANALYSIS | 20080103 | ||||
| 4 | ITH_SFC | Call by reference | Type reference (TYPE) | RSDRI_TH_SFC | 20080103 | ||||
| 5 | ITH_SFK | Call by reference | Type reference (TYPE) | RSDRI_TH_SFK | 20080103 | ||||
| 6 | IT_RANGE | Call by reference | Type reference (TYPE) | RSDRI_T_RANGE | 20080103 | ||||
| 7 | I_USE_AGGREGATION | Call by reference | Type reference (TYPE) | RS_BOOL | 20080103 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080103 |
Method _TREX_CREATE_QUERY_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | 20080103 | ||||
| 2 | IT_IOBJ_MAPPING | Call by reference | Type reference (TYPE) | YT_PRP_PROVF | 20080103 | ||||
| 3 | IT_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | 20080103 | ||||
| 4 | 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 | CT_COMP_DESCR | Call by reference | Type reference (TYPE) | TREXT_COMP_DESCR | Beschreibung der Komponenten | 20080317 | |||
| 2 | CT_REQ_ATTRIBUTES | Call by reference | Type reference (TYPE) | TREXT_JOIN_ATTRIBUTES | Attribute mit Index-ID und Join-Pfad | 20080317 | |||
| 3 | ET_SORT_ATTRIBUTES | Call by reference | Type reference (TYPE) | TREXT_SORT_ATTRIBUTES | Sortierattribute | 20080317 | |||
| 4 | ITH_SFC | Call by reference | Type reference (TYPE) | RSDRI_TH_SFC | BW-Data-Manager: Liste von Merkmalen | 20080317 | |||
| 5 | IT_COMP_DESCR | Call by reference | Type reference (TYPE) | YT_PRP_TREXC | 20080317 | ||||
| 6 | 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 | CT_COMP_DESCR | Call by reference | Type reference (TYPE) | TREXT_COMP_DESCR | Beschreibung der Komponenten | 20080317 | |||
| 2 | CT_REQ_ATTRIBUTES | Call by reference | Type reference (TYPE) | TREXT_JOIN_ATTRIBUTES | Attribute mit Index-ID und Join-Pfad | 20080317 | |||
| 3 | ET_KEY_FIGURES | Call by reference | Type reference (TYPE) | TREXT_KEY_FIGURE | Kennzahl | 20080319 | |||
| 4 | ITH_SFK | Call by reference | Type reference (TYPE) | RSDRI_TH_SFK | BW-Data-Manager: Liste von Kennzahlen | 20080317 | |||
| 5 | IT_COMP_DESCR | Call by reference | Type reference (TYPE) | YT_PRP_TREXC | 20080317 | ||||
| 6 | 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 |