MSSFILES SAP (MS SQL Server: Database File List) Structure details
Description: MS SQL Server: Database File List
Structure field list including key, data, relationships and ABAP select examples
MSSFILES 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 "MS SQL Server: Database File List" 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_MSSFILES TYPE MSSFILES.
The MSSFILES table consists of various fields, each holding specific information or linking keys about MS SQL Server: Database File List data available in SAP. These include LOGFILENA (Logical file name), PHYFILENA (Physical file name (full path) of the database file.), FILEID (FILE ID of DB file for SQL Server), FLSIZEMB (File size in MB.).. 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 MSSFILES 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 | ||||
LOGFILENA | Logical file name | MSSFILE | CHAR | 128 | MSSSYSNAME | ||||
PHYFILENA | Physical file name (full path) of the database file. | MSQPHYFLNA | CHAR | 520 | CHAR520 | ||||
FILEID | FILE ID of DB file for SQL Server | MSSFILEID | INT2 | 5 | |||||
FLSIZEMB | File size in MB. | MSQFLTSIZE | DEC | 15 | |||||
ALLOCMB | Allocated space in a DB file in MB | MSSALLOCFILEMB | DEC | 15 | |||||
FREEPCT | Free percentage of space in a SQL Server file | MSSFREEPCT | DEC | 6(2) | |||||
GROWTH | File growth step configured in SQL Server. | MSSDBGROW | CHAR | 10 | CHAR10 | ||||
GROWTHMB | True file growth in MB | MSQFLTGROW | DEC | 16 | |||||
FLMAXSIZE | File size limit in MB configured in SQL Server. | MSSMAXSIZE | CHAR | 10 | CHAR10 | ||||
PRIMARYFILE | Primary file containing startup information and also data | MSQFLPRIM | CHAR | 1 | CHAR1 | ||||
READONLY | The file group is read only | MSQFLGRPRO | CHAR | 1 | CHAR001 | ||||
LOGDEV | file is a log file | MSQFLLGDEV | CHAR | 1 | CHAR001 | ||||
GRWTHPCT | SQL Server file has growth represented in percentage | MSQFLGRPCT | CHAR | 1 | CHAR1 | ||||
DEVFREEMB | Free space left on file system (partition) in MB. | MSQDEVFREE | DEC | 15 | |||||
ALERTSTATUS | ALERT Status , 'R','Y','G' - red,yellow,green | MSSALERTSTATUS | CHAR | 1 | |||||
FILEMSG | MSS Alert Text as seen in RZ20 | MSSALERTTXT | CHAR | 50 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSSFILES using ABAP code?
As MSSFILES 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 MSSFILES as there is no data to select.How to access SAP table MSSFILES
Within an ECC or HANA version of SAP you can also view further information about MSSFILES 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