MSD_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
MSD_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_MSD_FILES TYPE MSD_FILES.
The MSD_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 (MS SQL server logical filename of the database file), PHYFILENA (MS SQL server physical device filename with full path).. 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 MSD_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 | MS SQL server - file group name | 0 | |||||||
FILEGRPDEF | Default file grp contains objects created w/o defined filegp | 0 | |||||||
FGRPRDONLY | The file group is read only | 0 | |||||||
LOGFILENA | MS SQL server logical filename of the database file | 0 | |||||||
PHYFILENA | MS SQL server physical device filename with full path | 0 | |||||||
DEVFREE | size in MB of free space left on device | 0 | |||||||
DEVSIZE | The size in MB of the logical device the file resides upon | 0 | |||||||
FLSIZEMB | True file size in MB | 0 | |||||||
FLMAXSZMB | True Max file size in MB (-1 means file will grow disk full) | 0 | |||||||
FLGRWPCT | SQL Server file has growth represented in percentage | 0 | |||||||
FLGROWTH | Growth size size of the SQL Server database file | 0 | |||||||
FLGROWMB | True file growth in MB | 0 | |||||||
FLEXTENTS | Total number of extents assigned to a file | 0 | |||||||
FLUSDEXTS | Ttl num of used extents(8 contiguous pgs) assigned to file | 0 | |||||||
FILEPRMRY | Primary file containing startup information and also data | 0 | |||||||
FLDEFDEV | file is on default device | 0 | |||||||
FLDISKFILE | file is a disk file | 0 | |||||||
FLLOGDEV | file is a log file | 0 | |||||||
FLWRITEBU | file has been written to since the last backup was done | 0 | |||||||
FLCREATEDB | file was created with a CREATE DB command | 0 | |||||||
FLDBCREATE | file created during Database creation | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSD_FILES using ABAP code?
As MSD_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 MSD_FILES as there is no data to select.How to access SAP table MSD_FILES
Within an ECC or HANA version of SAP you can also view further information about MSD_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