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

Procedure

In the initial screen of the ABAP Dictionary select object type Domain, enter the domain name and choose This graphic is explained in the accompanying textChange.

Note

All the tables and structures in which a field or component refers to the particular domain are affected by changes made to the domain.

A conversion of these tables could be necessary (see Structure link Adjusting Database Structures). This could be very time-consuming for tables containing a large number of records. Foreign keys might also become inconsistent in such tables and structures. You should therefore find out what effects the change will have using the where-used list This graphic is explained in the accompanying text before you change a domain.

Changing the Data Type, Number of Places or Number of Decimal Places

You can change the data type and number of places or decimal places simply by overwriting the relevant data. Note that a change of this type can cause all tables containing a field referring to the changed domain to be converted.

You should therefore find out all the database tables in which a field refers to the domain before making such a change. To do this, choose This graphic is explained in the accompanying text and then Indirect use in the next dialog box. A list appears. Select DB tables and choose This graphic is explained in the accompanying text. All the database tables in which a field refers to the domain are displayed.

Changing the Output Attributes

Changing the output attributes of a domain has an effect on the dialog behavior in all the screens in which a field refers to this domain.

You should therefore find out which screens are affected before making such a change. To do this, choose This graphic is explained in the accompanying text and then Indirect use in the next dialog box. A list appears. Select Screens and choose This graphic is explained in the accompanying text. All the screens in which a field refers to the domain are listed.

Changing the Value Table

The value table is used as proposal value for foreign key definitions. If you change the value table, use the where-used list to check if foreign keys that were already created also have to be changed. You can find out which foreign keys are affected by finding all the fields that refer to the domain and checking them against the changed value table.

 

 

Leaving content frame