STATL SAP (Statistics: Selection of individual statistics records) Structure details

Dictionary Type: Structure
Description: Statistics: Selection of individual statistics records




ABAP Code to SELECT data from STATL
Related tables to STATL
Access table STATL




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 objects
Display/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
SMANDTClient number STA_MANDTCHAR3STAT_MANDT
SBENUUser or account name using a transaction STA_USERCHAR12STAT_USER
STCODTransaction code STA_TCODE2CHAR20Assigned to domainTCODE
SPROGRAMName of transaction or programm which calls a dialog STA_TCODECHAR40STAT_TCODE
STASKTask type STA_TASKCHAR1STAT_TASK1
STIMELower bound for selecting time STA_UZEITTIMS6UZEIT
SRESPTIMELower bound for a time value (in milliseconds) STA_SELTIMINT410
SDBTIMELower bound for a time value (in milliseconds) STA_SELTIMINT410
SCPUTIMELower bound for a time value (in milliseconds) STA_SELTIMINT410
SQUEUETIMELower bound for a time value (in milliseconds) STA_SELTIMINT410
SSELTIME1Statistics, filler byte STA_FILLERCHAR1CHAR1
SSELTIME2Lower bound for a time value (in milliseconds) STA_SELTIMINT410
SSELTIME3Lower bound for a time value (in milliseconds) STA_SELTIMINT410
SWPIDNumber of work process on application server STA_SELWPCHAR2STAT_WPID2
SDATStart date for selection of statistics records STA_SELDATDATS8DATUM
SPATHPath and name of statistics file STA_SELPATCHAR60STAT_SELFI
SSCREENScreen number or transaction name STA_DYNPNOCHAR4STAT_DYNPR
SBYTESLower bound for requested bytes for a dialog step STA_SELBYTINT410
SCHGLower bound for data base change calls for a dialog step STA_SELCHGINT410
SCOUNT1Statistics, filler byte STA_FILLERCHAR1CHAR1
SCOUNT2Lower bound counter for selection of single statistics rec. STA_SELCNTCHAR6STAT_BOUND
SCOUNT3Lower bound counter for selection of single statistics rec. STA_SELCNTCHAR6STAT_BOUND
SSYSTEMIDSAP System number STA_RSYIDCHAR2STAT_SYSID
SENDTIMELower bound for selecting time STA_UZEITTIMS6UZEIT
SENDDATEnd date of selection STA_ENDDATDATS8DATUM
SMAXCNTMaximum number of statistical records to read STA_MAXCNTINT410

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!