EMS_UDF SAP (User-Defined Fields) Structure details

Dictionary Type: Structure
Description: User-Defined Fields




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




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

EMS_UDF 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 "User-Defined Fields" 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_EMS_UDF TYPE EMS_UDF.

The EMS_UDF table consists of various fields, each holding specific information or linking keys about User-Defined Fields data available in SAP. These include FAC_ID (Asset ID), DOM_TYPE_KEY (Key for Domain Type), DATA_TYPE (Actual/Target Data), KV_TECHNICAL_ID (Key-Value: Technical ID).. 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 (Deep)


SAP EMS_UDF 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
FAC_IDAsset ID EMEFAC_IDINT410INT4
DOM_TYPE_KEYKey for Domain Type EMEDOM_TYPE_KEYINT410INT4
DATA_TYPEActual/Target Data EMEDATA_TYPEINT410INT4
KV_TECHNICAL_IDKey-Value: Technical ID EMEKV_TECHNICAL_IDINT410INT4
KV_STRING_VALUEKey-Value: Value EMEKV_STRING_VALUECHAR255CHAR255
KV_LANGU2-Character SAP Language Code LAISOCHAR2LAISO
KV_UNITUnit UNITUNIT3CUNITEINHEIT
KV_UNIT_CODEKey-Value: Unit Code EMEKV_UNIT_CODECHAR10CHAR10
KV_ELEMENT_NAMEKey-Value: Element Name EMEKV_ELEMENT_NAMECHAR128CHAR128
VISIBLEBoolean Variable (X=True, -=False, Space=Unknown) BOOLEANCHAR1BOOLEAN
VAL_AREA_IDValidity Area ID EMEVAL_AREA_IDCHAR30CHAR30
VAL_AREA_ID_NAMEName of Validity Area EMEVAL_AREA_NAMECHAR128CHAR128

Key field Non-key field



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

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

How to access SAP table EMS_UDF

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