DATA NUMBER TYPE I VALUE 5.
CALL FUNCTION 'SET_COUNTER'
EXPORTING
SET_VALUE = NUMBER.
DO 3 TIMES.
CALL FUNCTION 'INCREMENT_COUNTER'.
ENDDO.
CALL FUNCTION 'GET_COUNTER'
IMPORTING
GET_VALUE = NUMBER.
WRITE: / 'After processing NUMBER is :- ', NUMBER.
CALL FUNCTION 'SET_COUNTER'
EXPORTING
SET_VALUE = NUMBER.
DO 3 TIMES.
CALL FUNCTION 'INCREMENT_COUNTER'.
ENDDO.
CALL FUNCTION 'GET_COUNTER'
IMPORTING
GET_VALUE = NUMBER.
WRITE: / 'After processing NUMBER is :- ', NUMBER.
No comments:
Post a Comment