Code :
REPORT ZVP_SUBROUTINE.
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 60.
NUM2 = 40.
PERFORM ADDITION USING NUM1 NUM2.
WRITE:/ 'SUM = ', SUM, 'NUM1 = ', NUM1, 'NUM2 = ', NUM2.
FORM ADDITION USING A1 A2.
SUM = A1 + A2.
ENDFORM.
Output :
SUM = 100 NUM1 = 60 NUM2 = 40
IDE Used To Test This Code : SAP Login 750.
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
REPORT ZVP_SUBROUTINE.
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 60.
NUM2 = 40.
PERFORM ADDITION USING NUM1 NUM2.
WRITE:/ 'SUM = ', SUM, 'NUM1 = ', NUM1, 'NUM2 = ', NUM2.
FORM ADDITION USING A1 A2.
SUM = A1 + A2.
ENDFORM.
Output :
SUM = 100 NUM1 = 60 NUM2 = 40
IDE Used To Test This Code : SAP Login 750.
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
Post a Comment