SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Processing Internal Data → Assignments → Assignment and Conversion Rules → Conversion Rules for Structures →Unicode Fragment View
The Unicode fragment view splits a structure into fragments. A fragment is a grouping of structure components of the same or similar data types. In nested structures, the elementary components on the lowest nesting depth are taken into account when forming fragments in nested structures. The following parts of a structure are each grouped to form fragments:
Notes
Example
DATA:
BEGIN OF struc,
a TYPE c LENGTH 3,
b TYPE n LENGTH 4,
c TYPE d,
d TYPE t,
e TYPE decfloat16,
f TYPE x LENGTH 2,
g TYPE x LENGTH 4,
h TYPE i,
i TYPE i,
j TYPE i,
k TYPE i,
END OF struc.
The structure struc contains the following Unicode fragments in a Unicode system in which character-like fields are represented by 2 bytes per character. Alignment gaps are marked with an A.
Fragment | Components | Bytes |
1 | a, b, c, d | 6+8+16+12 |
2 | A | 6 |
3 | e | 8 |
4 | f, g | 2+4 |
5 | A | 2 |
6 | h, i, j, k | 4+4+4+4 |