Application Development and Automation 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: 
Read only

Getting Dump

Former Member
0 Likes
516

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
Read only

Former Member
0 Likes
490

Hi,

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

rgds,

paras

Read only

Former Member
0 Likes
490

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

Read only

GauthamV
Active Contributor
0 Likes
490

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.