01-30-2007 10:26 AM
why s that we need to give a reference field for quantity and currency based fields alone
01-30-2007 10:27 AM
Hi,
This is because a qty must have a unit of measure, like an amount ( , $, £, ... ) in order to use conversion functionnality.
Erwan
01-30-2007 10:30 AM
Hi,
please go thru this URL:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&;
Thanks
Shiva
01-30-2007 10:31 AM
Hi,
We are just defining the quantity format and currency format like database table fields which are already defined by SAP.
Example:
In SAP quantity fields of data are like this
123.000 like that only.
The decimal places are minimum will be 3.
Thanks,
Shankar
01-30-2007 10:31 AM
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'.
Rgds
Anver
01-30-2007 10:33 AM
Hi,
The reference table and reference field are the fields which specify the currency key or Unit of Measure. Suppose if the user specifies a currency amount say 1000$, the currency amount field would indicate the amount 1000 and the currency key indicates that the currency specified is in Dollars.
regards,
keerthi
01-30-2007 10:46 AM
Hi,
<b>The reference table and reference field are the fields which specify the currency key or Unit of Measure. Suppose if the user specifies a currency amount say 1000$, the currency amount field would indicate the amount 1000 and the currency key indicates that the currency specified is in Dollars.</b>
11-24-2011 12:25 PM
Ok , which reference table & reference field is used for INR(Indian rupees) in ztable . tell me also can i make also itself.
Dhananjay