MSD_DBDATA SAP (Contains information on a database) Structure details

Dictionary Type: Structure
Description: Contains information on a database




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




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 name0
CRDATE Date the SQLSever database was created0
CMPTLEVEL SQLServer release level that the DB is compatible to0
AUTOSTCRE Missing statistics auto. built for query during optimization0
AUTOSTUPD Out of date Statistics built for query during optimization0
AUTOCLOSE The database will close down when the last user logs out0
BULKCOPY SELECT INTO and fast bulk copies are allowed0
TRUCLOG The db is checkpointed when log is 70% full0
TORNPGDET Incomplete pages can be detected0
LOADING The database is in a loading state0
PRERECVY The database is in a prerecovering state0
RECOVERY The database is in a recovering state0
NOTRECVR The database is not recovering0
DBOFFLINE The database is offline0
READONLY The database is read only0
DBOONLY Only the database owner can access the database0
SINGLEUSER The database is in single user mode0
EMERGYMD Database is in emergency mode0
AUTOSHRINK When 25% or more of the file is unused, file is auto. shrunk0
CLNSHTDWN Database was cleanly shutdown0
ANSINULDEF Allows the user to control the database default nullability0
CCNULL Null operands result in a Null if concatenated0
RECTRIGGER Enables recursive firing of triggers0
DEFLOCCUR Cursor declarations default to LOCAL0
QUOTEDID ' can be used to surround delimited identifiers0
CCONCOMMIT Any cursors open are closed on commit or roll back0
ANSINULLS Any comparisons to a null value evaluate to NULL0
ANSIWARN Null values in aggregate fcns, or divide by 0, cause warning0
FULLTXTEN Initailizes fulltext indexing or removes all full-text catlg0
DBSUSPECT Database is marked as suspect0
DBSHUTDOWN Database encountered a problem during startup0
DBSTANDBY Database is functioning as a standby server0
DBSIZE MS SQL server database size0
DBFREE MSQ server database free size0
DBUSED MSQ server database used size0
LOGSIZE MS SQL server - size of the log file0
LOGFREE MS SQL server - free log size0
LOGUSED MS SQL server - used log size0
DBNUMSAP Number of SAP processes connected to the database0
DBNUMOTHER Number of non-SAP processes connected to the database0
DBNDIFFUSE Number of different users connected to the database0

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 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!