ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Assignments → 

Lossless Assignments

A lossless assignment is an assignment between incompatible data types in which the conversion is checked to see whether data is lost. Lossless assignments can be performed using the

This makes it possible to use lossless assignments in all operand positions in which EXACT can be specified.

The real meaning of a lossless assignment is the following method of using a constructor expression with EXACT as the right side of an assignment:

Syntax

destination = EXACT #( source ).

In this case, source is converted to the data type of destination and checked accordingly.

Notes




Continue
EXACT - Lossless Operator
Lossless Assignments - Rules