MSQ_FILES SAP (Data about operating system files which make up a db) Structure details

Dictionary Type: Structure
Description: Data about operating system files which make up a db




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




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

MSQ_FILES 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 "Data about operating system files which make up a db" 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_MSQ_FILES TYPE MSQ_FILES.

The MSQ_FILES table consists of various fields, each holding specific information or linking keys about Data about operating system files which make up a db data available in SAP. These include FILEGRPDEF (Default file grp contains objects created w/o defined filegp), FGRPRDONLY (The file group is read only), LOGFILENA (Logical file name), PHYFILENA (Physical file name (full path) of the database file.).. 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 MSQ_FILES 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
FILEGRPNAFilegroup name MSSFGCHAR128MSSSYSNAME
FILEGRPDEFDefault file grp contains objects created w/o defined filegp MSQFLGRPDFCHAR1CHAR001
FGRPRDONLYThe file group is read only MSQFLGRPROCHAR1CHAR001
LOGFILENALogical file name MSSFILECHAR128MSSSYSNAME
PHYFILENAPhysical file name (full path) of the database file. MSQPHYFLNACHAR520CHAR520
DEVFREEFree space left on file system (partition) in MB. MSQDEVFREEDEC15
DEVSIZEThe size in MB of the logical device the file resides upon MSQDEVSIZEDEC16
FLSIZEMBFile size in MB. MSQFLTSIZEDEC15
FLMAXSZMBTrue Max file size in MB(-1 means file grows till disk full) MSQFLTMXSZDEC16
FLGRWPCTSQL Server file has growth represented in percentage MSQFLGRPCTCHAR1CHAR1
FLGROWTHGrowth size of the SQL Server database file MSQFLGROWDEC16
FLGROWMBTrue file growth in MB MSQFLTGROWDEC16
FLEXTENTSTotal number of extents assigned to a file MSQFLEXTSDEC16
FLUSDEXTSTotal no. of used extents(8 contiguous pgs) assigned to file MSQFLUEXTSDEC16
FILEPRMRYPrimary file containing startup information and also data MSQFLPRIMCHAR1CHAR1
FLDEFDEVfile is on default device MSQFLDFDEVCHAR1CHAR1
FLDISKFILEfile is a disk file MSQFLDSKFLCHAR1CHAR001
FLLOGDEVfile is a log file MSQFLLGDEVCHAR1CHAR001
FLWRITEBUfile has been written to since the last backup was done MSQFLWRTBUCHAR1CHAR001
FLCREATEDBfile was created with a CREATE DB command MSQFLCREDBCHAR1CHAR001
FLDBCREATEfile created during Database creation MSQFLDBCRECHAR1CHAR001

Key field Non-key field



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

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

How to access SAP table MSQ_FILES

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