I have some code which is used for total stock below. Is it possible to modify this so as to get the total for the previous period and add the value. If so can someone assist? Code is below, thanks
all stocks are considered
IF COMM_STRUCTURE-cpquabu <> 0.
result value of the routine
RESULT = COMM_STRUCTURE-cpquabu.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
ELSE.
RETURNCODE = 4.
ENDIF.