11-19-2004 10:50 AM
Hi to all !
I have a problem . I have a currency value that i must put on Dynpro but when this value is negative , i have a dump in my program .
I have tryed each kind of type value but when a negative value happen , the program has a dump .
Any Ideas ?
Thanks . Dario
11-19-2004 10:58 AM
Not sure, but I think SAP hates negative currency values and don't allow us to use it...
Try to create another field to contain the sign (value +/- or 1/-1) to show it... I bet you can show your data using sign*value in any list, just changing the types of your catalog...
Best luck,
Vic
11-19-2004 2:48 PM
Other solutions ?
I can't believe that SAP can't manage negative values . . .
11-19-2004 2:59 PM
Dario,
That is not true. SAP can handle negative values in Dynpro.When you define your field in Dynpro, make sure the format is CURR and there is reference field of type CUKY(for example P0008-WAERS).
When you enter a negative value for example -35.45, the field will be displayed as 35.45-.
11-19-2004 3:26 PM
My first words were "Not sure"... Someone told me that... but maybe it will only happens with the financial tables I was working with...
Must do some tests when able, but I'm a bit busy atm...
Thanks for your correction, Nablan
02-22-2006 10:32 AM
In field attributes set 'V' as last letter in Text definition.
e.g It looks like '__________V'
02-22-2006 11:21 AM