MSSSERVER SAP (MS SQL Server: Information) Structure details
Description: MS SQL Server: Information
Structure field list including key, data, relationships and ABAP select examples
MSSSERVER 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: Information" 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_MSSSERVER TYPE MSSSERVER.
The MSSSERVER table consists of various fields, each holding specific information or linking keys about MS SQL Server: Information data available in SAP. These include DBNAME (MS SQL Server: Database name), HOSTNAME (Hostname of the application server logged into SQL Server), DBUPTIME (MS-SQL Server database startup time).. 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 MSSSERVER 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 |
VERSION | MS SQL Server version | MSSVERSION | CHAR | 50 | TEXT50 | ||||
DBNAME | MS SQL Server: Database name | MSSPDBNAME | CHAR | 30 | TEXT30 | ||||
HOSTNAME | Hostname of the application server logged into SQL Server | MSSHOSTNM_ | CHAR | 30 | TEXT30 | ||||
DBUPTIME | MS-SQL Server database startup time | MSSDBUPTIM | CHAR | 20 | CHAR20 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSSSERVER using ABAP code?
As MSSSERVER 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 MSSSERVER as there is no data to select.How to access SAP table MSSSERVER
Within an ECC or HANA version of SAP you can also view further information about MSSSERVER 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