STRN3MAIN SAP (SAP STATTRACE: NR/3 Statistics) Structure details
Description: SAP STATTRACE: NR/3 Statistics
Structure field list including key, data, relationships and ABAP select examples
STRN3MAIN 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 STATTRACE: NR/3 Statistics" 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_STRN3MAIN TYPE STRN3MAIN.
The STRN3MAIN table consists of various fields, each holding specific information or linking keys about SAP STATTRACE: NR/3 Statistics data available in SAP. These include I_TIME (SAP STATTRACE: Start Time of First Stats Rec. of Measurement), TRANSID (N3 Workload: Transaction ID (GUID)), COMPNAME (N3 Workload: Name/ID of Statistics Component), R3FLAG (SAP workload: Indicator for Various Uses ('X' or space)).. 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: Cannot Be Enhanced
SAP STRN3MAIN 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 |
I_DATE | SAP Workload: Date of First Statistical Rec. of Measurement | SAPWLFDAY | DATS | 8 | SAPWLDATE | ||||
I_TIME | SAP STATTRACE: Start Time of First Stats Rec. of Measurement | STRSTARTTIME | TIMS | 6 | UZEIT | ||||
TRANSID | N3 Workload: Transaction ID (GUID) | SWLNTRID | CHAR | 32 | SAPWLCHR32 | ||||
COMPNAME | N3 Workload: Name/ID of Statistics Component | SWLNCOMPNT | CHAR | 32 | SAPWLCHR32 | ||||
R3FLAG | SAP workload: Indicator for Various Uses ('X' or space) | SAPWLFLAG | CHAR | 1 | SAPWLFLAG | ||||
R3SYSTEMID | SAP Workload: SystemID(GUID) in Distributed System Landscape | SAPWLSYSID | CHAR | 32 | SYSUUID_C | ||||
I_SYSTEMID | N3 Workload: Name or ID of Initial Component | SWLNSYSNAM | CHAR | 32 | CHAR32 | ||||
I_SYSTYPE | N3 Workload: Component Type | SWLNSTCMPTY | CHAR | 10 | CHAR10 | ||||
PRE_SYSID | N3 Workload: Name or ID of Preceding Component | SWLNPRESYS | CHAR | 32 | CHAR32 | ||||
I_USERID | N3 Workload. Initial User (Triggered Transaction) | SWLNIUSERN | CHAR | 32 | CHAR32 | ||||
I_ACTION | N3 Workload: Intial Executed Action | SWLNIACT | CHAR | 40 | SAPWLCHR40 | ||||
LAST_COMPTYPE | N3 Workload: Type of a Statistics-Writing Component | SWLLSTCMPTY | CHAR | 10 | CHAR10 | ||||
LAST_SYSID | SAP Workload: SystemID(GUID) in Distributed System Landscape | SAPWLLSYSID | CHAR | 32 | SYSUUID_C | ||||
ITAB1_INDX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
ITAB2_INDX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
ITAB3_INDX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
ITAB4_INDX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
HIER_LEVEL | SAP Workload: Hierarchy Level | SAPWLHLEV | RAW | 32 | |||||
STARTDATE | N3 Workload: Arrival Date of Request in Component | SWLNDATUM | DATS | 8 | SAPWLDATE | ||||
STARTTIME | N3 Workload: Arrival Time of Request in Component | SWLNZEIT | TIMS | 6 | SAPWLTIMES | ||||
ENDDATE | N3 Workload: Date of Processing End in Component | SWLNEDATUM | DATS | 8 | SAPWLDATE | ||||
ENDTIME | N3 Workload: Time of End of Request Processing | SWLNEZEIT | TIMS | 6 | SAPWLTIMES | ||||
COMPONENT_TYPE | N3 Workload: Type of Statistics Component | SWLNCOMPTYPE | CHAR | 10 | CHAR10 | ||||
ACTION | N3 Workload: Executed Action | SWLNACTION | CHAR | 128 | SAPWLCHAR128 | ||||
ACTT_SHORTTEXT | N3 Workload: Name (Short Text) of Action Type | SWLNACTTYPS | CHAR | 20 | SAPWLCHR20 | ||||
SERV_SHORTTEXT | N3 Workload: Name of Service Type / Task Type | SWLNSERV | CHAR | 20 | TEXT20 | ||||
SUSER | N3 Workload: User or User ID | SWLNUSR | CHAR | 32 | SAPWLCHR32 | ||||
SUBRECORD | SAP STATTRACE: Indicator for Available Subrecords | SWLSUBREC | CHAR | 40 | SAPWLTXT40 | ||||
RESPTIME | N3 Workload: Response Time of Step (ms) | SWLNSTRESPTI | DEC | 15 | SAPWLTIME0 | ||||
CPUTIME | N3 Workload: CPU Time of Step (ms) | SWLNSTCPUTI | DEC | 15 | SAPWLTIME0 | ||||
DBREQTIME | N3 Workload: Database Time of Step (ms) | SWLNSTDBTIME | DEC | 15 | SAPWLTIME0 | ||||
DBPROCTI | N3 Workload: Time for DB Accesses by DB Procedures (ms) | SWLNSTDPBTI | DEC | 15 | SAPWLTIME0 | ||||
WAITTIME | N3 Workload: Call / Roll Wait Time of Step (ms) | SWLNSTWAITTI | DEC | 15 | SAPWLTIME0 | ||||
QUEUETIME | N3 Workload: Wait Time of Step (ms) | SWLNSTQUETI | DEC | 15 | SAPWLTIME0 | ||||
LOADTIME | N3 Workload: Load Time of a Request (ms) | SWLNSTLOADTI | DEC | 15 | SAPWLTIME0 | ||||
GENTIME | N3 Workload: Generation Time of Step (ms) | SWLNSTGENTI | DEC | 15 | SAPWLTIME0 | ||||
PROCESSID | N3 Workload: ID of Process that Is Processing Request | SWLNSTPRID | INT4 | 10 | |||||
THREADID | DSR Statistics: Thread ID (No Display in ABAP Statistics) | SWLN3STTHID | INT4 | 10 | |||||
MAXMEM | N3 Workload: Maximum Memory Usage (KB) | SWLN3STMEM | INT4 | 10 | |||||
AVBYTES | N3 Workload: Data Requested from Database (KB) | SWLNRREQBYTE | DEC | 15 | SAPWLP15 | ||||
NETTIME | N3 Workload: Network Time/Frontend Network Time (ms) | SWLN3NETTI | DEC | 15 | SAPWLTIME0 | ||||
LINECOLOR | SAP STATTRACE: Color Coding | STRLINECOL | CHAR | 4 | STRLINECOL |
Key field | Non-key field |
How do I retrieve data from SAP structure STRN3MAIN using ABAP code?
As STRN3MAIN 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 STRN3MAIN as there is no data to select.How to access SAP table STRN3MAIN
Within an ECC or HANA version of SAP you can also view further information about STRN3MAIN 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