Entering content frameProcedure documentation Creating Domains Locate the document in its SAP Library structure

Before creating a new domain, check whether a domain that defines the same value range already exists. In this case you should use the existing domain if possible.

Procedure

  1. Select object type Domains in the initial screen of the ABAP Dictionary, enter the name of the domain and choose This graphic is explained in the accompanying textCreate.
  2. The maintenance screen for domains appears.

  3. Enter an explanatory short text in the field Short text.
  4. You can for example find the domain at a later time using this short text.

  5. On the Data type tab page, choose the Structure link data type, number of places (valid positions without editing characters such as comma or period) and number of decimal places (only needed for data types DEC, FLTP, QUAN and CURR).
  6. Note that some data types have a fixed length. For example, the data type CLNT (client) always has 3 places. If you enter an invalid number of places for such a data type, the system corrects this automatically after issuing a warning.

  7. If only certain input values are valid for the domain, you can enter them in the Value range tab page as fixed values.
  8. You can also define a value table as proposed value for foreign key checks on this tab page.

  9. Save the domain.
  10. You are asked to assign the domain a development class.

  11. Choose This graphic is explained in the accompanying text.

Result

The domain is activated. You can find information about the activation flow in the activation log, which you can call with Utilities ® Activation log. If errors occurred when the domain was activated, the activation log is automatically displayed.

Other Options

Leaving content frame