/SDF/MSSDBHISTORY SAP (SQL Server: Database and log size (copy of MSSDBHIST in 620)) Structure details
Description: SQL Server: Database and log size (copy of MSSDBHIST in 620)
Related tables to /SDF/MSSDBHISTORY
Access table /SDF/MSSDBHISTORY
Structure field list including key, data, relationships and ABAP select examples
/SDF/MSSDBHISTORY 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 "SQL Server: Database and log size (copy of MSSDBHIST in 620)" 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_/SDF/MSSDBHISTORY TYPE /SDF/MSSDBHISTORY.
The /SDF/MSSDBHISTORY table consists of various fields, each holding specific information or linking keys about SQL Server: Database and log size (copy of MSSDBHIST in 620) data available in SAP. These include TIME (Time), DBNAME (The name of the database in SQL Server instance.), DBSIZE (Database size in MB (data files).), DBUSEDSIZE (Space (MB) reserved for database objects in database files.).. 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 /SDF/MSSDBHISTORY 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 | 0 | |||||||
TIME | Time | 0 | |||||||
DBNAME | The name of the database in SQL Server instance. | 0 | |||||||
DBSIZE | Database size in MB (data files). | 0 | |||||||
DBUSEDSIZE | Space (MB) reserved for database objects in database files. | 0 | |||||||
DBFREESIZE | Free space in the database in MB (difference size - used). | 0 | |||||||
DBUNUSEDSZ | Reserved for database objects but not used (in KB). | 0 | |||||||
TOTTABNUM | Number of user tables in the database. | 0 | |||||||
TOTTABSIZE | Data size of all tables (excluding indexes) in KB. | 0 | |||||||
TOTINDNUM | Number of indexes in the database. | 0 | |||||||
TOTINDSIZE | Size of all indexes in the database in KB. | 0 | |||||||
TOTSPNUM | Number of stored procedures in database. | 0 | |||||||
TOTSPSIZE | reserved field (Size of stored procedures in database - MB). | 0 | |||||||
LOGSIZE | Size of the database transaction log in MB. | 0 | |||||||
LOGFREE | Free space in database transaction log in MB . | 0 | |||||||
RESEVERED | Reserved size in KB | 0 | |||||||
UNUSED | Unused size in KB | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure /SDF/MSSDBHISTORY using ABAP code?
As /SDF/MSSDBHISTORY 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 /SDF/MSSDBHISTORY as there is no data to select.How to access SAP table /SDF/MSSDBHISTORY
Within an ECC or HANA version of SAP you can also view further information about /SDF/MSSDBHISTORY 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