Hi
The reference field is used for the output, the output/input format of a currency field depends on the value of its reference field.
For example if you create a screen using the field KONV-KBETR :
the reference field is RV61A-AWEI1:
if you set RV61A-AWEI1 = 3
the value in KONV-KBETR is beeing shown with 3 decimals
So you could see 3,000 but this value is automatically stored as 30.00
if you set RV61A-AWEI1 = 2
the value in KONV-KBETR is beeing shown with 2 decimals
All this convertions are automatically made in according to the value setted in reference field.
You can see this using the statament WRITE with options CURRENCY, try this:
PARAMETERS P_KBETR LIKE KONV-KBETR.
WRITE: P_KBETR CURRENCY '3'.
WRITE: / P_KBETR CURRENCY '2'.
WRITE: / P_KBETR CURRENCY '1'.
Max
Hi rakesh,
Based on the Currency field that we specify there, the input/output formatting(What character is to be used for thousands separator and decimals separator etc) would be decided for that amount field.
Regards,
Ravi
H i Rakesh,
this takes care of the particular currency format ..
suppose say
in india the format is 1,000.00 rs ..
we know that its true and our format is like that .
usa system has 1.000,00
now how are u going to differentiate between the two ..
and how the system understands that ..
so this is the reason we refer to the table when giving currency ..
hope this helps
regards,
Vijay
Add a comment