MSQ_FILES SAP (Data about operating system files which make up a db) Structure details
Description: Data about operating system files which make up a db
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 |
FILEGRPNA | Filegroup name | MSSFG | CHAR | 128 | MSSSYSNAME | ||||
FILEGRPDEF | Default file grp contains objects created w/o defined filegp | MSQFLGRPDF | CHAR | 1 | CHAR001 | ||||
FGRPRDONLY | The file group is read only | MSQFLGRPRO | CHAR | 1 | CHAR001 | ||||
LOGFILENA | Logical file name | MSSFILE | CHAR | 128 | MSSSYSNAME | ||||
PHYFILENA | Physical file name (full path) of the database file. | MSQPHYFLNA | CHAR | 520 | CHAR520 | ||||
DEVFREE | Free space left on file system (partition) in MB. | MSQDEVFREE | DEC | 15 | |||||
DEVSIZE | The size in MB of the logical device the file resides upon | MSQDEVSIZE | DEC | 16 | |||||
FLSIZEMB | File size in MB. | MSQFLTSIZE | DEC | 15 | |||||
FLMAXSZMB | True Max file size in MB(-1 means file grows till disk full) | MSQFLTMXSZ | DEC | 16 | |||||
FLGRWPCT | SQL Server file has growth represented in percentage | MSQFLGRPCT | CHAR | 1 | CHAR1 | ||||
FLGROWTH | Growth size of the SQL Server database file | MSQFLGROW | DEC | 16 | |||||
FLGROWMB | True file growth in MB | MSQFLTGROW | DEC | 16 | |||||
FLEXTENTS | Total number of extents assigned to a file | MSQFLEXTS | DEC | 16 | |||||
FLUSDEXTS | Total no. of used extents(8 contiguous pgs) assigned to file | MSQFLUEXTS | DEC | 16 | |||||
FILEPRMRY | Primary file containing startup information and also data | MSQFLPRIM | CHAR | 1 | CHAR1 | ||||
FLDEFDEV | file is on default device | MSQFLDFDEV | CHAR | 1 | CHAR1 | ||||
FLDISKFILE | file is a disk file | MSQFLDSKFL | CHAR | 1 | CHAR001 | ||||
FLLOGDEV | file is a log file | MSQFLLGDEV | CHAR | 1 | CHAR001 | ||||
FLWRITEBU | file has been written to since the last backup was done | MSQFLWRTBU | CHAR | 1 | CHAR001 | ||||
FLCREATEDB | file was created with a CREATE DB command | MSQFLCREDB | CHAR | 1 | CHAR001 | ||||
FLDBCREATE | file created during Database creation | MSQFLDBCRE | CHAR | 1 | CHAR001 |
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 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