CONVERT SAP Method Convert Currency Amount into Target Currency Unit
Below is documentation, parameters and attributes of ABAP Method CONVERT within SAP class /BCV/IF_EX_FND_CURRENCY_CONV. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BCV/IF_EX_FND_CURRENCY_CONV into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CONVERT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT
.| Name | Type | Data Type | Description | Default Value |
| IV_APPLICATION | Importing | TYPE /BCV/FND_APPL | Application Name | |
| IV_DATE | Importing | TYPE /BCV/FND_CONVERSION_DATE | Conversion Date | |
| IV_EX_RATE_TYPE | Importing | TYPE /BCV/FND_EX_RATE_TYPE | Exchange Rate Type | |
| IV_ORIG_CUNIT | Importing | TYPE /BCV/FND_CUKY | Original Currency Unit | |
| IV_TARGET_CUNIT | Importing | TYPE /BCV/FND_TARGET_CUKY | Target Currency Unit | |
| CV_CURRENCY | Changing | TYPE /BCV/FND_CURRENCY | Currency Amount |
Exceptions of Method CONVERT
/BCV/CX_FND_CURR_CONV - Exception Class for Currency ConversionExample ABAP coding
DATA: lv_CV_CURRENCY TYPE /BCV/FND_CURRENCY,
lv_IV_APPLICATION TYPE /BCV/FND_APPL,
lv_IV_DATE TYPE /BCV/FND_CONVERSION_DATE,
lv_IV_EX_RATE_TYPE TYPE /BCV/FND_EX_RATE_TYPE,
lv_IV_ORIG_CUNIT TYPE /BCV/FND_CUKY,
lv_IV_TARGET_CUNIT TYPE /BCV/FND_TARGET_CUKY,
lv_other TYPE c.
CALL METHOD /BCV/IF_EX_FND_CURRENCY_CONV=>CONVERT(
EXPORTING
IV_APPLICATION = lv_IV_APPLICATION
IV_DATE = lv_IV_DATE
IV_EX_RATE_TYPE = lv_IV_EX_RATE_TYPE
IV_ORIG_CUNIT = lv_IV_ORIG_CUNIT
IV_TARGET_CUNIT = lv_IV_TARGET_CUNIT
CHANGING
CV_CURRENCY = lv_CV_CURRENCY ).
Links to Related Class(s)
/BCV/IF_...Full list of available SAP object classes
Search for further information about these or an SAP related objects