ABAP - Keyword Documentation →  ABAP - Programming Language →  Processing Internal Data →  Assignments →  Lossless Assignments →  Lossless Assignments, Rules → 
Mail Feedback

Checking Structures

The operator EXACT can only be used to convert structures to compatible structures. Full compatibility is not required for the following deep components, for which the specified requirements apply:

Hints

Example

Unlike simple conversion, the lossless assignment leads to a syntax error.

DATA:
  BEGIN OF struc,
    col1 TYPE d,
    col2 TYPE t,
  END OF struc.

DATA(result1) = CONV string( struc ).  "Possible

DATA(result2) = EXACT string( struc ). "Not possible