AMSP SAP (SQL trace position info in application monitor) Table details
Dictionary Type: Table
Description: SQL trace position info in application monitor
Description: SQL trace position info in application monitor
Table field list including key, data, relationships and ABAP select examples
AMSP is a standard SAP Table which is used to store SQL trace position info in application monitor data and is available within R/3 SAP systems depending on the version and release level.
The AMSP table consists of various fields, each holding specific information or linking keys about SQL trace position info in application monitor data available in SAP. These include SAPRL (Release of SAP System), URSPR (Origin identifier in application monitor), UNAME (User Name), MANDT (Client ID).. 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: S - System table, maint. only by SAP, change = modificationDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP AMSP 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 |
TCODE | Program/Transaction in SQL Trace Evaluation | PROGRAM | CHAR | 40 | Assigned to domain | PROGRAMM | RID | ||
SAPRL | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
URSPR | Origin identifier in application monitor | SRCFLAG | CHAR | 1 | SRCFLAG | ||||
UNAME | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
MANDT | Client ID | SYMANDT | CLNT | 3 | Assigned to domain | MANDT | |||
ANDAT | Analysis date for application monitor | AM_ANDAT | DATS | 8 | SYDATS | ||||
TRCKZ | Unique user-defined ID of an SQL trace | TRACEKZ | CHAR | 4 | AM_COUNT4 | ||||
TNAME | Table name (extended version for application monitor) | AM_TNAME | CHAR | 30 | CHAR30 | ||||
SQLOP | SQL operation in trace (application monitor) | AM_SQLOP | CHAR | 2 | AM_SQLOP | ||||
NOOPS | No. of database accesses | AM_NOOPS | INT4 | 10 | INT4 | ||||
NOROW | Number of data records accessed | AM_NOROW | INT4 | 10 | INT4 | ||||
ACZEI | Cumulated database access time (application monitor) | AM_ACTIM | INT4 | 10 | INT4 |
Key field | Non-key field |
How do I retrieve data from SAP table AMSP using ABAP code
The following ABAP code Example will allow you to do a basic selection on AMSP to SELECT all data from the tableDATA: WA_AMSP TYPE AMSP.
SELECT SINGLE *
FROM AMSP
INTO CORRESPONDING FIELDS OF WA_AMSP
WHERE...
How to access SAP table AMSP
Within an ECC or HANA version of SAP you can also view further information about AMSP 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