MSQSHCONTG SAP (Displays fragmentation info for data and indexes of a table) Structure details

Dictionary Type: Structure
Description: Displays fragmentation info for data and indexes of a table




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




Structure field list including key, data, relationships and ABAP select examples

MSQSHCONTG 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 "Displays fragmentation info for data and indexes of a table" 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_MSQSHCONTG TYPE MSQSHCONTG.

The MSQSHCONTG table consists of various fields, each holding specific information or linking keys about Displays fragmentation info for data and indexes of a table data available in SAP. These include OBJID (SQL Server object or index ID.), INDEXNAME (Table or index name.), INDEXID (SQL Server object or index ID.), INDEXLEVEL (Level within the index tree - 0 is the leaf (or data) level.).. 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: Not classified


SAP MSQSHCONTG 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
OBJNAMETable or index name. MSQOBTNAMECHAR128
OBJIDSQL Server object or index ID. MSQOBJIDINT410INT4
INDEXNAMETable or index name. MSQOBTNAMECHAR128
INDEXIDSQL Server object or index ID. MSQOBJIDINT410INT4
INDEXLEVELLevel within the index tree - 0 is the leaf (or data) level. MSQIDXLEVLINT410
CNTPAGESNo. of pages in the index level. MSQIDXPAGSINT410
CNTROWSNo. of rows in that level of the index. MSQIDXROWSINT410
MINRECSIZEMinimum record size in that level of the index. MSSMINRCSZINT410
MAXRECSIZEMaximum record size in that level of the index. MSSMAXRCSZINT410
AVGRECSIZEAverage record size (byte). MSQAVRWSZDEC16(2)
FORWARDRECNo. of forwarded records in that index level or entire heap. MSQIXFORRDINT410
EXTENTSNo. of extents in that index level or entire heap. MSQIDXEXTSINT410
EXTSWITCHNo. of extent switches by traversing the index level. MSQEXTSWITINT410
AVGFRBYTESAverage number of free bytes on the pages scanned. MSQAVFRBYTDEC16(2)
AVGPGDENSAverage page density as percentage (the higher, the better). MSQAVPGDENDEC16(2)
SCANDNSITYScan density of extents (100% is the best value). MSQSCANDENDEC16(2)
BESTEXTCNTIdeal no. of extent changes if all are contiguously linked. MSQBESTEXTINT410
ACTEXTCNTNumber of extents scanned ( = extent switches +1). MSQACTEXCTINT410
LOGIFRAGLogical fragmentation in leaf-pages of an index. MSQLOGFRAGDEC16(2)
EXTFRAGExtent fragmentation in scanning the leaf pages of an index MSQEXTFRAGDEC16(2)

Key field Non-key field



How do I retrieve data from SAP structure MSQSHCONTG using ABAP code?

As MSQSHCONTG 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 MSQSHCONTG as there is no data to select.

How to access SAP table MSQSHCONTG

Within an ECC or HANA version of SAP you can also view further information about MSQSHCONTG 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!