Target | Conversion |
c | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the target field is filled with blank characters. |
d | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the target field is filled with the character "0". |
f | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the value 0 is assigned to the target field. |
i, b, s | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the value 0 is assigned to the target field. |
n | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the target field is filled with the character "0". |
p | The content is treated in the same way as a source field of type c, with the difference that trailing spaces are transferred. If the length of the source field is 0, the value 0 is assigned to the target field. |
string | No conversion takes place. After the assignment, the internal reference of the target field points to the same string as the source field. A new string is only created in the memory if a change request for the content of the source field or target field is submitted.. |
t | The content is treated in the same way as a source field of type c. If the length of the source field is 0, the target field is filled with the character "0" and the trailing spaces are transferred. |
x | The content is treated the same way as a source field of type c. If the length of the source field is 0, the target field is filled with hexadecimal 0. |
xstring | The content is treated the same way as a source field of type c. If the length of the source field is 0, the length of the target field is also 0 after the assignment. |
In ABAP, the trailing spaces in source fields of type string are taken into account and in data objects of type c they are ignored by default.