2010 Jul 16 8:04 PM
Hi All,
Normally in ALV, to display the amount respective to its currency, we just simply pass the currency field(coming from the t_outtab of FM REUSE_ALV_GRID_DISPLAY) to CFIELDNAMEof ALV field catalog.
For ordinary currencies with 2 decimal places, like USD, etc, it will work fine.
But for currencies like KWD and IDR, their decimal place is always 3 via SAP standard definition in transaction OY04.
Given this, ALV field catalog CFIELDNAME cannot handle as such automatic formatting.
Is there any other way without using the code below?
WRITE <amount_field_name> CURRENCY <currency_field_name>.
Thanks.
2010 Jul 16 8:56 PM
In the catalog, set parameter Ref_table.
Example
catalog-FIELDNAME = 'WRBTR'
catalog-REF_TABLE = 'EKPO'
2010 Jul 17 2:07 AM