CTABSTAT_64 SAP (Statistical Data About an Individual SAP Table 64 Bit) Structure details
Description: Statistical Data About an Individual SAP Table 64 Bit
Structure field list including key, data, relationships and ABAP select examples
CTABSTAT_64 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 "Statistical Data About an Individual SAP Table 64 Bit" 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_CTABSTAT_64 TYPE CTABSTAT_64.
The CTABSTAT_64 table consists of various fields, each holding specific information or linking keys about Statistical Data About an Individual SAP Table 64 Bit data available in SAP. These include UPDFAIL (Number of Failed UPDATE Attempts), DELCNT (Number of DELETE Attmempts), DELFAIL (Number of Failed DELETE Attempts), INSCNT (Number of INSERT attempts).. 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 CTABSTAT_64 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 |
UPDCNT | Number of UPDATE Attempts | UPD_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
UPDFAIL | Number of Failed UPDATE Attempts | UPD_FAIL_64 | DEC | 20 | ABAP_MSIZE | ||||
DELCNT | Number of DELETE Attmempts | DEL_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DELFAIL | Number of Failed DELETE Attempts | DEL_FAIL_64 | DEC | 20 | ABAP_MSIZE | ||||
INSCNT | Number of INSERT attempts | INS_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
INSFAIL | Number of Failed INSERT Attempts | INS_FAIL_64 | DEC | 20 | ABAP_MSIZE | ||||
DIRCNT | Number of DIRECT READs | DIR_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DIRFAIL | Number of Failed DIRECT READs | DIR_FAIL_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQCNT | Number of SEQUENTIAL READs | SEQ_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQFAIL | Number of Unsuccessful SEQUENTIAL READs | SEQ_FAIL_64 | DEC | 20 | ABAP_MSIZE | ||||
UPD_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
UPD_EXEC | Number of SQL EXECUTEs | EXEC_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
UPD_ROW | No. of Tuples Affected in a Table | ROW_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
UPD_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
DEL_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DEL_EXEC | Number of SQL EXECUTEs | EXEC_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DEL_ROW | No. of Tuples Affected in a Table | ROW_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DEL_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
INS_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
INS_EXEC | Number of SQL EXECUTEs | EXEC_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
INS_ROW | No. of Tuples Affected in a Table | ROW_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
INS_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
DIR_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DIR_OPEN | Number of SQL OPENs | OPEN_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DIR_FETCH | Number of SQL FETCHes | FETCH_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
DIR_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_OPEN | Number of SQL OPENs | OPEN_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_FETCH | Number of SQL FETCHes | FETCH_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_ROW | No. of Tuples Affected in a Table | ROW_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
LOAD_PREP | Number of SQL PREPAREs | PREP_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
LOAD_OPEN | Number of SQL OPENs | OPEN_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
LOAD_FETCH | Number of SQL FETCHes | FETCH_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
LOAD_ROW | No. of Tuples Affected in a Table | ROW_CNT_64 | DEC | 20 | ABAP_MSIZE | ||||
LOAD_DUR | Operation Duration | OP_DUR_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_RESET | Number of Buffer Resets | BUF_RESET_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_SIZE | Size of the Buffer for an Object | BUF_SIZE_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_SIZEMX | Maximum Buffer Size for an Object | BUF_SIZEMX_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_RECS | Number of Buffered Records for an Object | BUF_RECS_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_RECSMX | Maximum Number of Buffered Records for an Object | BUF_RECSMX_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_DIR | Number of Direct Hits in the Buffer | BUF_DIR_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_SEQ | Number of Sequential Buffer Accesses | BUF_SEQ_64 | DEC | 20 | ABAP_MSIZE | ||||
REGIONS_N | Number of Generic Regions of a Buffered Table | GENREGIONS_64 | DEC | 20 | ABAP_MSIZE | ||||
SEQ_SCAN | Number of Records Read with Sequential Access | SEQ_SCAN_64 | DEC | 20 | ABAP_MSIZE | ||||
BUF_STATE | Status of the table in the table buffer | PBUFSTATE | CHAR | 1 | PBUFSTATE | ||||
TNAME | Table name | DBSTATTABN | CHAR | 30 | Assigned to domain | AS4TAB | |||
REF | Table type (short text) | TABTYPES | CHAR | 1 | TABTYPESD | ||||
RNAME | Name of the pool or cluster | DBSTATSQLT | CHAR | 30 | Assigned to domain | AS4TAB | |||
BYPASSBUF | Table read with BYPASSING BUFFER (checked tables only) | BYPASSBUF | CHAR | 1 | BYPASSBUF | ||||
SQL | Flag: Table processed via EXEC SQL? | SQLACCESSD | CHAR | 1 | AS4FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure CTABSTAT_64 using ABAP code?
As CTABSTAT_64 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 CTABSTAT_64 as there is no data to select.How to access SAP table CTABSTAT_64
Within an ECC or HANA version of SAP you can also view further information about CTABSTAT_64 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