AQPROT SAP (Query Logging) Table details
Dictionary Type: Table
Description: Query Logging
Description: Query Logging
Table field list including key, data, relationships and ABAP select examples
AQPROT is a standard SAP Table which is used to store Query Logging data and is available within R/3 SAP systems depending on the version and release level.
The AQPROT table consists of various fields, each holding specific information or linking keys about Query Logging data available in SAP. These include SESSION_ID (GUID in 'CHAR' Format in Uppercase), LFDNUM (SAP Query (T): Sequence number), WORKSPACE (SAP Query (S): Work Area ID), FUNCAREA (SAP Query (S): InfoSet).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP AQPROT 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
SESSION_ID | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | SYSUUID_C | ||||
LFDNUM | SAP Query (T): Sequence number | AQT_CCNT | NUMC | 6 | AQS_N6 | ||||
WORKSPACE | SAP Query (S): Work Area ID | AQS_WSID | CHAR | 1 | AQT_WSID | ||||
FUNCAREA | SAP Query (S): InfoSet | AQS_SGNAME | CHAR | 24 | AQT_SGNAME | ||||
USERNAME | User Name | UNAME | CHAR | 12 | UNAME | ||||
TSP_DATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
TSP_TIME | System Time | SYUZEIT | TIMS | 6 | SYTIME | ||||
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
AQ_FIELD | SAP Query (S): Field name (table field) | AQS_FNAME | CHAR | 70 | AQT_FNAME | ||||
FIELDTYPE | Field type (output/selction feld) | AQS_FTYPE | NUMC | 1 | AQS_FTYPE | ||||
SIGN | ABAP: ID: I/E (include/exclude values) | TVARV_SIGN | CHAR | 1 | SYCHAR01 | ||||
OPTI | ABAP: Selection option (EQ/BT/CP/...) | TVARV_OPTI | CHAR | 2 | SYCHAR02 | ||||
LOW | ABAP/4: Selection value (LOW or HIGH value, external format) | TVARV_VAL | CHAR | 45 | RSSELVALUE | ||||
HIGH | ABAP/4: Selection value (LOW or HIGH value, external format) | TVARV_VAL | CHAR | 45 | RSSELVALUE | ||||
ADD_DATA | Character 100 | CHAR100 | CHAR | 100 | CHAR100 |
Key field | Non-key field |
How do I retrieve data from SAP table AQPROT using ABAP code
The following ABAP code Example will allow you to do a basic selection on AQPROT to SELECT all data from the tableDATA: WA_AQPROT TYPE AQPROT.
SELECT SINGLE *
FROM AQPROT
INTO CORRESPONDING FIELDS OF WA_AQPROT
WHERE...
How to access SAP table AQPROT
Within an ECC or HANA version of SAP you can also view further information about AQPROT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects