SAP AQPROT Query Logging Table
Overview
AQPROT is a standard SAP S/4HANA table that stores Query Logging data. There are total 17 fields in the AQPROT table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table AQPROT belongs to SAP Query (BC-SRV-QUE) module and is located in the package Application Development R/3 SAP Query (SQUE).
In addition, following links provide an overview of foreign key relationships, if any, that link AQPROT to other SAP tables and standard CDS views available based on AQPROT table in S/4HANA 2020.
Techincal Settings of AQPROT
Below are technical details of the table AQPROT
- Buffering not allowed
- No buffering
- Storage type is Column Store
List of AQPROT Fields
The following table gives you an overview of the fields available in AQPROT
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT | 3 |
| SESSION_ID | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | |
| LFDNUM | SAP Query (T): Order Number | AQT_CCNT | NUMC | 6 | |
| WORKSPACE | SAP Query (S): Work Area ID | AQS_WSID | CHAR | 1 | |
| FUNCAREA | SAP Query (S): InfoSet | AQS_SGNAME | CHAR | 24 | |
| USERNAME | User Name | UNAME | CHAR | 12 | |
| TSP_DATE | System Date | SYDATUM | DATS | 8 | |
| TSP_TIME | System Time | SYUZEIT | TIMS | 6 | |
| TABNAME | Table Name | TABNAME | * | CHAR | 30 |
| FIELDNAME | Field Name | FIELDNAME | * | CHAR | 30 |
| AQ_FIELD | SAP Query (S): Field name (table field) | AQS_FNAME | CHAR | 70 | |
| FIELDTYPE | Field Type (Output Field/Selection Field) | AQS_FTYPE | NUMC | 1 | |
| SIGN | ABAP: ID: I/E (include/exclude values) | TVARV_SIGN | CHAR | 1 | |
| OPTI | ABAP: Selection option (EQ/BT/CP/...) | TVARV_OPTI | CHAR | 2 | |
| LOW | ABAP: Selection Value (LOW or HIGH Value, External Format) | TVARV_VAL | CHAR | 45 | |
| HIGH | ABAP: Selection Value (LOW or HIGH Value, External Format) | TVARV_VAL | CHAR | 45 | |
| ADD_DATA | Character 100 | CHAR100 | CHAR | 100 |
Foreign Key Relationships
A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for AQPROT
| Table Name | Field | Cardinality | Check Table |
|---|---|---|---|
| AQPROT | MANDT | 1: CN | T000 |