Entering content frameProcedure documentation Changing Data Types and Lengths of Existing Fields Locate the document in its SAP Library structure

If a Structure link data element is assigned to the field, you must change the technical field attributes (data type, length, number of decimal places) in the domain of the data element.

Procedure for Fields with Data Elements

  1. Double-click on the name of the data element.

The data element maintenance screen appears.

  1. Double-click on the name of the domain.

The domain maintenance screen appears.

  1. Choose Domain ® Display ® Change.

Make the required changes and save your entries.

Note that this change affects all the table fields that refer to the particular domain. Foreign keys could become inconsistent and conversions required. You should therefore consider the effects of this action before changing the domain by choosing This graphic is explained in the accompanying text in the maintenance screen of the domain and checking if the domain is used in other tables.

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

The table is activated again and the table field is adjusted to the domain change.

Procedure for Fields with Direct Type Entry

  1. Place the cursor on the field and choose Data element / Direct type.

Values can now be entered in fields Data type, Length, DecPlaces and Short text.

  1. Change the entries for the data type, length and possibly the number of decimal places.

Save your entries.

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

Caution

Note that a table conversion will normally be necessary (see Structure link Adjusting Database Structures) if you change the field attributes.

Leaving content frame