SAP UNICODE ALIGNMENT
Get Example source ABAP code based on a different SAP table
ARTICLE
Alignment in Unicode Systems
In Unicode systems, in addition to
As a consequence, in structures with components of different data types, the
Note
Alignment gaps can also occur at the end of structures, as the overall length of the structure is determined by the component with the largest alignment requirement.
Example
In the following structure, alignment gaps (A) occur in Unicode systems that are not present in non-Unicode systems. The first alignment gap is formed as a result of the alignment of the substructure
BEGIN OF struc1,
a TYPE x LENGTH 1,
BEGIN OF struc2,
b TYPE x LENGTH 1,
c TYPE c LENGTH 6,
END OF struc2,
d TYPE i,
END OF struc1.