AQADEF SAP (SAP Query (S): General Definitions) Structure details

Dictionary Type: Structure
Description: SAP Query (S): General Definitions




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




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

AQADEF 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 "SAP Query (S): General Definitions" 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_AQADEF TYPE AQADEF.

The AQADEF table consists of various fields, each holding specific information or linking keys about SAP Query (S): General Definitions data available in SAP. These include USERGROUP (SAP Query (S): Name of a user group), FUNCAREA (SAP Query (S): InfoSet), WSID (SAP Query (S): Work Area ID), QUNAME (SAP Query (S): Query name).. 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: Not classified


SAP AQADEF 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
QUERYSAP Query (S): Query name AQS_QUNAMECHAR14AQT_QUNAME
USERGROUPSAP Query (S): Name of a user group AQS_BGNAMECHAR12AQT_BGNAME
FUNCAREASAP Query (S): InfoSet AQS_SGNAMECHAR24AQT_SGNAME
WSIDSAP Query (S): Work Area ID AQS_WSIDCHAR1AQT_WSID
QUNAMESAP Query (S): Query name AQS_QUNAMECHAR14AQT_QUNAME
BGNAMESAP Query (S): Name of a user group AQS_BGNAMECHAR12AQT_BGNAME
SGNAMESAP Query (S): InfoSet AQS_SGNAMECHAR24AQT_SGNAME
TNAMESAP Query (S): Table name AQS_TNAMECHAR30AQT_TNAME
TFNAMESAP QUery (S): Name of a database field without prefix AQS_TFNAMECHAR30AQT_TFNAME
FNAMESAP Query (S): Field name (table field) AQS_FNAMECHAR70AQT_FNAME
ZFNAMESAP Query (S): Name of an additional field AQS_ZFNAMECHAR21AQT_ZFNAME
FTEXTSAP Query (S): Long text for a field AQS_FTEXTCHAR60AQT_FTEXT
KNAMESAP Query (S): Short name AQS_KNAMECHAR10AQT_KNAME
IKNAMESAP Query (S): Internal short name AQS_IKNAMENUMC4AQT_IKNAME
FUNAMESAP Query (S): Function module name AQS_FUNCCHAR30AQS_C30
PGNAMESAP Query (S): Program name (long) AQS_PGNAMECHAR40AQT_PGNAME
PGNAMSSAP Query (S): Program name (Short) AQS_PGNAMSCHAR30AQT_PGNAMS
VARISAP Query (S): Variant name AQS_VARICHAR14AQT_VARI
PSNAMESAP Query (S): Name of a selection AQS_PSNAMECHAR8AQT_PSNAME
LOGDBSAP Query (S): Name of a logical database AQS_LOGDBCHAR20AQT_LOGDB
TYPEPOOLSAP Query (S): Type pool AQS_TPOOLCHAR5AQS_C5
TINDXSAP Query (S): Text Index AQS_TINDXNUMC5AQT_TINDX
NUMBSAP Query (S): Field group name AQS_NUMBCHAR2AQT_NUMB
FLAGSAP Query (S): Flag AQS_FLAGCHAR1AQT_FLAG
ERROR_CNTSAP Query (S): Number (N) AQS_ANZNUMC4AQS_N4
TRANSSAP Query (S): Transport Request AQS_TRANSCHAR20AQT_TRANS
DEVCSAP Query (S): Packet AQS_DEVCCHAR30AQT_DEVC
DONAMESAP Query (S): Domain name AQS_DONAMECHAR30AQT_DONAME
DOVALTEXTSAP Query (S): Short text for domain fixed values AQS_VALTCHAR60DDTEXT
ERR_LINESAP Query : Line number (Integer) AQS_INTINT410AQS_I
ERR_WORDSAP Query : Wrong word according to syntax check AQS_WORDCHAR30AQS_C30K
BGNUMBERSAP Query (S): User group number AQS_BGNUMBNUMC6AQT_BGNUMB
SGNUMBERSAP Query (S): Functional Area Number AQS_SGNUMBNUMC18AQT_SGNUMB
QUNUMBERSAP Query (S): Query number AQS_QUNUMBNUMC12AQT_QUNUMB

Key field Non-key field



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

As AQADEF 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 AQADEF as there is no data to select.

How to access SAP table AQADEF

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