Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Dump

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Just check the value of wa_ekko-menge. It should not be 0(Zero)

rgds,

paras

Former Member
0 Kudos

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

GauthamV
Active Contributor
0 Kudos

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.