SAP /BA1/CL_F4_API_FX OO Class - Foreign Exchange API
/BA1/CL_F4_API_FX is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /BA1/CL_F4_API_FX including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /BA1/IF_F4_API_FXRATESInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /BA1/IF_F4_API_RPT_CALC_BASEMethod list of /BA1/CL_F4_API_FX SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD /ba1/cl_f4_api_fx=>CLASS_CONSTRUCTOR...more details | ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /ba1/cl_f4_api_fx=>CONSTRUCTOR...more details | ||
| CONVERT_RATE | Convert Exchange Rate to Other Notation | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>CONVERT_RATE...more details | ||
| CONVERT_RATE_FLTP | Convert Exchange Rate to Other Notation (Float) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>CONVERT_RATE_FLTP...more details | ||
| CONVERT_WITH_I_FXRATE | Translate with Import FX Rate (Packed) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>CONVERT_WITH_I_FXRATE...more details | ||
| CONVERT_WITH_I_FXRATE_FLTP | Translate with Import FX Rate (Float) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>CONVERT_WITH_I_FXRATE_FLTP...more details | ||
|
| ||
| FXRATE_CALC | Calculate Exchange Rate (with Scenario and Date) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>FXRATE_CALC...more details | ||
| FXRATE_INTERPOLATE | Interpolate Exchange Rates | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>FXRATE_INTERPOLATE...more details | ||
| FXRATE_SHIFT | Shift Exchange Rate | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>FXRATE_SHIFT...more details | ||
| FX_CONVERT_ACC | Private | |
| CALL METHOD /ba1/cl_f4_api_fx=>FX_CONVERT_ACC...more details | ||
| FX_CONVERT_FLTP | Private | |
| CALL METHOD /ba1/cl_f4_api_fx=>FX_CONVERT_FLTP...more details | ||
| FX_FORWARD_FACTOR_CALC | Calculate Forward/Spot Rate Factor | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>FX_FORWARD_FACTOR_CALC...more details | ||
| FX_GET_RATE_ACC | Private | |
| CALL METHOD /ba1/cl_f4_api_fx=>FX_GET_RATE_ACC...more details | ||
| FX_GET_RATE_FLTP | Private | |
| CALL METHOD /ba1/cl_f4_api_fx=>FX_GET_RATE_FLTP...more details | ||
| GET_FXRATE | Get Exchange Rate | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>GET_FXRATE...more details | ||
| GET_SCENPRGR_FXRATE | Determine Exchange Rate in Sequence of Scenarios | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>GET_SCENPRGR_FXRATE...more details | ||
| GET_SCEN_FXRATE | Get Exchange Rate (with Scenario and Date) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>GET_SCEN_FXRATE...more details | ||
| READ_FXRATE | Read Exchange Rate from DB | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>READ_FXRATE...more details | ||
| READ_FXRATE_BUFFER | Read Exchange Rate from Buffer | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>READ_FXRATE_BUFFER...more details | ||
| READ_FXRATE_FROM_BUFFER | Read Exchange Rate from Buffer | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>READ_FXRATE_FROM_BUFFER...more details | ||
| SCEN_FXRATE_READ | Read Exchange Rate from DB (with Scenario and Date) | Private |
| CALL METHOD /ba1/cl_f4_api_fx=>SCEN_FXRATE_READ...more details | ||
/BA1/CL_F4_API_FX attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CON_BIDASK | Constant | Bid/Ask Indicator | 'B' | LIKE /BA1/F4_DTE_FX_BID_ASK | Private |
| CON_CONV_TYPE_ASK | Constant | Conversion Category | '2' | LIKE /BA1/F4_DTE_FX_CONV_TYPE | Private |
| CON_CONV_TYPE_BID | Constant | Conversion Category | '1' | LIKE /BA1/F4_DTE_FX_CONV_TYPE | Private |
| CON_CONV_TYPE_MID | Constant | Conversion Category | '0' | LIKE /BA1/F4_DTE_FX_CONV_TYPE | Private |
| CON_MAX_AGE | Instance Attribute | LIKE | Private | ||
| CON_MAX_INTEGER | Instance Attribute | LIKE | Private | ||
| CON_ON | Constant | Boolean values TRUE (='X') and FALSE (= ' ') | 'X' | LIKE /BA1/F4_DTE_BOOLE | Private |
| CON_QUOT_DIRECT | Constant | Quotation of an FX Rate | '1' | LIKE /BA1/F4_DTE_FX_NOTATION | Private |
| CON_QUOT_INDIRECT | Constant | Quotation of an FX Rate | '2' | LIKE /BA1/F4_DTE_FX_NOTATION | Private |
| CON_SCEN_TYPE_PROG | Constant | Scenario Type | 'P' | LIKE /BA1/F4_DTE_SCEN_TYPE | Private |
| CON_SCEN_TYPE_SEQ | Constant | Scenario Type | 'Q' | LIKE /BA1/F4_DTE_SCEN_TYPE | Private |
| CURRENT_FX | Instance Attribute | LIKE | Private | ||
| FWD_YCTYPES | Instance Attribute | LIKE | Private | ||
| FX_CONTAINER | Instance Attribute | LIKE | Private | ||
| IMPORT_CONTAINER | Instance Attribute | LIKE | Private | ||
| MDCODE | Instance Attribute | Market Data Area | LIKE /BA1/F4_DTE_MDCODE | Private | |
| SCENREF | Static Attribute | Scenario API | LIKE /BA1/IF_F4_API_SCEN | Private | |
| SYS_TIME | Instance Attribute | System Date/Time | LIKE /BA1/F4_DTE_SYS_TIME | Private | |
| TAH_FX_BUFFER | Instance Attribute | LIKE | Private | ||
| TAS_FX_BUFFER | Instance Attribute | LIKE G_TYP_TAS_FX_BUFFER | Private | ||
| YC_REF | Instance Attribute | Yield Curves API | LIKE /BA1/IF_F4_API_YIELDCURVES | Private |
/BA1/CL_F4_API_FX types
G_TYP_STR_FX -G_TYP_STR_FXREF -
G_TYP_STR_FX_BUFFER -
G_TYP_TAH_FXREF -
G_TYP_TAH_FX_BUFFER -
G_TYP_TAS_FX -
G_TYP_TAS_FX_BUFFER -
G_TYP_TAS_FX_FWD_YCTYPE -
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