SAP VALUE ASSIGNMENTS



Get Example source ABAP code based on a different SAP table
  



Assignments
An assignment passes the content of a source to a target data object. The source can be one of the following:
Data objects
Return values or results of functional methods, built-in functions and constructor expressions, or table expressions
Results of calculation expressions
The following sections describe the rules, operators, and keywords where the assignment of source values to target data objects is of significance.
Assignment and conversion rules
= - assignment operator
CONV - conversion operator
Assigning structure components
Assigning references
Lossless assignments
Special assignments
Initializations
Assignments also occur, however, in the operand positions of many other statements in which the assignment rules also apply.

ABAP_EXAMPLE_VX5
Typical assignment with the assignment operator (=) during which a conversion takes place. In the assignment to a data object num of type i, the current user date is converted to the number of days since 01.01.0001.
ABEXA 01377
ABAP_EXAMPLE_END