Elementary fields with types i and f occupy special memory addresses that are platform-specific. For example, the address of a type i field must be divisible by 4, and the address of a type f field by 8. Consequently, type i and f fields are known as aligned fields. Structures containing fields with type i oer f are also aligned, and may contain filler fields immediately before their aligned components.
The system normally aligns fields and structures automatically when you declare them.
You must take alignment into account in the following cases:
· When you pass elementary fields or structures to a procedure as actual parameters where the corresponding formal parameter is not typed accordingly.
· When you declare field symbols
· When you use a work area with an ABAP Open SQL statement that does not have the same type as the database table as defined in the ABAP Dictionary.
· When you process components of structures.