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

-ve sign problem

Former Member
0 Likes
2,536

hi experts,

I have a negative sign problem with a field on <b> modulpool screen.</b>

field name : xyz

domain : zxyz - with type DEC 13 decimal places 2. <b>Sign check box ticked</b>.

<b>during runtime if this field is populated with a -ve value , the program throws a dump saying there is a conversion error.</b>

Can anyone help me to know what can be the reason for this

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Pawan_Kesari
Active Contributor
0 Likes
1,741

goto screen painter.. double click on that field.. and in attribute, in TEXT attribute put 'V' at the last position...

for example property Text = '_________V' excluding quotes

hi experts,

I have a negative sign problem with a field on <b> modulpool screen.</b>

field name : xyz

domain : zxyz - with type DEC 13 decimal places 2. <b>Sign check box ticked</b>.

<b>during runtime if this field is populated with a -ve value , the program throws a dump saying there is a conversion error.</b>

Can anyone help me to know what can be the reason for this

thanks in advance.

6 REPLIES 6
Read only

varma_narayana
Active Contributor
0 Likes
1,741

Hi Rashmi..

To avoid Short dump for negative values in Module pool.

You have to <b>set the Property "With Sign(Checkbox) " in the Screen Painter</b> in the Attributes of your field (Input/Output field). Then only you can display negative values in a field.

This will surely work..

<b>Reward if Helpful.</b>

Read only

Former Member
0 Likes
1,741

Flag for sign in numerical fields

If fields referring to this domain can contain negative values, this flag must he set.

When the field contents are output on the screen, the first position of the output is reserved for a sign. If the flag is not set but the field contains negative values, problems might occur during screen output.

<b>You can only make entries in this field for data types DEC, FLTP, QUAN and CURR.</b>

Make sure that the flag is checked and also make sure that you enter a value which is compatible to DEC 13 and decimal places 2.

Regards,

Pavan

Read only

Former Member
0 Likes
1,741

hi Rashmi

set the With Sign Checkbox in screen painter

.

regards

ravish

<b>plz dont forget to reward points if useful</b>

Read only

Pawan_Kesari
Active Contributor
0 Likes
1,742

goto screen painter.. double click on that field.. and in attribute, in TEXT attribute put 'V' at the last position...

for example property Text = '_________V' excluding quotes

Read only

Former Member
0 Likes
1,741

Hi Rashmi,

We have faced similar problem. You check onething. go to screen's element list. go to text i/o templates tab. in that wat ever field you want to accept negative values put in text or i/o field like this. <b>__________V</b> also check in domain. it shub be with sign checked.

hope it will resolve ur prob. ne query ping me back.

reward if helpful

regards

azad.

Read only

former_member196280
Active Contributor
0 Likes
1,741

Try this domain

see the domain MENGV8 or MENGV*

It may help to solve your problem

OR

You need to do one thing , go to the screen in screen painter, click on the element list tab, now click on the text and i/o templetes tab, now find your field in the list, now in the "Text O/I Field" column you need to add a V to the _____________ so that it looks like this.

______________V

The "V" is like a place for a '-' sign.

Also make sure that you field in the screen painter is defined as DEC.

Regards,

Sairam