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: 

Negative Currency Value on Dynpro

Former Member
0 Kudos

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

6 REPLIES 6

VXLozano
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Other solutions ?

I can't believe that SAP can't manage negative values . . .

0 Kudos

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-.

VXLozano
Active Contributor
0 Kudos

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

Former Member

In field attributes set 'V' as last letter in Text definition.

e.g It looks like '__________V'

0 Kudos

Hi,

Check this thread..

Regards

Vijay