You cannot store data objects of the following data types at any addresses you want in the main memory:
For example, an ABAPfield of type i must have an address divisible by 4, and a field of type f must have an address divisible by 8. The storage address of character-like data objects must be divisible by 2 or 4, depending on the
Unicode character representation.
An elementary data object is aligned when it has an address that corresponds to its data type.
A structure is aligned when
You do not normally have to be concerned about the correct alignment of data objects, because they are automatically created correctly on declaration. This can lead to alignment gaps in structures with components of different data types.
However, in the following cases, you must pay attention to alignment:
If a statement expects a particular alignment of a data object, an exception is raised if there is insufficient alignment.
Components that are included in structures using INCLUDE TYPE|STRUCTURE behave like genuine substructures with regard to alignment.