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: 

I am getting a short-dump in screen field conversion

Former Member
0 Kudos

Hi all,

I have following situation :

I have one screen field--->

<b>t_zmmat_doc_item-dmbtr</b>

( Type MSEG-DMBTR )

I have one variable <b>l_dmbtr</b> type MSEG_DMBTR.

If I write this, it is ok.

<b> t_zmmat_doc_item-dmbtr = t_zmmat_doc_item-netpr *

t_zmmat_doc_item-erfmg .

<i>" Rate * Quanty</i></b>

But if I write this, it is giving me a short-dump in screen field type conversion error.

<b> l_dmbtr = t_zmmat_doc_item-netpr * <i>" Rate</i>

t_zmmat_doc_item-erfmg . <i>"Quanty</i>

t_zmmat_doc_item-dmbtr = l_dmbtr.</b>

Where does the problem lies ? I need this l_dmbtr later and to be sent to another screen-field of same type.

Please help.

Regards,

Achirangshu De.

2 REPLIES 2

athavanraja
Active Contributor
0 Kudos

If l_dmbtr is of type MSEG-DMBTR you should not have any problem. can you tell us exactly in which line the dump happens.

alos post the following:

1. your exact variable declaration for l_dmbtr

2. your code where you are doing the calculation.

Regards

Raja

christian_wohlfahrt
Active Contributor
0 Kudos

Hi,

one possible reason might be:

you have a negative value, but your screen field isn't prepared for this. Check out, if an edit-mask in attributes of your screen field with '____V' helps (some underlines for numbers and decimal point, V for the sign).

Regards,

Christian