MSSDBHIST SAP (MS SQL Server: Database space history) Structure details
Description: MS SQL Server: Database space history
Structure field list including key, data, relationships and ABAP select examples
MSSDBHIST 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 space history" 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_MSSDBHIST TYPE MSSDBHIST.
The MSSDBHIST table consists of various fields, each holding specific information or linking keys about MS SQL Server: Database space history data available in SAP. These include TIME (Time), DBNAME (Database name), DB_SIZE (Database size in MB), DB_ALLOC (Allocated space in database 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 MSSDBHIST 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 |
DATE | Date | DATUM | DATS | 8 | DATUM | ||||
TIME | Time | UZEIT | TIMS | 6 | UZEIT | ||||
DBNAME | Database name | MSSDB | CHAR | 128 | MSSSYSNAME | ||||
DB_SIZE | Database size in MB | MSS_DBSIZE | DEC | 15 | |||||
DB_ALLOC | Allocated space in database in MB | MSS_DBALLOC | DEC | 15 | |||||
LOG_SIZE | Log size in MB | MSS_LOGSIZE | DEC | 15 | |||||
LOG_ALLOC | Allocated space in log in MB | MSS_LOGALLOC | DEC | 15 | |||||
RESERVED | Reserved size in KB | MSSRESSIZE | DEC | 15 | |||||
NUMTABS | Number of user tables | MSSNUMTABLES | INT4 | 10 | |||||
TABDATA | Data size in KB | MSSDATASIZE | DEC | 15 | |||||
NUMINDS | Number of indexes of user tables | MSSNUMINDEXES | INT4 | 10 | |||||
INDDATA | Index size in KB | MSSINDEXSIZE | DEC | 15 | |||||
UNUSED | Unused size in KB | MSSUNUSEDSIZE | DEC | 15 | |||||
NUMPROCS | Number of stored procedures created in DBI | MSSNUMPROCS | INT4 | 10 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSSDBHIST using ABAP code?
As MSSDBHIST 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 MSSDBHIST as there is no data to select.How to access SAP table MSSDBHIST
Within an ECC or HANA version of SAP you can also view further information about MSSDBHIST 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