SAP Function TREX_EXT_MINING - Calculates aggregation

Parameter Reference Type Length Default Optional Text
I_COMP_DESCR TREXT_COMP_DESCR h 111 Description of the aggregation result table
I_INDEX_ALIAS_OPERATION TREXT_INDEX_ALIAS_OPERATION h 129 X Index Alias Operation
I_INDEX_IDS TREXT_INDEX_IDS h 64 Index Ids
I_ITEM_ATTRIBUTES TREXT_ATTRIBUTES h 64 X Item attribute (currently only one attribute supported)
I_JOIN_CONDITIONS TREXT_STATIC_JOIN_CONDITION h 527 X Static join condition
I_KEY_FIGURES TREXT_KEY_FIGURE h 66 X Key figure
I_KEY_FIGURES_EXT TREXT_KEY_FIGURE_EXT h 76 X Key figure
I_MIN_CONFIDENCE F F 8 -1 X Rules: Minimum confidence for rules (1 = 100%, >1 deactivated)
I_MIN_SUPPORT F F 8 X Items: Minimum occurrence of an item in all transactions (0 = 0%, 1 = 100%)
I_NULL_SID I I 4 X Null sid for olap count distinct queries
I_NULL_VALUES TREXT_NULL_VALUES h 74 X Null values
I_QUERY_ENTRIES TREXT_QUERY_ENTRIES h 200 X Query Entries
I_REQUESTED_RESULTS TREX_RFC-REQUESTED_RESULTS b 1 20 X 20: Attribute Mining, 21: Market Basket Analysis
I_REQ_ATTRIBUTES TREXT_ATTRIBUTES h 64 X Requested attributes
I_RESULT_INDEX_NAME TREXD_INDEX_ID C 64 X Index Id for storing of result set
I_RESULT_TYPE TREX_RFC-BOOLEAN N 1 0 X 0: items + rules; 1: rules; 2: items
I_RFC_DESTINATION TREX_RFC-RFC_DESTINATION C 32 RFC Destination
I_RULE_CHARACTERISTIC TREXS_RULE_CHARACTERISITC u 16 X Rules: Minimum and maximum length of condition and conclusion of rules
I_SAMPLING_RATE F F 8 1 X Percentage of data to use for mining (1 = 100%)
I_SORT_ATTRIBUTES TREXT_SORT_ATTRIBUTES h 151 X Sort attributes
I_SWITCH_ON_TRACE NUMC2 N 2 0 X
I_TID_ATTRIBUTES TREXT_ATTRIBUTES h 64 X Transaction identifiers
I_TOPX_ITEMS I I 4 100 X Items: maximum number
I_TOPX_MAX_EQUALS I I 4 -1 X
I_TOPX_RULES I I 4 100 X Rules: maximum number

Parameter Reference Type Length Text
E_COMPONENT_RUNTIME TREXS_COMPONENT_RUNTIME u 16 Run time of the TREX components
E_NO_OF_ALL_HITS I I 4 Total number of hits in index
E_RESULT_TABLE REF TO DATA 0 Result table
E_RETURN_CODE TREX_RFC-RETURN_CODE I 4 Return code
E_RETURN_TEXT TREX_RFC-RETURN_TEXT C 200 Return text
E_TRACE TREXT_TRACE_LINES h 12 Trace

Exception Text
CONVERSION_ERROR Error during conversion
ERROR Error, see error message