Learn SAP Free
Back to Dashboard
Data Dictionary

What is a Domain in SAP ABAP? (SE11)

Daksh | June 9, 2026 | 5 min read

Domain in SAP ABAP

A Domain in SAP is a fundamental ABAP Dictionary object. It defines the technical properties of a database field, such as its data type, length, and value range.

While data elements determine how fields appear to end users, domains describe how the data is physically stored in the database.


Key Characteristics of a Domain

  • Reusability: A single domain can be reused to create multiple fields and Data Elements across different database tables. For example, a single domain representing an ID format can be used for both Student ID and Employee ID.
  • Data Validation: Domains can restrict the value range (e.g. only allowing values between 1 and 99, or specific list values like ‘M’ and ‘F’).

Naming Standards

To initiate a custom domain in SAP, it is mandatory that the name starts with Z or Y.

  • Example: ZEMPID

Custom Domain Naming Example


Technical Scope of a Domain

In SAP, a domain controls:

  • Data Type (e.g., CHAR, NUMC, CURR, DEC)
  • Field Length (number of characters)
  • Number Format (decimal places)
  • Value Range (value lists or interval limits)
  • Allowed Values

Domain Parameters Screen


Benefits of Domains in SAP ABAP

  1. Reusability: A single domain can support multiple fields across different tables.
  2. Consistency: Fields sharing a domain automatically follow identical formatting rules.
  3. Simple Maintenance: If you need to expand a field’s length, updating the domain propagates the change to all referencing data elements and tables.
  4. Data Validation: Domains enforce rules on allowed inputs, protecting database integrity.

ℹ️ Prerequisites: To create a domain, you must have the SAP GUI installed and have active credentials for your SAP developer environment.


Steps to Create a Domain in SAP (SE11)

  1. Open SAP GUI, type SE11 in the command field, and press Enter.
  2. Select the Domain radio button.
  3. Enter a custom name starting with ‘Z’ or ‘Y’ (e.g., ZEMPNAME).
  4. Click Create.
  5. Enter a Short Description (e.g., "Employee Salary").
  6. Configure the technical properties on the Definition tab:
  • Choose a Data Type (e.g., CHAR, NUMC, CURR) from the F4 list.
  • Enter the Field Length (e.g., 40 for characters).
  • Specify decimal places for numeric types.
  1. Set constraints on the Value Range tab if you want to restrict allowed inputs.
  2. Save your domain (CTRL+S).
  3. Activate the domain (CTRL+F3).

Domain Creation Interface in SE11

Save Domain Screen Dialog

Activate Domain Screen Dialog 1

Activate Domain Screen Dialog 2


Conclusion

Creating a domain is a fundamental step in building database schemas in the ABAP Dictionary. It ensures field definitions remain consistent and reusable across your applications. Once you understand domain setup, working with data elements and tables becomes natural.

Test Your Knowledge

SAP Challenge Question 1 of 10

Loading question...

Found this tutorial useful? Share it with your SAP development team.