SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Processing Internal Data → Assignments → = - Assignment Operator →
= - Assigning Return Values and Results
Syntax
destination = meth( ) |
func( ) |
constr_expr | table_expr .
Effect
If one of the following calls or expressions is specified on the right side of the assignment operator =, its return value or result is determined and assigned to the left side, destination. If necessary, type-dependent conversions are performed in accordance with the conversion rules. The following items are possible on the right side:
The following can be specified for destination:
Note
If an arithmetic expression is specified as an argument for one of the overloaded numeric functions, the function itself works like an arithmetic expression and its assignment is one of the assignments of arithmetic expressions. This can cause the conversions to be performed in a different order.
Example
Assigns the return value of a method to an internal table declared inline.