SAP ABAP Class CL_FINB_CURRENCY_CONVERTER (Currency Translation)
Hierarchy
☛
FINBASIS (Software Component) Fin. Basis
⤷
FIN-FB (Application Component) Financials Basis
⤷
FINB_CURRENCY (Package) Currency and Currency Conversion
⤷
⤷
Properties
| Class | CL_FINB_CURRENCY_CONVERTER | |
| Short Description | Currency Translation | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FINB_CURRENCY | Currency and Currency Conversion |
| Created | 20020718 | SAP |
| Last change | 20041209 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_FINB_CURRENCY_CONVERTER has no interface implemented.
Friends
Class CL_FINB_CURRENCY_CONVERTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | ACC_SYSTEM | Accounting System | 20020718 | |||
| 2 | Static Attribute | Private | See coding | 20030408 | |||||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EX_FINB_CURR_CVTR | BAdI Interface IF_EX_FINB_CURR_CVTR | 20020718 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | FINB_CUCO_CVTR_TYPE | Type of Currency Converter | 20020718 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FINB_MD_CHAR_FACTORY | Central Factory | 20040510 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Structure with All Char. Potentially Relevant to Revaluation | 20030408 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20020718 | |
| 2 | Instance method | Public | Method | Translates Amount from a (Document) Line | 20020718 | |
| 3 | Instance method | Public | Method | Translates Amount withing a Curency ID (without BAdI!) | 20030205 | |
| 4 | Instance method | Public | Method | Finds Currency Key for Currency-Bearing Characteristi | 20020718 | |
| 5 | Instance method | Public | Method | Returns Characteristic for Currency ID (If <> Trans. Currcy) | 20020806 | |
| 6 | Static method | Public | Method | Returns Instance of This Class (Buffered) | 20030408 | |
| 7 | Instance method | Public | Method | Returns the Characteristics Required for Translation | 20020725 | |
| 8 | Instance method | Public | Method | Returns Structure with All Char. Relevant to Revaluation | 20030408 |
Events
Class CL_FINB_CURRENCY_CONVERTER has no event.
Types
Class CL_FINB_CURRENCY_CONVERTER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020718 |
Method CONSTRUCTOR on class CL_FINB_CURRENCY_CONVERTER has no exception.
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_AMOUNTS | Value transfer | Type reference (TYPE) | FIN_TS_AMOUNT | Neu ermittelte Beträge mit ihren Währg. (nicht in I_AMOUNTS) | 20020718 | |||
| 2 | I_ACC_DOCTYPE | Call by reference | Type reference (TYPE) | ACC_DOCTYPE | Belegart | 20030204 | |||
| 3 | I_AMOUNTS | Call by reference | Type reference (TYPE) | FIN_TS_AMOUNT | Tabelle von Beträgen und Währungsschlüssel | 20020718 | |||
| 4 | I_CHARACTERISTICS | Call by reference | Object reference (TYPE REF TO) | DATA | Struktur mit zusätzlichen Merkmalswerten (nur Bank Analyzer) | 20020718 | |||
| 5 | I_COMPANY | Call by reference | Type reference (TYPE) | FIN_COMPANY | Gesellschaft (nicht relevant für Bank Analyzer) | 20040629 | |||
| 6 | I_CONVERSION_DATE | Call by reference | Type reference (TYPE) | DATUM | Umrechnungsdatum | 20020801 | |||
| 7 | I_REQUIRED_CURRENCY_IDS | Call by reference | Type reference (TYPE) | CL_FIN_ACC_SYSTEM=>GYTS_CURRTYPE | Benötigte Währungskennungen (ggf. mit Währungsschlüssel) | 20020806 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten (mit Meldung) | 20020718 |
Method CONVERT_SAME_CURR_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CONVERTED_AMOUNT | Call by reference | Type reference (TYPE) | FINB_AMNT | Betrag in Zielwährung | 20030205 | |||
| 2 | I_ACC_DOCTYPE | Call by reference | Type reference (TYPE) | ACC_DOCTYPE | Belegart | 20030205 | |||
| 3 | I_AMOUNT | Call by reference | Type reference (TYPE) | FINB_AMNT | Betrag in Quellwährung | 20030205 | |||
| 4 | I_CONVERSION_DATE | Call by reference | Type reference (TYPE) | DATUM | Umrechnungsdatum | 20030205 | |||
| 5 | I_CURRENCY_ID | Call by reference | Type reference (TYPE) | ACC_CURRID | Währungskennung | 20030205 | |||
| 6 | I_FROM_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Quellwährung | 20030205 | |||
| 7 | I_TO_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Zielwährung | 20030205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten (mit Meldung) | 20030205 |
Method DETERMINE_CURRENCY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CURRENCY_KEY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel (initial, falls Merkmalswert initial) | 20020718 | |||
| 2 | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020718 | |||
| 3 | I_CHARACTERISTICS | Call by reference | Object reference (TYPE REF TO) | DATA | Struktur mit Merkmalswerten | 20020718 | |||
| 4 | I_CURRENCY_ID | Call by reference | Type reference (TYPE) | ACC_CURRID | Währungskennung | 20020806 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten (mit Meldung) | 20020718 |
Method GET_CHAR_FOR_CURR_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_CHAR | Call by reference | Object reference (TYPE REF TO) | IF_FINB_MD_CHAR | Währungstragendes Merkmal | 20020806 | |||
| 2 | E_CURR_ATTRIBUTE_NAME | Call by reference | Type reference (TYPE) | ACC_CURR_CNAME | Feldname der Währung (Stammdatenattribut) | 20020806 | |||
| 3 | I_CURRENCY_ID | Call by reference | Type reference (TYPE) | ACC_CURRID | Währungskennung | 20020806 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20020806 |
Method GET_CONVERTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20030408 | |||
| 2 | RO_CURRENCY_CONVERTER | Value transfer | Object reference (TYPE REF TO) | CL_FINB_CURRENCY_CONVERTER | Währungsumrechnung | 20030408 |
Method GET_CONVERTER on class CL_FINB_CURRENCY_CONVERTER has no exception.
Method GET_REQUIRED_CHARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REQUIRED_CURRENCY_IDS | Call by reference | Type reference (TYPE) | ACC_CURRENCY_TYPES | Währungskennungen, in die umgerechnet werden soll | 20020806 | |||
| 2 | R_CHARACTERISTICS | Value transfer | Type reference (TYPE) | FINB_KF_CHARS | Merkmale und Kennzahlen | 20020725 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20020726 |
Method GET_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_STRUCTURE | Value transfer | Object reference (TYPE REF TO) | DATA | Strukt. mit allen potentiell umrechnungsrelevanten Merkmalen | 20030408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten (mit Meldung) | 20030408 |
History
| Last changed by/on | SAP | 20041209 |
| SAP Release Created in | 1.0B |