SMI_SRCHQRY SAP (Search Query Definition) Table details

Dictionary Type: Table
Description: Search Query Definition




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




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

SMI_SRCHQRY is a standard SAP Table which is used to store Search Query Definition data and is available within R/3 SAP systems depending on the version and release level.

The SMI_SRCHQRY table consists of various fields, each holding specific information or linking keys about Search Query Definition data available in SAP. These include SOCIALMEDIACHANNEL (Social Media Channel Code), LANGUAGE (Language Key), SOCIALPOSTSEARCHTERM (Keyword IDs from Search Terms), ISSCHEDULINGQUERY (Indicator of Scheduling or Streaming).. 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: G - Customising table which is protected against SAP Update
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP SMI_SRCHQRY table 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
SOCIALMEDIACHANNELSocial Media Channel Code SMI_SOCIALMEDIACHANNELCHAR4SMI_CHNLDEFSMI_UNIQUE_IDSMI_SOCIALMEDIACHANNEL
LANGUAGELanguage Key SPRASLANG1SMI_VOCLANGISOLASPRASSPRH_T002
SOCIALPOSTSEARCHTERMKeyword IDs from Search Terms SMI_SOCIALPOSTSEARCHTERMCHAR4SMI_SRCHTERMSMI_UNIQUE_IDSMI_SOCIALPOSTSEARCHTERM
ISSCHEDULINGQUERYIndicator of Scheduling or Streaming SMI_ISSCHEDULINGQUERYCHAR1SMI_SOC_STATUS
NUMBEROFSOCIALPOSTPERPAGENumber of Social Post Requested per Page SMI_NUMBEROFSOCIALPOSTPERPAGEINT410SMI_COUNT
NUMBEROFGETREQUESTSALLOWEDMaximum Number of Queries on Social Media SMI_NUMBEROFGETREQUESTSALLOWEDINT410SMI_COUNT
LASTPROCESSEDSOCIALPOSTLast Retrieved Social Post Details SMI_LASTPROCESSEDSOCIALPOSTCHAR50SMI_LASTPROCESSEDSOCIALPOST
SOCIALMEDIAQUERYISACTIVEChecks if the Query is Active SMI_SOCIALMEDIAQUERYISACTIVECHAR1SMI_SOC_STATUS
SEARCHQUERYEXECUTIONINTERVALScheduling Frequency in Minutes SMI_SEARCHQUERYEXECUTEINTERVALINT410SMI_COUNT
LASTCHANGEDDATETIMESearch Query Last Changed Timestamp SMI_LASTCHANGEDDATETIMECHAR50SMI_DATETIME
CREATIONDATETIMEPost Creation Timestamp SMI_CREATIONDATETIMECHAR50SMI_DATETIME

Key field Non-key field



How do I retrieve data from SAP table SMI_SRCHQRY using ABAP code

The following ABAP code Example will allow you to do a basic selection on SMI_SRCHQRY to SELECT all data from the table
DATA: WA_SMI_SRCHQRY TYPE SMI_SRCHQRY.

SELECT SINGLE *
FROM SMI_SRCHQRY
INTO CORRESPONDING FIELDS OF WA_SMI_SRCHQRY
WHERE...

How to access SAP table SMI_SRCHQRY

Within an ECC or HANA version of SAP you can also view further information about SMI_SRCHQRY 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!