SAP ABAP: Using Elementary data type and reference type with keyword VALUE

SAP HANASAPSAP Basis

It is not possible. Check this link for details:

ABAP Documentation

The correct way for using “VALUE” with elementary data type is by assigning initial value and you should use NEW operator to assign initial value.

DATA(l_value) = NEW char4( 'AAA' ).

raja
Published on 05-Dec-2017 21:21:55
Advertisements