TCGES_QUERY SAP table for – EHS: Search Form Enterprise Search

Here we would like to draw your attention to TCGES_QUERY table in SAP. As we know it is being mainly used with the SAP EHS-SAF (Product Safety in EHS) component which is coming under EHS module (Environment, Health and Safety). TCGES_QUERY is a SAP standard transp table used for storing EHS: Search Form Enterprise Search related data in SAP. It comes under the package CBUI.

SAP TCGES_QUERY table

Table TCGES_QUERY technical data

TableTCGES_QUERY
Data storingEHS: Search Form Enterprise Search
ModuleEHS
Sub ModuleEHS-SAF
SAP PackageCBUI
Delivery ClassL – Table for storing temporary data
ComponentEA-APPL
Table CategoryTRANSP

SAP TCGES_QUERY Table Fields

Here is the details of each fields in this SAP table. You can find the discription, data type and assigned lenth of each of the fields in TCGES_QUERY table.

  • MANDT : Client
    Its a key field. Its data type is CLNT (Character with length 3) with field length 3
  • QUERY_ID : Sequential Number of Data Record
    Its a key field. Its data type is NUMC (Character String with Digits Only) with field length 20
  • QUERY_NAME : Query Name
    Its a key field. Its data type is CHAR (Character String) with field length 40
  • USERID : User Name
    Its a key field. Its data type is CHAR (Character String) with field length 12
  • OBJTYPE : Specification Category
    Its a key field. Its data type is CHAR (Character String) with field length 10
  • CRDATE : Date
    Its data type is DATS (Date (Date: YYYYMMDD)) with field length 8
  • CRTIME : Field of type TIMS
    Its data type is TIMS (Time (Time: HHMMSS)) with field length 6
  • QUERY_FORM : Data Selection for Search
    Its data type is CHAR (Character String) with field length 20
  • QUERY_SEARCHTEXT : Search Text for Enterprise Search
    Its data type is STRG (Character String of Variable Length) with field length 0
  • QUERY_SEARCHMODE : Single-Character Flag
    Its data type is CHAR (Character String) with field length 1
  • UPDDAT : Date
    Its data type is DATS (Date (Date: YYYYMMDD)) with field length 8
  • UPDTIME : Field of type TIMS
    Its data type is TIMS (Time (Time: HHMMSS)) with field length 6