Skip to Content
0
Former Member
Dec 21, 2007 at 06:18 AM

total is being doubled

37 Views

hi experts,

i have a script output in which i have a total field..if i see preview total is coming properly but when i go back to take print out the total is doubling ..what shall i do ..

from script i am calling a subroutiune .in which i am totaling the weight of the line items .

the pblm i found is the qty field which i use for toaling is .

tot = tot + weight.

now the tot remains uncleared while taking print after seeing preview.

so the tot value is doubling in my print out .

this keeps on taling till i get out of the tcode .

when i put the tcode again and take print out .it is coming properly .

what may be the reason???

i am using perform statement for calling subroutine using

changing and using statement

'ragrds,

mani