SAP ABAP Class /BA1/CL_F4_FX_RATE (Exchange Rate Object)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-FS-MKD (Application Component) Basic Market Data
⤷
/BA1/F4_FX (Package) Market Data: Exchange Rates

⤷

⤷

Properties
Class | /BA1/CL_F4_FX_RATE | |
Short Description | Exchange Rate Object | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /BA1/F4_FX | Market Data: Exchange Rates |
Created | 20020814 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /BA1/CL_F4_FX_RATE has no forward declaration.
Interfaces
Class /BA1/CL_F4_FX_RATE has no interface implemented.
Friends
Class /BA1/CL_F4_FX_RATE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | /BA1/F4_DTE_BOOLE | 'X' | Boolean values TRUE (='X') and FALSE (= ' ') | 20020904 | |
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | 20020814 | |||
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | /BA1/F4_DTE_FX_XFIXD | Indicator: Exchange Rate Category Uses Fixed Exchange Rates | 20020904 | ||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | DATUM | Date | 20020904 | ||
5 | ![]() |
Instance attribute | Public | Type reference (TYPE) | /BA1/F4_DTE_FX_FFACT | Ratio for the "from" currency units | 20020910 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | G_TYP_TAB_FX_RATE | 20020814 | |||
7 | ![]() |
Instance attribute | Public | Type reference (TYPE) | F | FLOAT Rate Including Exchge Rate Factors and Decimal Places | 20020907 | ||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | F | FLOAT Rate | 20020910 | ||
9 | ![]() |
Instance attribute | Public | Type reference (TYPE) | /BA1/F4_DTE_FX_RATE_DEC | Exchange Rate | 20020907 | ||
10 | ![]() |
Static Attribute | Private | Type reference (TYPE) | G_TYP_TAB_POW10 | 20020814 | |||
11 | ![]() |
Instance attribute | Public | Type reference (TYPE) | /BA1/F4_DTE_FX_TFACT | Ratio for the "to" currency units | 20020910 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Apply Shift | 20021007 |
2 | ![]() |
Instance method | Private | Method | Calculate Exchange Rates (Instance Variables) | 20021004 |
3 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20020814 |
4 | ![]() |
Instance method | Public | Method | Clone Exchange Rate Object | 20021004 |
5 | ![]() |
Instance method | Public | Method | Convert amount | 20020814 |
6 | ![]() |
Instance method | Private | Method | Translate Amount or Calculate Interim Result for Exch. Rate | 20020907 |
7 | ![]() |
Static method | Public | Method | Create Instance | 20021004 |
8 | ![]() |
Instance method | Public | Method | Report Exchange Rates to Data Flow Management | 20021120 |
9 | ![]() |
Static method | Public | Method | 10 ** Calculate i (i = Natural Number) | 20020814 |
Events
Class /BA1/CL_F4_FX_RATE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | G_TYP_STR_FX_RATE | Private | See coding | 20020814 |
|
||
2 | G_TYP_TAB_FX_RATE | Private | See coding | 20020814 |
|
||
3 | G_TYP_TAB_POW10 | Private | See coding | 20020814 |
|
Method Signatures
Method APPLY_SHIFT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SHIFT_FACTOR | Call by reference | Type reference (TYPE) | F | 20021007 |
Method APPLY_SHIFT on class /BA1/CL_F4_FX_RATE has no exception.
Method CALC_RATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_FROM_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
2 | ![]() |
I_MDCODE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_MDCODE | Marktdatenkreis | 20021004 | ||
3 | ![]() |
I_RATETYPE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_FX_RATE_TYPE | Devisenkursart | 20021004 | ||
4 | ![]() |
I_TO_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
5 | ![]() |
I_VALID_DATE | Call by reference | Type reference (TYPE) | DATUM | Datum | 20021004 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Methode fehlgeschlagen | 20021004 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /BA1/CL_F4_FX_RATE has no parameter.
Method CLASS_CONSTRUCTOR on class /BA1/CL_F4_FX_RATE has no exception.
Method CLONE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_FROM_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
2 | ![]() |
I_MDCODE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_MDCODE | Marktdatenkreis | 20021004 | ||
3 | ![]() |
I_RATETYPE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_FX_RATE_TYPE | Devisenkursart | 20021004 | ||
4 | ![]() |
I_TO_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
5 | ![]() |
I_VALID_DATE | Call by reference | Type reference (TYPE) | DATUM | Datum | 20021004 | ||
6 | ![]() |
R_FXRATE_OBJ | Value transfer | Object reference (TYPE REF TO) | /BA1/CL_F4_FX_RATE | Devisenkurs-Objekt | 20021004 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Methode fehlgeschlagen | 20021004 |
Method CONVERT_AMOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_AMOUNT | Call by reference | Type reference (TYPE) | P | 20020814 | |||
2 | ![]() |
I_AMOUNT | Call by reference | Type reference (TYPE) | P | 20020814 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Methode fehlgeschlagen | 20080922 |
Method CONV_AMOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_AMOUNT | Call by reference | Type reference (TYPE) | P | 20020907 | |||
2 | ![]() |
E_POW10 | Call by reference | Type reference (TYPE) | I | 20020907 | |||
3 | ![]() |
I_AMOUNT | Call by reference | Type reference (TYPE) | P | 20020907 | |||
4 | ![]() |
I_CALC_RATE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_BOOLE | Boole'sche Werte TRUE (= 'X') und FALSE (= ' ') | 20020907 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Methode fehlgeschlagen | 20080922 |
Method CREATE_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONV_TYPE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_FX_CONV_TYPE | Umrechnungstyp | 20031022 | ||
2 | ![]() |
I_FROM_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
3 | ![]() |
I_MDCODE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_MDCODE | Marktdatenkreis | 20021004 | ||
4 | ![]() |
I_RATETYPE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_FX_RATE_TYPE | Devisenkursart | 20021004 | ||
5 | ![]() |
I_TAB_FX_RATES | Call by reference | Type reference (TYPE) | /BA1/F4_TAB_FXRATE_CONV | Tabellentyp: Devisenkurse für Währungskonvertierung | 20021004 | ||
6 | ![]() |
I_TO_CCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20021004 | ||
7 | ![]() |
I_VALID_DATE | Call by reference | Type reference (TYPE) | DATUM | Datum | 20021004 | ||
8 | ![]() |
R_FXRATE_OBJ | Value transfer | Object reference (TYPE REF TO) | /BA1/CL_F4_FX_RATE | Devisenkurs-Objekt | 20021004 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Create Object fehlgeschlagen | 20021004 |
Method FXRATE_DATA_FLOW_POST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_MDCODE | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_MDCODE | Marktdatenkreis | 20021120 | ||
2 | ![]() |
I_SYS_TIME | Call by reference | Type reference (TYPE) | /BA1/F4_DTE_SYS_TIME | Systemzeitpunkt | 20021120 | ||
3 | ![]() |
I_VALID_DATE | Call by reference | Type reference (TYPE) | DATUM | Datum | 20021120 |
Method FXRATE_DATA_FLOW_POST on class /BA1/CL_F4_FX_RATE has no exception.
Method POW10 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I | Call by reference | Type reference (TYPE) | I | 20020814 | |||
2 | ![]() |
POW10 | Value transfer | Type reference (TYPE) | /BA1/F4_DTE_FX_INT_NUMBER | Natürliche Zahl mit bis zu 31 Stellen | 20020814 |
Method POW10 on class /BA1/CL_F4_FX_RATE has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 20 |