SAP Function TREX_EXT_CLASSIFY_DOCUMENTS - Classify Documents

Parameter Reference Type Length Default Optional Text
I_CLASSIFY_ATTR TREX_RFC-CLASSIFY_ATTR C 64 X Classification attribute (defines category for classification)
I_CLASSIFY_ATTRS TREXT_ATTRIBUTES h 64 X Classification attribute
I_CLASSIFY_METHOD TREX_RFC-CLASSIFY_METHOD C 10 X KNN, CENTROID, SAPMETHOD
I_CLASSIFY_TYPE TREX_RFC-CLASSIFY_TYPE C 1 X Optional: 1: QUERY_BASED, 2:EXAMPLE_BASED, 3:TYPE_BOTH, 0:TYPE_UNKNOWN
I_DOC_SEL_QUERY TREX_RFC-DOC_SEL_QUERY C 1024 X Optional: DocumentSelectionQuery
I_INDEXSERVER_LOCATION TREX_RFC-LOCATION C 20 X Host:Port
I_INDEX_ID TREX_RFC-INDEX_ID C 64 Index Id
I_LANGUAGE TREX_RFC-LANGUAGE C 2 X Language
I_MAX_RESULTS I I 4 '20' X Number of results
I_RFC_DESTINATION TREX_RFC-RFC_DESTINATION C 32 RFC Destination
I_SEARCH_DOCS TREXT_SEARCH_DOCS h 112 Documents for Classification
I_STAGING TREX_RFC-BOOLEAN N 1 0 X Staging, 0: false, 1: true
I_THRESHOLD TREX_RFC-NUMC I 4 X Threshold between 1 and 1000
I_USE_KEYWORDS TREX_RFC-FLAG C 1 '' X Optional: Keywords are used for Classification Call

Parameter Reference Type Length Text
E_RESULT_CONTAINER TREXT_RESULT_CONTAINER h 280 TMResultCont. contains several objects of type ResultElement
E_RETURN_CODE TREX_RFC-RETURN_CODE I 4 Returncode
E_RETURN_TEXT TREX_RFC-RETURN_TEXT C 200 Returntext

Exception Text
CONVERSION_ERROR Fehler beim Konvertieren nach utf8
ERROR Fehler, siehe Fehlermeldung