i wrote a simple program like this...
REPORT ZMYTESTPRG36 .
DATA: A TYPE I, B TYPE I.
A = 5.
B = 4.
PERFORM ADD_DATA using A B.
FORM ADD_DATA using x y.
DATA Z TYPE I.
x = 2.
y = 5.
Z = X + Y.
WRITE : 'THE SUM OF ', a , b , 'IS ', Z.
ENDFORM.
i am getting the result as 7.
how i get the result as 9.
with call by reference concept..
i wanna pass the actual parameters to the subroutine...
Message was edited by:
balaji velpuri