Monday, April 21, 2008

MOVE Statement Implementation

Implementation of MOVE statement.
MOVE statement are use to move value from one variable to another variable.

You could try the below program

Example Executable Program.

*&---------------------------------------------------------------------*
*& Report ZFZ0005 *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
*& How to MOVE statement works *
*& by mfbz *
*&---------------------------------------------------------------------*

REPORT ZFZ0005 .

DATA: number1 TYPE c,
number2 TYPE p DECIMALS 2,
count TYPE i.

number1 = 12345.
MOVE '98.68' to number2.
count = number2.

ULINE.
WRITE: / number1,
/ number2,
/ count.

No comments: