ABAP Keyword Documentation → ABAP Programming Guidelines → Robust ABAP
Assignments, Calculations, and Other Types of Data Access
During an assignment, the content of a data object is transferred to another data object. If the data
objects are compatible, the content is copied unchanged. If the data objects are incompatible and there is a suitable conversion rule, the content is converted. An assignment is usually performed with the assignment operator
(=
).
A calculation is executed in a calculation expression, which can be shown in an operand position or
on the right side of the equals sign of the COMPUTE
statement. If necessary,
the result of a calculation expression is converted to the data type of the operand position or of the
result of the COMPUTE
statement. In arithmetic expressions, the calculation is executed in a calculation type based on the data types of all operands including the result.
Other versions: 7.31 | 7.40 | 7.54
Continue
Assignments Between Different Types
Trailing Blanks in Character Literals