FX_FORWARD_FACTOR_CALC SAP Method Calculate Forward/Spot Rate Factor
Below is documentation, parameters and attributes of ABAP Method FX_FORWARD_FACTOR_CALC within SAP class /BA1/CL_F4_API_FX. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BA1/CL_F4_API_FX into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method FX_FORWARD_FACTOR_CALC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FX_FORWARD_FACTOR_CALC
.| Name | Type | Data Type | Description | Default Value |
| I_CONV_TYPE | Importing | TYPE /BA1/F4_DTE_FX_CONV_TYPE | Conversion Category | |
| I_FROM_CCY | Importing | TYPE WAERS | Currency Key | |
| I_FWD_DATE | Importing | TYPE DATUM | Date | |
| I_HORIZON_DATE | Importing | TYPE DATUM | Date | |
| I_RATETYPE | Importing | TYPE /BA1/F4_DTE_FX_RATE_TYPE | Exchange Rate Category | |
| I_SCENARIO | Importing | TYPE /BA1/F4_DTE_MD_SCENARIO | Market Data Scenario | |
| I_TO_CCY | Importing | TYPE WAERS | Currency Key | |
| I_VALID_DATE | Importing | TYPE DATUM | Date | |
| E_FORWARD_FACTOR | Exporting | TYPE F |
Exceptions of Method FX_FORWARD_FACTOR_CALC
F
Example ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /BA1/CL_F4_API_FX.
DATA: lv_E_FORWARD_FACTOR TYPE F,
lv_I_CONV_TYPE TYPE /BA1/F4_DTE_FX_CONV_TYPE,
lv_I_FROM_CCY TYPE WAERS,
lv_I_FWD_DATE TYPE DATUM,
lv_I_HORIZON_DATE TYPE DATUM,
lv_I_RATETYPE TYPE /BA1/F4_DTE_FX_RATE_TYPE,
lv_I_SCENARIO TYPE /BA1/F4_DTE_MD_SCENARIO,
lv_I_TO_CCY TYPE WAERS,
lv_I_VALID_DATE TYPE DATUM,
lv_other TYPE c.
CALL METHOD lo_class=>FX_FORWARD_FACTOR_CALC(
EXPORTING
I_CONV_TYPE = lv_I_CONV_TYPE
I_FROM_CCY = lv_I_FROM_CCY
I_FWD_DATE = lv_I_FWD_DATE
I_HORIZON_DATE = lv_I_HORIZON_DATE
I_RATETYPE = lv_I_RATETYPE
I_SCENARIO = lv_I_SCENARIO
I_TO_CCY = lv_I_TO_CCY
I_VALID_DATE = lv_I_VALID_DATE
IMPORTING
E_FORWARD_FACTOR = lv_E_FORWARD_FACTOR ).
Links to Related Class(s)
/BA1/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects