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 CON_ON Constant Private Type reference (TYPE) /BA1/F4_DTE_BOOLE 'X' Boolean values TRUE (='X') and FALSE (= ' ') 20020904
2 DECIMALS_RATE Static Attribute Private Type reference (TYPE) I 20020814
3 FIXED Instance attribute Public Type reference (TYPE) /BA1/F4_DTE_FX_XFIXD Indicator: Exchange Rate Category Uses Fixed Exchange Rates 20020904
4 FOUND_DATE Instance attribute Public Type reference (TYPE) DATUM Date 20020904
5 FROM_FACTOR Instance attribute Public Type reference (TYPE) /BA1/F4_DTE_FX_FFACT Ratio for the "from" currency units 20020910
6 FXRATE_CHAIN Instance attribute Private Type reference (TYPE) G_TYP_TAB_FX_RATE 20020814
7 FXRATE_FLTP Instance attribute Public Type reference (TYPE) F FLOAT Rate Including Exchge Rate Factors and Decimal Places 20020907
8 FXRATE_FLTP_INFO Instance attribute Public Type reference (TYPE) F FLOAT Rate 20020910
9 FX_RATE Instance attribute Public Type reference (TYPE) /BA1/F4_DTE_FX_RATE_DEC Exchange Rate 20020907
10 POW10_TAB Static Attribute Private Type reference (TYPE) G_TYP_TAB_POW10 20020814
11 TO_FACTOR 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 APPLY_SHIFT Instance method Public Method Apply Shift 20021007
2 CALC_RATES Instance method Private Method Calculate Exchange Rates (Instance Variables) 20021004
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20020814
4 CLONE Instance method Public Method Clone Exchange Rate Object 20021004
5 CONVERT_AMOUNT Instance method Public Method Convert amount 20020814
6 CONV_AMOUNT Instance method Private Method Translate Amount or Calculate Interim Result for Exch. Rate 20020907
7 CREATE_INSTANCE Static method Public Method Create Instance 20021004
8 FXRATE_DATA_FLOW_POST Instance method Public Method Report Exchange Rates to Data Flow Management 20021120
9 POW10 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 Importing 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 Importing I_FROM_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
2 Importing I_MDCODE Call by reference Type reference (TYPE) /BA1/F4_DTE_MDCODE Marktdatenkreis 20021004
3 Importing I_RATETYPE Call by reference Type reference (TYPE) /BA1/F4_DTE_FX_RATE_TYPE Devisenkursart 20021004
4 Importing I_TO_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
5 Importing I_VALID_DATE Call by reference Type reference (TYPE) DATUM Datum 20021004
# Exception Resumable Description Created on
1 METHOD_FAILED 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 Importing I_FROM_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
2 Importing I_MDCODE Call by reference Type reference (TYPE) /BA1/F4_DTE_MDCODE Marktdatenkreis 20021004
3 Importing I_RATETYPE Call by reference Type reference (TYPE) /BA1/F4_DTE_FX_RATE_TYPE Devisenkursart 20021004
4 Importing I_TO_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
5 Importing I_VALID_DATE Call by reference Type reference (TYPE) DATUM Datum 20021004
6 Returning R_FXRATE_OBJ Value transfer Object reference (TYPE REF TO) /BA1/CL_F4_FX_RATE Devisenkurs-Objekt 20021004
# Exception Resumable Description Created on
1 METHOD_FAILED Methode fehlgeschlagen 20021004

Method CONVERT_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_AMOUNT Call by reference Type reference (TYPE) P 20020814
2 Importing I_AMOUNT Call by reference Type reference (TYPE) P 20020814
# Exception Resumable Description Created on
1 METHOD_FAILED Methode fehlgeschlagen 20080922

Method CONV_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_AMOUNT Call by reference Type reference (TYPE) P 20020907
2 Exporting E_POW10 Call by reference Type reference (TYPE) I 20020907
3 Importing I_AMOUNT Call by reference Type reference (TYPE) P 20020907
4 Importing 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 METHOD_FAILED Methode fehlgeschlagen 20080922

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONV_TYPE Call by reference Type reference (TYPE) /BA1/F4_DTE_FX_CONV_TYPE Umrechnungstyp 20031022
2 Importing I_FROM_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
3 Importing I_MDCODE Call by reference Type reference (TYPE) /BA1/F4_DTE_MDCODE Marktdatenkreis 20021004
4 Importing I_RATETYPE Call by reference Type reference (TYPE) /BA1/F4_DTE_FX_RATE_TYPE Devisenkursart 20021004
5 Importing I_TAB_FX_RATES Call by reference Type reference (TYPE) /BA1/F4_TAB_FXRATE_CONV Tabellentyp: Devisenkurse für Währungskonvertierung 20021004
6 Importing I_TO_CCY Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20021004
7 Importing I_VALID_DATE Call by reference Type reference (TYPE) DATUM Datum 20021004
8 Returning R_FXRATE_OBJ Value transfer Object reference (TYPE REF TO) /BA1/CL_F4_FX_RATE Devisenkurs-Objekt 20021004
# Exception Resumable Description Created on
1 METHOD_FAILED 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 Importing I_MDCODE Call by reference Type reference (TYPE) /BA1/F4_DTE_MDCODE Marktdatenkreis 20021120
2 Importing I_SYS_TIME Call by reference Type reference (TYPE) /BA1/F4_DTE_SYS_TIME Systemzeitpunkt 20021120
3 Importing 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 Importing I Call by reference Type reference (TYPE) I 20020814
2 Returning 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