SAP ABAP Class CL_RECA_CT_SERVICES (Services for Currency Translation)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
RE-FX (Application Component) Flexible Real Estate Management
⤷
RE_CA_CT (Package) RE: Currency Translation
⤷
⤷
Properties
| Class | CL_RECA_CT_SERVICES | |
| Short Description | Services for Currency Translation | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RE_CA_CT | RE: Currency Translation |
| Created | 20060510 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RECA_CT_SERVICES has no interface implemented.
Friends
Class CL_RECA_CT_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | BADI_RECA_CURRENCY_TRANSLATION | 20120820 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | GTYPET_CT_BUFFER | 20060731 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120820 | |
| 2 | Static method | Public | Method | Conversion of Local Currency Amount to Foreign Currency | 20090123 | |
| 3 | Static method | Public | Method | Conversion of Foreign Currency Amount to Local Currency | 20090123 | |
| 4 | Static method | Public | Method | Gets Settings for Company Code | 20060517 | |
| 5 | Static method | Public | Method | Is Special Logic Active for Determining Translation Date? | 20061115 | |
| 6 | Static method | Public | Method | Performs Shift | 20060516 | |
| 7 | Static method | Public | Method | Executes Currency Translation | 20060516 | |
| 8 | Static method | Private | Method | Gets Settings for Translation Date Shift Rule | 20060608 | |
| 9 | Static method | Private | Method | Performs Shift Based on Calendar (Dynamic Call) | 20060516 | |
| 10 | Static method | Private | Method | Performs Shift Based on Period (Dynamic Call) | 20060516 | |
| 11 | Static method | Private | Method | Performs Shift by Day, Month and Year (Dynamic Call) | 20060516 | |
| 12 | Static method | Private | Method | Performs Currency Translation (Internal Call) | 20060518 |
Events
Class CL_RECA_CT_SERVICES has no event.
Types
Class CL_RECA_CT_SERVICES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RECA_CT_SERVICES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RECA_CT_SERVICES has no exception.
Method CONVERT_TO_FOREIGN_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_AMOUNT | Call by reference | Type reference (TYPE) | RECACTAMOUNT | Betrag | 20090123 | |||
| 2 | ID_AMOUNT | Value transfer | Type reference (TYPE) | RECACTAMOUNT | Betrag | 20090123 | |||
| 3 | ID_DATE | Value transfer | Type reference (TYPE) | RECACTDATEACT | Tatsächliches Umrechnungsdatum | 20090123 | |||
| 4 | ID_FOREIGN_CURRENCY | Value transfer | Type reference (TYPE) | RECACTFCCURRKEY | Fremdwährung | 20090123 | |||
| 5 | ID_LOCAL_CURRENCY | Value transfer | Type reference (TYPE) | RECACTLCCURRKEY | Hauswährung | 20090123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20090123 |
Method CONVERT_TO_LOCAL_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_AMOUNT | Call by reference | Type reference (TYPE) | RECACTAMOUNT | Betrag | 20090123 | |||
| 2 | ID_AMOUNT | Call by reference | Type reference (TYPE) | RECACTAMOUNT | Betrag | 20090123 | |||
| 3 | ID_DATE | Call by reference | Type reference (TYPE) | RECACTDATEACT | Tatsächliches Umrechnungsdatum | 20090123 | |||
| 4 | ID_FOREIGN_CURRENCY | Call by reference | Type reference (TYPE) | RECACTFCCURRKEY | Fremdwährung | 20090123 | |||
| 5 | ID_LOCAL_CURRENCY | Call by reference | Type reference (TYPE) | RECACTLCCURRKEY | Hauswährung | 20090123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20090123 |
Method GET_CC_SETTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DEFCDCURR | Call by reference | Type reference (TYPE) | RECACTDEFCDCURR | Vorschlag für abweichende Konditionswährung | 20060517 | |||
| 2 | ED_LOCALCURR | Call by reference | Type reference (TYPE) | WAERS | Hauswährung | 20060517 | |||
| 3 | EF_HASCTCDCURR | Call by reference | Type reference (TYPE) | RECAHASCTCDCURR | Kennzeichen: Abweichende Konditionswährung erlaubt | 20060517 | |||
| 4 | ID_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20060517 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20060517 |
Method IS_FUP_CRM_LOGIC_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_CRM_LOGIC_ACTIVE | Value transfer | Type reference (TYPE) | RECABOOL | Sonderlogik Gutschriften | 20061115 | |||
| 2 | EF_FUP_LOGIC_ACTIVE | Value transfer | Type reference (TYPE) | RECABOOL | Sonderlogik Nachbuchungen | 20061115 | |||
| 3 | ID_CTRULE | Value transfer | Type reference (TYPE) | RECACTRULE | Währungsumrechnungsregel | 20061115 |
Method IS_FUP_CRM_LOGIC_ACTIVE on class CL_RECA_CT_SERVICES has no exception.
Method SHIFT_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_DATE | Value transfer | Type reference (TYPE) | RECAKEYDATE | Verschobener Umrechnungstag | 20060516 | |||
| 2 | ID_SHIFTRULE | Value transfer | Type reference (TYPE) | RECACTSHIFTRULE | Umrechnungsverschieberegel | 20060516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20060516 |
Method TRANSLATE_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_AMOUNT | Value transfer | Type reference (TYPE) | RECACTAMOUNT | Umgerechneter Betrag | 20060516 | |||
| 2 | ED_DATEACT | Value transfer | Type reference (TYPE) | RECACTDATEACT | Tatsächliches Umrechnungsdatum | 20060516 | |||
| 3 | ED_DATEREQ | Value transfer | Type reference (TYPE) | RECACTDATEREQ | Beabsichtigtes Umrechnungsdatum | 20060516 | |||
| 4 | ED_MESSAGETYPE | Value transfer | Type reference (TYPE) | RECACTMESSAGETYPE | Fehlerverhalten, falls Umrechnungskurs nicht vorhanden ist | 20060516 | |||
| 5 | ED_RATE | Value transfer | Type reference (TYPE) | RECACTRATE | Umrechnungskurs | 20060516 | |||
| 6 | EF_POSTCDCURR | Value transfer | Type reference (TYPE) | RECACTPOSTCDCURR | Kennzeichen: In Konditionswährung buchen | 20060519 | |||
| 7 | EF_SIM_RATE_USED | Value transfer | Type reference (TYPE) | RECABOOL | Kennzeichen: Kurs für Simulation genutzt | 20060516 | |||
| 8 | EF_WARNING_OCCURED | Value transfer | Type reference (TYPE) | RECABOOL | Warnung aufgetreten | 20060518 | |||
| 9 | ES_MSG | Call by reference | Type reference (TYPE) | RECAMSG | Warnung (Nachricht) | 20060518 | |||
| 10 | ID_AMOUNT | Value transfer | Type reference (TYPE) | RECACTAMOUNT | Umzurechnender Betrag | 20060516 | |||
| 11 | ID_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20060516 | |||
| 12 | ID_CONDGUID | Value transfer | Type reference (TYPE) | RECAGUID | BADI: GUID der Kondition | 20120817 | |||
| 13 | ID_CTFCCURRKEY | Value transfer | Type reference (TYPE) | RECACTFCCURRKEY | Fremdwährung | 20060516 | |||
| 14 | ID_CTPROCESS | Value transfer | Type reference (TYPE) | RECACTPROCESS | 'DEFAULT' | Umrechnungsprozess | 20060516 | ||
| 15 | ID_CTRULE | Value transfer | Type reference (TYPE) | RECACTRULE | Währungsumrechnungsregel | 20060516 | |||
| 16 | ID_OBJNR | Value transfer | Type reference (TYPE) | RECAOBJNR | BADI: Objekt | 20120817 | |||
| 17 | ID_RATE | Value transfer | Type reference (TYPE) | RECACTRATE | Bekannten Kurs verwenden | 20060601 | |||
| 18 | IF_ISSIMULATION | Value transfer | Type reference (TYPE) | RECACTISSIMULATION | ABAP_FALSE | Kennzeichen: Umrechnung im Simulationsmodus | 20060516 | ||
| 19 | IF_SHIFT_DATE | Value transfer | Type reference (TYPE) | RECABOOL | ABAP_TRUE | Verschieberegel durchführen? | 20100113 | ||
| 20 | IF_TRANSLATE_TO_LOCAL | Value transfer | Type reference (TYPE) | RECABOOL | ABAP_TRUE | Kennzeichen: Umrechnung in Hauswährung | 20060516 | ||
| 21 | IO_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_RECA_BUS_OBJECT | BADI: Objekt | 20120820 | |||
| 22 | IS_CTBASEDATE | Value transfer | Type reference (TYPE) | RECA_CTBASEDATE | Übergabe Basisdatum (Umrechnungsservice) | 20060516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20060516 |
Method _GET_DATERULE_SETTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DATERULE_SETTING | Call by reference | Type reference (TYPE) | RECAC_DATERULE_SETTING | Einstellungen zur Umrechnungsdatumsregel (TIVCACTDATERPROC) | 20060608 | |||
| 2 | ID_CTPROCESS | Value transfer | Type reference (TYPE) | RECACTPROCESS | Umrechnungsprozess | 20060608 | |||
| 3 | ID_DATERULE | Value transfer | Type reference (TYPE) | RECACTDATERULE | Umrechnungsdatumsregel | 20060608 | |||
| 4 | IF_ISSIMULATION | Value transfer | Type reference (TYPE) | RECACTISSIMULATION | ABAP_FALSE | Kennzeichen: Umrechnung im Simulationsmodus | 20060608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20060608 |
Method _SHIFT_DATE_C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_DATE | Value transfer | Type reference (TYPE) | RECAKEYDATE | Verschobener Umrechnungstag | 20060516 | |||
| 2 | IS_SHIFT_RULE | Value transfer | Type reference (TYPE) | RECAC_SHIFT_RULE | Umrechnungsverschieberegel | 20060516 |
Method _SHIFT_DATE_C on class CL_RECA_CT_SERVICES has no exception.
Method _SHIFT_DATE_P Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_DATE | Value transfer | Type reference (TYPE) | RECAKEYDATE | Verschobener Umrechnungstag | 20060516 | |||
| 2 | IS_SHIFT_RULE | Value transfer | Type reference (TYPE) | RECAC_SHIFT_RULE | Umrechnungsverschieberegel | 20060516 |
Method _SHIFT_DATE_P on class CL_RECA_CT_SERVICES has no exception.
Method _SHIFT_DATE_S Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_DATE | Value transfer | Type reference (TYPE) | RECAKEYDATE | Verschobener Umrechnungstag | 20060516 | |||
| 2 | IS_SHIFT_RULE | Value transfer | Type reference (TYPE) | RECAC_SHIFT_RULE | Umrechnungsverschieberegel | 20060516 |
Method _SHIFT_DATE_S on class CL_RECA_CT_SERVICES has no exception.
Method _TRANSLATE_CURRENCY_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_AMOUNT | Value transfer | Type reference (TYPE) | RECACTAMOUNT | Umgerechneter Betrag | 20060518 | |||
| 2 | ED_CTLCCURRKEY | Value transfer | Type reference (TYPE) | RECACTLCCURRKEY | Hauswährung | 20060926 | |||
| 3 | ED_DATEACT | Value transfer | Type reference (TYPE) | RECACTDATEACT | Tatsächliches Umrechnungsdatum | 20060518 | |||
| 4 | ED_DATEREQ | Value transfer | Type reference (TYPE) | RECACTDATEREQ | Beabsichtigtes Umrechnungsdatum | 20060518 | |||
| 5 | ED_MESSAGETYPE | Value transfer | Type reference (TYPE) | RECACTMESSAGETYPE | Fehlerverhalten, falls Umrechnungskurs nicht vorhanden ist | 20060518 | |||
| 6 | ED_RATE | Value transfer | Type reference (TYPE) | RECACTRATE | Umrechnungskurs | 20060518 | |||
| 7 | EF_POSTCDCURR | Value transfer | Type reference (TYPE) | RECACTPOSTCDCURR | Kennzeichen: In Konditionswährung buchen | 20060519 | |||
| 8 | EF_SIM_RATE_USED | Value transfer | Type reference (TYPE) | RECABOOL | Kennzeichen: Kurs für Simulation genutzt | 20060518 | |||
| 9 | EF_WARNING_OCCURED | Value transfer | Type reference (TYPE) | RECABOOL | Warnung aufgetreten | 20060518 | |||
| 10 | ES_MSG | Call by reference | Type reference (TYPE) | RECAMSG | Warnung (Nachricht) | 20060518 | |||
| 11 | ID_AMOUNT | Value transfer | Type reference (TYPE) | RECACTAMOUNT | Umzurechnender Betrag | 20060518 | |||
| 12 | ID_BUKRS | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20060518 | |||
| 13 | ID_CTFCCURRKEY | Value transfer | Type reference (TYPE) | RECACTFCCURRKEY | Fremdwährung | 20060518 | |||
| 14 | ID_CTPROCESS | Value transfer | Type reference (TYPE) | RECACTPROCESS | 'DEFAULT' | Umrechnungsprozess | 20060518 | ||
| 15 | ID_CTRULE | Value transfer | Type reference (TYPE) | RECACTRULE | Währungsumrechnungsregel | 20060518 | |||
| 16 | ID_RATE | Value transfer | Type reference (TYPE) | RECACTRATE | Bekannten Kurs verwenden | 20060601 | |||
| 17 | IF_ISSIMULATION | Value transfer | Type reference (TYPE) | RECACTISSIMULATION | ABAP_FALSE | Kennzeichen: Umrechnung im Simulationsmodus | 20060518 | ||
| 18 | IF_SHIFT_DATE | Value transfer | Type reference (TYPE) | RECABOOL | ABAP_TRUE | Verschieberegel durchführen? | 20100113 | ||
| 19 | IF_TRANSLATE_TO_LOCAL | Value transfer | Type reference (TYPE) | RECABOOL | ABAP_TRUE | Kennzeichen: Umrechnung in Hauswährung | 20060518 | ||
| 20 | IS_CTBASEDATE | Value transfer | Type reference (TYPE) | RECA_CTBASEDATE | Übergabe Basisdatum (Umrechnungsservice) | 20060518 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20060518 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |