SAP UNICODE ALIGNMENT SAP Info
ARTICLE ( Version: 0016)
Alignment in Unicode Systems
In Unicode systems, in addition to the
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
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>
Unicode system
ARTICLE ( Version: 0021)
Alignment in Unicode Systems
In Unicode systems, in addition to the
alignment requirements> for numeric data objects of types
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
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>
ARTICLE ( Version: 0022)
Alignment in Unicode Systems
In Unicode systems, in addition to the
alignment requirements> for numeric data objects of types
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.
ARTICLE ( Version: 0023)
Alignment in Unicode Systems
In Unicode systems, in addition to
requirements> for numeric data objects of types
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.
Message text extract from SAP system. Copyright SAP SE.
Search for further information about these or an SAP related objects