Skip to Content
0
Former Member
May 02, 2007 at 12:38 PM

sapscript: PERFORM USAGE

29 Views

/: DEFINE &VAR1& = 2
/: DEFINE &VAR2& = 3
/*
/: PERFORM SUB1 IN PROGRAM PROG1
/: USING &VAR1&
/: USING &VAR2&
/: CHANGING &TOTAL&
/: ENDPERFORM
/*
* &TOTAL&

-


If I will add &VAR1& and &VAR2& in the called program PROG1 and stored the sum on &TOTAL&, should I expect the value 5 printed on my report? <b>thanks for the help.</b>