TREXS_QUERY_ENTRY SAP (QueryEntry) Structure details

Dictionary Type: Structure
Description: QueryEntry




ABAP Code to SELECT data from TREXS_QUERY_ENTRY
Related tables to TREXS_QUERY_ENTRY
Access table TREXS_QUERY_ENTRY




Structure field list including key, data, relationships and ABAP select examples

TREXS_QUERY_ENTRY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "QueryEntry" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_TREXS_QUERY_ENTRY TYPE TREXS_QUERY_ENTRY.

The TREXS_QUERY_ENTRY table consists of various fields, each holding specific information or linking keys about QueryEntry data available in SAP. These include VALUE1 (Value low), VALUE2 (Value high (only for between search)), ROWTYPE (Rowtype (TERM, OPERATOR, ATTRIBUTE,FREESTYLE,...)), OPERATOR (Operator (EQ, BT, ...)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP TREXS_QUERY_ENTRY structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
LOCATIONAttribute name TREXD_ATTR_NAMECHAR64
VALUE1 Value low0
VALUE2 Value high (only for between search)0
ROWTYPERowtype (TERM, OPERATOR, ATTRIBUTE,FREESTYLE,...) TREXD_ROWTYPECHAR15TREXD_ROWTYPE
OPERATOROperator (EQ, BT, ...) TREXD_OPERATORCHAR2TREXD_OPERATOR
CONTENT_TYPEContent type TREXD_CONTENT_TYPECHAR1TREXD_CONTENT_TYPE
TERM_ACTIONTerm action (Exact, fuzzy, linquistic search) TREXD_TERM_ACTIONCHAR1TREXD_TERM_ACTION
TERM_WEIGHT Weighting0
NEAR_WIDTH Phrase search: max. distance between two terms0
NEAR_ORDER Phrase search: order of the terms; 0=ordered, 1=unordered0
FUZZY_SIMILARITY Fuzzy search: similarity 0..100000
RANK_METHOD Phrase search: 0=nearRanking, 1=frequencyRanking, 2=combined0
SEARCH_FLAGSearch Flag TREXD_SEARCH_FLAGINT13TREXD_SEARCH_FLAG
FEMS_NUMBER BW only: FEMS number0
INDEX_IDIndex Id TREXD_INDEX_IDCHAR64TREXD_INDEX_ID
JOIN_PATH Join Path0
LOC_LANGU Language for location (not for the indexId)0
QUERY_PART Number of the query part (from -4999 to 5000)0
BULK_QUERY_PART Number of bulk query (from 0 to 9999)0
IS_PREDICATE Optional: 1=Predicate search0

Key field Non-key field



How do I retrieve data from SAP structure TREXS_QUERY_ENTRY using ABAP code?

As TREXS_QUERY_ENTRY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on TREXS_QUERY_ENTRY as there is no data to select.

How to access SAP table TREXS_QUERY_ENTRY

Within an ECC or HANA version of SAP you can also view further information about TREXS_QUERY_ENTRY and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!