SAP ABAP Function Module TREX_DBS_AGGREGATE (Calculates aggregation)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TRX-API (Application Component) TREX ABAP + JAVA API
     STREX (Package) TREX ABAP client
Basic Data
Function Module TREX_DBS_AGGREGATE Calculates aggregation  
Function Group TREX_DBS_TM   Textmining & Search  
Program Name SAPLTREX_DBS_TM    
INCLUDE Name LTREX_DBS_TMU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Changing C_AGGREGATION_RESULT TYPE STANDARD TABLE BW only: Aggregation result
Exporting E_RETURN_CODE TYPE TREX_RFC-RETURN_CODE Return code
Exporting E_RETURN_TEXT TYPE TREX_RFC-RETURN_TEXT Return text
Exporting E_RETURN_TEXT_LONG TYPE STRING Return text (no truncation)
Exporting E_COMPONENT_RUNTIME TYPE TREXS_COMPONENT_RUNTIME Run time of the TREX components
Exporting E_TRACE TYPE TREXT_LINES_WITH_LB Trace
Exporting E_DFI_USED TYPE TREX_RFC-BOOLEAN
Exporting E_MORE_PACKAGES TYPE TREX_RFC-BOOLEAN 1: more packages to be transferred
Exporting E_NO_OF_HITS TYPE I Number of hits returned
Exporting E_NO_OF_ALL_HITS TYPE I Total number of hits in index
Exporting E_HANDLE_ID TYPE STRING Handle id for TREX_EXT_GET_NEXT_AGGR_RESULT
Importing I_INDEX_ID TYPE TREX_RFC-INDEX_ID Index Id
Importing I_SCHEMA_NAME TYPE TREX_RFC-INDEX_ID '' Schema name (if default schema is not used)
Importing I_RESULT_FROM TYPE I 1 from
Importing I_RESULT_TO TYPE I 0 to
Importing I_QUERY_ENTRIES TYPE TREXT_QUERY_ENTRIES Query Entries
Importing I_SORT_ATTRIBUTES TYPE TREXT_SORT_ATTRIBUTES Sort attributes
Importing I_REQ_ATTRIBUTES TYPE TREXT_ATTRIBUTES Requested attributes
Importing I_REQ_ATTRIBUTES_2 TYPE TREXT_REQ_ATTRIBUTES_EXT Requested attributes (enhanced)
Importing I_REQUESTED_RESULTS TYPE TREX_RFC-REQUESTED_RESULTS 6 6: Aggregate requested (other value obsolete)
Importing I_JOIN_CONDITIONS TYPE TREXT_STATIC_JOIN_CONDITION Static join condition
Importing I_KEY_FIGURES TYPE TREXT_KEY_FIGURE Key figures
Importing I_KEY_FIGURES_2 TYPE HDBT_KEY_FIGURE HANA: Key Figure
Importing I_INDEX_ALIAS_OPERATION TYPE TREXT_INDEX_ALIAS_OPERATION Index Alias Operation
Importing I_TOP_TYPE TYPE TREX_RFC-TOP_TYPE 0 0, 1 (top k), 2 (top sum), 3 (top percent)
Importing I_TOP_VALUE TYPE TREX_RFC-TOP_VALUE ''
Importing I_TOP_MAX_EQUALS TYPE TREX_RFC-MAX_RESULTS 0
Importing I_NULL_SID TYPE I Null sid for olap count distinct queries
Importing I_STAR_COUNT TYPE TREXT_STAR_COUNT Star count
Importing I_FACTOR_KEY_FIGURES TYPE TREXT_FACTOR_KEY_FIGURES Factor key figures
Importing I_FACTOR_ATTRIBUTES TYPE TREXT_FACTOR_ATTRIBUTES Factor attributes
Importing I_COMP_DESCR TYPE TREXT_COMP_DESCR Description of the aggregation result table
Importing I_STAGING TYPE TREX_RFC-BOOLEAN 0 Obsolete
Importing I_QUERY_ID TYPE TREX_RFC-QUERY_ID Query Id for tracing
Importing I_SWITCH_ON_TRACE TYPE NUMC2 1: python trace, 2: executor (plan), 3:1+ 2
Importing I_TRACE_COMPONENTS TYPE CHAR128 Trace components
Importing I_USE_DFI TYPE TREX_RFC-BOOLEAN 0 DimFunction Index: 0 default, 1 on, 2 off
Importing I_DEBUG_COMMANDS TYPE CHAR128 Debug commands
Importing I_PLACEHOLDERS TYPE TREXT_PLACEHOLDERS Placeholder
Importing I_ACCEPT_DATA_LOSS TYPE ABAP_BOOL ABAP_FALSE Obsolete
Importing I_VALUE_HANDLING TYPE STRING '' Optional: Value handling for call transformation
Importing I_CALCULATION_VIEW TYPE STRING '' Calculation view
Importing I_RESULT_INDEX_NAME TYPE TREXD_INDEX_ID Index Id for Result Index
Importing I_COMMIT_ID TYPE TREXD_TRANSACTION_ID
Importing I_REQUEST_FLAGS TYPE CLIKE Only numeric chars with max. length 19 are accepted.
Importing I_HAVING_FILTER TYPE STRING ''
Importing I_RESULT_CHUNK_SIZE TYPE INT4 0 TREX only: result chunk size (number of cells)
Importing I_RESULT_CHUNK_SIZE_ROW TYPE INT4 0 HANA only: result chunk size (number of rows)
Importing I_CALC_MODEL TYPE STRING HANA only: calculation model
Exception CONVERSION_ERROR TYPE Error during conversion
Exception ERROR TYPE Error, see error message
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20110909 
SAP Release Created in 800