SAP Tutorials Blog


 Assigning values to ABAP variables

Use ‘=’ or MOVE keyword to assign a value to a variable.


DATA: a TYPE i,

      b TYPE i,

      c TYPE i,

      d TYPE i.


a = 10.

b = a.

MOVE 20 TO c.

MOVE c TO d.


WRITE:/ a, b, c, d.


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Deputy Manager

Contact : serkurumsal@yandex.com