Hi people,
I have a little doubt, you can help me please ?
The code below is a little part of the program were occurs the Short Dump, and the error occurs in part highlighted by the symbol >>>>
Table internal "t_zlmv001" is large, has millions of data. How I could avoid the "time out", in this case..
YOU CAN HELP-ME PLEASE ?
-
loop at t_zlmv001.
describe table t_zlmv001 lines v_tot.
v_cont = v_cont + 1.
if v_cont = 1.
t_zlmv001_aux = t_zlmv001.
t_zlmv001_aux-lbkum = 0.
t_zlmv001_aux-salk3 = 0.
endif.
the error occurs in this part ****
>>>> delete t_zlmv001 where matnr = t_zlmv001-matnr
and bwkey = t_zlmv001-bwkey
and bwtar = t_zlmv001-bwtar
and ( bdatj < t_zlmv001-bdatj
or ( bdatj = t_zlmv001-bdatj
and poper < t_zlmv001-poper ) ).
if t_zlmv001-matnr = t_zlmv001_aux-matnr and
t_zlmv001-bwkey = t_zlmv001_aux-bwkey and
t_zlmv001-bdatj = t_zlmv001_aux-bdatj and
t_zlmv001-poper = t_zlmv001_aux-poper and
t_zlmv001-untper = t_zlmv001_aux-untper and
t_zlmv001-curtp = t_zlmv001_aux-curtp and
t_zlmv001-mtuse = t_zlmv001_aux-mtuse.
t_zlmv001_aux-lbkum = t_zlmv001_aux-lbkum + t_zlmv001-lbkum.
t_zlmv001_aux-salk3 = t_zlmv001_aux-salk3 + t_zlmv001-salk3.
else.
append t_zlmv001_aux.
t_zlmv001_aux-lbkum = t_zlmv001-lbkum.
t_zlmv001_aux-salk3 = t_zlmv001-salk3.
t_zlmv001_aux = t_zlmv001.
endif.
endloop.
-