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: 

Problem in SET_TABLE_FOR_FIRST_DISPLAY

Former Member
0 Kudos

Hi All,

I am using REF_ALV_COMM_DETL->SET_TABLE_FOR_FIRST_DISPLAY for displaying output in report. I am passing interal table to method one of the field is GT_EKPO-EFFWR = '205205.70'. But when I am cheching this in output it is displaying '20520.570'. Only for fiew currency's this problem is occuring. This record WAERS is KWD. What would be the problem ?

Thanks

Chandra

It is changing the decimal places based on Currency Key (Waers). I dont want this to happen. How to stop.

Edited by: Chandra Reddy on Mar 17, 2008 7:17 PM

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

The dinar (Arabic: دينار, ISO 4217 code KWD) is the currency of Kuwait. It is sub-divided into 1000 fils. It is the highest valued currency unit in the world.

So this currency is displayed with 3 decimals.

If you want to "force" display to 2 decimal,move the amount to a numeric field without reference to currency, or break the link to currency code in the field catalog.

Regards

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

The dinar (Arabic: دينار, ISO 4217 code KWD) is the currency of Kuwait. It is sub-divided into 1000 fils. It is the highest valued currency unit in the world.

So this currency is displayed with 3 decimals.

If you want to "force" display to 2 decimal,move the amount to a numeric field without reference to currency, or break the link to currency code in the field catalog.

Regards