2007 Jul 27 9:27 AM
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.
2007 Jul 27 9:39 AM
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.
2007 Jul 27 9:33 AM
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>
2007 Jul 27 9:34 AM
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
2007 Jul 27 9:35 AM
hi Rashmi
set the With Sign Checkbox in screen painter
.
regards
ravish
<b>plz dont forget to reward points if useful</b>
2007 Jul 27 9:39 AM
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
2007 Jul 27 9:42 AM
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.
2007 Jul 27 9:45 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |