Show TOC Start of Content Area

Procedure documentationReference Fields  Locate the document in its SAP Library structure

Use

A reference field must be specified for a field with a currency amount.  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 this moment defines the currency.

Prerequisites

You have created a structure in the Java Dictionary.

Procedure

       1.      In the Dictionary Explorer, select a structure and choose Open from the context menu. The Structure Editor open the structure.

       2.      In the Elements screen area, choose Add element to structure. The Create an Element dialog opens.

       3.      Choose Browse. The Simple Type Selection dialog opens.

       4.      Choose Dictionaries Local Dictionary com.sap.dictionary.predefined.currency.

       5.      Select either currency or currencyNormalized. If you choose the currencyNormalized type, the formatting corresponds to currency specifications editing in the SAP system.   

       6.      Create another element and assign the Decimal data type.

       7.      In the Reference element field, enter the name of the field defined in step one above.

       8.      Choose Save.

 

 

 

 

 

End of Content Area