SMEC_SERVER SAP (MEC Server Structure (Name, Host, etc)) Structure details

Dictionary Type: Structure
Description: MEC Server Structure (Name, Host, etc)




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




Structure field list including key, data, relationships and ABAP select examples

SMEC_SERVER 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 "MEC Server Structure (Name, Host, etc)" 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_SMEC_SERVER TYPE SMEC_SERVER.

The SMEC_SERVER table consists of various fields, each holding specific information or linking keys about MEC Server Structure (Name, Host, etc) data available in SAP. These include NAME (Application Server Name), HOST (Name of Application Server), SERV (Service), MSGTYPES (Services).. 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: Can be enhanced (character-type or numeric)


SAP SMEC_SERVER 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
NAMEApplication Server Name MSNAME2CHAR40MSNAME2
HOSTName of Application Server MSHOST2CHAR32MSHOST2
SERVService MSSERVCHAR20MSSERV
MSGTYPESServices MSTYPESRAW1MSTYPES
HOSTADRHost IP address MSHOSTADRRAW4RAW4
SERVNOService port number MSSERVNORAW2RAW2
STATEServer Status MSSTATERAW1MSSTATE
NAME_ALVMEC alternative Servername for ALV (as fix for IP Addresses) S_MEC_SERVERNAME_ALVCHAR40MSNAME2
HOST_IDMEC Hostname of the System S_MEC_ITEM_HOSTCHAR32HOST_ID
SYST_IDMEC Server Name (Application Server) S_MEC_ITEM_SYSERVERCHAR32
INST_IDMEC Instance Number of the System S_MEC_ITEM_SYINSTANCECHAR2
IS_ACTIVEMEC item Check Status S_MEC_ITEM_CHECKEDCHAR1
IS_REACHABLEMEC item Check Status S_MEC_ITEM_CHECKEDCHAR1
IS_LOCALMEC item Check Status S_MEC_ITEM_CHECKEDCHAR1

Key field Non-key field



How do I retrieve data from SAP structure SMEC_SERVER using ABAP code?

As SMEC_SERVER 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 SMEC_SERVER as there is no data to select.

How to access SAP table SMEC_SERVER

Within an ECC or HANA version of SAP you can also view further information about SMEC_SERVER 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!