Skip to Content
avatar image
Former Member

Currency TND wrong decimal

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 09, 2008 at 11:58 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 12, 2008 at 02:26 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 06:10 AM

    thank you

    Add comment
    10|10000 characters needed characters exceeded