2009 Jul 15 11:21 AM
Hello everyone,
I have a screen 0100 with table control only for output of values from an internal table of type ZVALUES, in which ZVALUES is a structure with the following fields:
DMBTR type CURR16
DMBE2 type CURR16
DMBE3 type CURR16
WAERS type CUKY
When i created the table control, i used the wizard and then used "from dictionary" to pull all fields and drag them to table control.
Now, everythings works fine as long as the values are positive. But whenever a value is < 0 i get a dump with DYNPRO_ERROR_CONVERSION.
Is this normal ? Do i have to do anything special so the TC allows negative values ?
Thanks in advance,
Santi
2009 Jul 15 11:28 AM
Hello everyone,
I have a screen 0100 with table control only for output of values from an internal table of type ZVALUES, in which ZVALUES is a structure with the following fields:
DMBTR type CURR16
DMBE2 type CURR16
DMBE3 type CURR16
WAERS type CUKY
When i created the table control, i used the wizard and then used "from dictionary" to pull all fields and drag them to table control.
Now, everythings works fine as long as the values are positive. But whenever a value is < 0 i get a dump with DYNPRO_ERROR_CONVERSION.
Is this normal ? Do i have to do anything special so the TC allows negative values ?
Thanks in advance,
Santi
2009 Jul 15 11:28 AM
2009 Jul 15 11:30 AM
Hi!
move those fields in a character type field and display it there in a character type field,
You will not get the error.
or create a type declaration of your ztable and take those fields as char type and then loop an display those fields in table control...
i hope this will not give Dump.
Regards.
2009 Jul 15 11:30 AM
hi ,
You problem is for conversion .
On screen negative values are not allowed .
SO do one thing quantity field which you want to display on screen make it as character type and then take that field on screen .
do all operation on quantity field and and assign it to character field .
your problem will sovle .
Regards
Deepak .
2009 Jul 15 11:36 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |