Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

subroutines using and changing

Hi All,

I am using a subroutines like this.

 data num1 type i.
data num2 type i.
data res type i.

num1 = 10.
num2 = 20.

perform add.

form add.

res = num1 + num2.

write : res.


This returns the result.

But what are the changes if I use changing and using parameters and how do i use it in the current context.



Former Member
Not what you were looking for? View more on this topic or Ask a question