Getting compilation error for the following code, Is this Possible at all:
<b>DATA :</b> i1 TYPE i, i2 TYPE i, res TYPE i.
i1 = 1.
i2 = 2.
data subroutinename type string.
subroutinename = 'SUM'.
<b>PERFORM</b> (subroutinename) USING i1 i2 CHANGING res.
WRITE:/ res.
&----
*& Form sum
&----
text
----
-->P_I1 text
-->P_I2 text
<--P_RES text
----
<b>form</b> sum using p_i1
p_i2
changing value(p_res).
p_res = p_i1 + p_i2.
<b>endform.</b> " sum