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

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
SESSION_IDGUID in 'CHAR' Format in UppercaseGUID_32CHAR32
LFDNUMSAP Query (T): Order NumberAQT_CCNTNUMC6
WORKSPACESAP Query (S): Work Area IDAQS_WSIDCHAR1
FUNCAREASAP Query (S): InfoSetAQS_SGNAMECHAR24
USERNAMEUser NameUNAMECHAR12
TSP_DATESystem DateSYDATUMDATS8
TSP_TIMESystem TimeSYUZEITTIMS6
TABNAMETable NameTABNAME*CHAR30
FIELDNAMEField NameFIELDNAME*CHAR30
AQ_FIELDSAP Query (S): Field name (table field)AQS_FNAMECHAR70
FIELDTYPEField Type (Output Field/Selection Field)AQS_FTYPENUMC1
SIGNABAP: ID: I/E (include/exclude values)TVARV_SIGNCHAR1
OPTIABAP: Selection option (EQ/BT/CP/...)TVARV_OPTICHAR2
LOWABAP: Selection Value (LOW or HIGH Value, External Format)TVARV_VALCHAR45
HIGHABAP: Selection Value (LOW or HIGH Value, External Format)TVARV_VALCHAR45
ADD_DATACharacter 100CHAR100CHAR100

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 NameFieldCardinalityCheck Table
AQPROTMANDT1: CNT000

Other References