MSD_DBDATA SAP (Contains information on a database) Structure details
Description: Contains information on a database
Structure field list including key, data, relationships and ABAP select examples
MSD_DBDATA 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 "Contains information on a database" 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_DBDATA TYPE MSD_DBDATA.
The MSD_DBDATA table consists of various fields, each holding specific information or linking keys about Contains information on a database data available in SAP. These include CRDATE (Date the SQLSever database was created), CMPTLEVEL (SQLServer release level that the DB is compatible to), AUTOSTCRE (Missing statistics auto. built for query during optimization), AUTOSTUPD (Out of date Statistics built for query during optimization).. 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_DBDATA 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 |
DBNAME | MS SQL server Database name | 0 | |||||||
CRDATE | Date the SQLSever database was created | 0 | |||||||
CMPTLEVEL | SQLServer release level that the DB is compatible to | 0 | |||||||
AUTOSTCRE | Missing statistics auto. built for query during optimization | 0 | |||||||
AUTOSTUPD | Out of date Statistics built for query during optimization | 0 | |||||||
AUTOCLOSE | The database will close down when the last user logs out | 0 | |||||||
BULKCOPY | SELECT INTO and fast bulk copies are allowed | 0 | |||||||
TRUCLOG | The db is checkpointed when log is 70% full | 0 | |||||||
TORNPGDET | Incomplete pages can be detected | 0 | |||||||
LOADING | The database is in a loading state | 0 | |||||||
PRERECVY | The database is in a prerecovering state | 0 | |||||||
RECOVERY | The database is in a recovering state | 0 | |||||||
NOTRECVR | The database is not recovering | 0 | |||||||
DBOFFLINE | The database is offline | 0 | |||||||
READONLY | The database is read only | 0 | |||||||
DBOONLY | Only the database owner can access the database | 0 | |||||||
SINGLEUSER | The database is in single user mode | 0 | |||||||
EMERGYMD | Database is in emergency mode | 0 | |||||||
AUTOSHRINK | When 25% or more of the file is unused, file is auto. shrunk | 0 | |||||||
CLNSHTDWN | Database was cleanly shutdown | 0 | |||||||
ANSINULDEF | Allows the user to control the database default nullability | 0 | |||||||
CCNULL | Null operands result in a Null if concatenated | 0 | |||||||
RECTRIGGER | Enables recursive firing of triggers | 0 | |||||||
DEFLOCCUR | Cursor declarations default to LOCAL | 0 | |||||||
QUOTEDID | ' can be used to surround delimited identifiers | 0 | |||||||
CCONCOMMIT | Any cursors open are closed on commit or roll back | 0 | |||||||
ANSINULLS | Any comparisons to a null value evaluate to NULL | 0 | |||||||
ANSIWARN | Null values in aggregate fcns, or divide by 0, cause warning | 0 | |||||||
FULLTXTEN | Initailizes fulltext indexing or removes all full-text catlg | 0 | |||||||
DBSUSPECT | Database is marked as suspect | 0 | |||||||
DBSHUTDOWN | Database encountered a problem during startup | 0 | |||||||
DBSTANDBY | Database is functioning as a standby server | 0 | |||||||
DBSIZE | MS SQL server database size | 0 | |||||||
DBFREE | MSQ server database free size | 0 | |||||||
DBUSED | MSQ server database used size | 0 | |||||||
LOGSIZE | MS SQL server - size of the log file | 0 | |||||||
LOGFREE | MS SQL server - free log size | 0 | |||||||
LOGUSED | MS SQL server - used log size | 0 | |||||||
DBNUMSAP | Number of SAP processes connected to the database | 0 | |||||||
DBNUMOTHER | Number of non-SAP processes connected to the database | 0 | |||||||
DBNDIFFUSE | Number of different users connected to the database | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSD_DBDATA using ABAP code?
As MSD_DBDATA 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_DBDATA as there is no data to select.How to access SAP table MSD_DBDATA
Within an ECC or HANA version of SAP you can also view further information about MSD_DBDATA 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