10-17-2008 10:10 AM
Hi All,
I have return one statement but it is not working its getting dump
the statement is like this
tmp_excise1 = ( totvalueexc / wa_ekko-menge ) * wa_mkpf-menge.
who to make this statement true.
pls can you help.
10-17-2008 10:12 AM
Hi,
Just check the value of wa_ekko-menge. It should not be 0(Zero)
rgds,
paras
10-17-2008 10:14 AM
try like this
if wa_ekko-menge is not initial.( or ne '0.00'.)
tmp_excise1 = ( totvalueexc / wa_ekko-menge ) * wa_mkpf-menge.
endif.
regards
Prabhu
10-17-2008 10:14 AM
hi,
this statement may have gone to dump when wa_ekko-menge = 0.
try like this.
if wa_ekko-menge NE '0'.
tmp_excise1 = ( totvalueexc / wa_ekko-menge ) * wa_mkpf-menge.
endif.