‎2007 Sep 05 4:09 PM
Hi All,
What does a reference field mean?
Thanks & Regards,
<b>Anil Kumar</b>
‎2007 Sep 05 4:39 PM
Hi Anil, look at <a href="http://http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf">BC - ABAP Dictionary</a>
<b>Reference Fields and Reference Tables</b>
You must specify a reference table for fields containing quantities (data type QUAN) or currency
amounts (data type CURR).
This reference table must contain a field with the format for the currency key (data type CUKY) or
unit of measure (data type UNIT). This field is called the reference field of the output field. The
reference field can also reside in the table itself.
A field is only assigned to the reference field at program runtime. For example, if a field is filled
with currency amounts, the corresponding currency is determined from the assigned reference
field, that is the value entered in this field at the moment defines the currency.Regards
‎2007 Sep 06 5:39 AM
Hi
<b>Reference field</b> for currency and qty fields
Field of the reference table, containing the applicable quantity unit or currency.
A field containing currency amounts (data type CURR) must be assigned a reference field including the currency key (data type CUKY).
A field containing quantity specifications (data type QUAN) must be assigned a reference field including the associated quantity unit (data type UNIT).
Reward if usefull