STATL SAP (Statistics: Selection of individual statistics records) Structure details
Description: Statistics: Selection of individual statistics records
Structure field list including key, data, relationships and ABAP select examples
STATL 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 "Statistics: Selection of individual statistics records" 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_STATL TYPE STATL.
The STATL table consists of various fields, each holding specific information or linking keys about Statistics: Selection of individual statistics records data available in SAP. These include SBENU (User or account name using a transaction), STCOD (Transaction code), SPROGRAM (Name of transaction or programm which calls a dialog), STASK (Task type).. 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: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP STATL 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 |
SMANDT | Client number | STA_MANDT | CHAR | 3 | STAT_MANDT | ||||
SBENU | User or account name using a transaction | STA_USER | CHAR | 12 | STAT_USER | ||||
STCOD | Transaction code | STA_TCODE2 | CHAR | 20 | Assigned to domain | TCODE | |||
SPROGRAM | Name of transaction or programm which calls a dialog | STA_TCODE | CHAR | 40 | STAT_TCODE | ||||
STASK | Task type | STA_TASK | CHAR | 1 | STAT_TASK1 | ||||
STIME | Lower bound for selecting time | STA_UZEIT | TIMS | 6 | UZEIT | ||||
SRESPTIME | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SDBTIME | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SCPUTIME | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SQUEUETIME | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SSELTIME1 | Statistics, filler byte | STA_FILLER | CHAR | 1 | CHAR1 | ||||
SSELTIME2 | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SSELTIME3 | Lower bound for a time value (in milliseconds) | STA_SELTIM | INT4 | 10 | |||||
SWPID | Number of work process on application server | STA_SELWP | CHAR | 2 | STAT_WPID2 | ||||
SDAT | Start date for selection of statistics records | STA_SELDAT | DATS | 8 | DATUM | ||||
SPATH | Path and name of statistics file | STA_SELPAT | CHAR | 60 | STAT_SELFI | ||||
SSCREEN | Screen number or transaction name | STA_DYNPNO | CHAR | 4 | STAT_DYNPR | ||||
SBYTES | Lower bound for requested bytes for a dialog step | STA_SELBYT | INT4 | 10 | |||||
SCHG | Lower bound for data base change calls for a dialog step | STA_SELCHG | INT4 | 10 | |||||
SCOUNT1 | Statistics, filler byte | STA_FILLER | CHAR | 1 | CHAR1 | ||||
SCOUNT2 | Lower bound counter for selection of single statistics rec. | STA_SELCNT | CHAR | 6 | STAT_BOUND | ||||
SCOUNT3 | Lower bound counter for selection of single statistics rec. | STA_SELCNT | CHAR | 6 | STAT_BOUND | ||||
SSYSTEMID | SAP System number | STA_RSYID | CHAR | 2 | STAT_SYSID | ||||
SENDTIME | Lower bound for selecting time | STA_UZEIT | TIMS | 6 | UZEIT | ||||
SENDDAT | End date of selection | STA_ENDDAT | DATS | 8 | DATUM | ||||
SMAXCNT | Maximum number of statistical records to read | STA_MAXCNT | INT4 | 10 |
Key field | Non-key field |
How do I retrieve data from SAP structure STATL using ABAP code?
As STATL 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 STATL as there is no data to select.How to access SAP table STATL
Within an ECC or HANA version of SAP you can also view further information about STATL 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