cancel
Showing results for 
Search instead for 
Did you mean: 

Currency TND wrong decimal

Former Member
0 Kudos

Hi all ,

We are facing any issue when we trying to display the TND Currency .

Issue is like,

We donu2019t have any price field in one screen, where the client wants to show the price field in that screen.

What we done is , we added our custom field in the screen same as like standard price field in the other screen

For the standard price the data element have propertied like CURR (13,2).

When we trying to Display our custom filed its printing only 2 decimal and that to one decimal is shifting to left.

Example: 200.000

Instead of 200.000 its displaying like 2000.00

What we do in this screen, its just display .

Where user can add that row to his work area.

After adding into the work area, where we have the standard field

.

can anybody give any suggestion.

or is there any conversions happening in the its side

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thank you

Former Member
0 Kudos

i have same kind of this issue while displaying the price field.

unit price is 25.000000. it's displayed as 250,000.00. node is having the "waers" field.

any hints to fix this?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Are you sure that you have declared the field off of a DDic structure that has the correct currency reference? Is a value with the currency itself available in the context? If you try to issue the same field with a write statement in a classic dynpro application, does it output the decimals correctly?

The overall process is explained nicely in this section of the online help.

[http://help.sap.com/saphelp_nw70/helpdata/EN/f3/536fdd5906482a8aac9545527d8728/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/f3/536fdd5906482a8aac9545527d8728/frameset.htm]

You might have to use the SET_ATTRIBUTE_REFERENCE_FIELD to point the currency amount to the currency type field.