SAP ABAP Class CL_CURRENCY_ACCOUNT_TRR (Position for Currency Account)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM-BO (Application Component) Back Office
⤷
FTR_TRL_REPORTING (Package) Reporting Treasury Ledger
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_POSITION_EXTEN1_TRR | Position with Capital Flow Calculation | 20011029 |
Properties
| Class | CL_CURRENCY_ACCOUNT_TRR | |
| Short Description | Position for Currency Account | |
| Super Class | CL_POSITION_EXTEN1_TRR | Position with Capital Flow Calculation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_TRL_REPORTING | Reporting Treasury Ledger |
| Created | 20011029 | SAP |
| Last change | 20050109 | 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) |
Interfaces
Class CL_CURRENCY_ACCOUNT_TRR has no interface implemented.
Friends
Class CL_CURRENCY_ACCOUNT_TRR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | TRRS_BALANCE | Balance at Start of Period | 20011112 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | TPM_TRR_CURRENCY_ACCOUNT | Currency Account | 20011213 | |||
| 3 | Constant | Public | Type reference (TYPE) | TPM_TRR_CA_SUM_RELEVANCE | '2' | Flow in the Future | 20011030 | ||
| 4 | Constant | Public | Type reference (TYPE) | TPM_TRR_CA_SUM_RELEVANCE | '1' | Flow in the Past | 20011030 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | TRRY_CA2 | TR Reporting: Assign Levels for Currency Accts for Balance | 20011030 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | TRRY_CA3 | TR Reporting: Define Revenue Account for Currency Revenues | 20011106 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TRRY_CA_CM_FLOW | CM Flows with Relevant Levels | 20011030 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TRRY_BALANCE | Changes to the Balances | 20011112 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TRRY_BALANCE | New way of calculating delta balances | 20030129 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | T_IT_EBENE | Set of Levels | 20011112 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | T_IT_FDTAG | List with Different Delta Dates | 20030129 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TRRY_CA_CM_FLOW | All Original CM Flows | 20011112 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Key date | 20011030 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Key Date Interval, when Key Date is Not a Bank Date | 20011030 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Begin of period | 20011030 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | TRRS_BALANCE | Unrealized P/L of the Valuation | 20011112 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Calculate Account Balance for a Given Date | 20011105 | |
| 2 | Instance method | Private | Method | Calculates Balance for a Date Using Historical Trans. | 20030129 | |
| 3 | Instance method | Private | Method | Calculate all Balances and Delta Balance Changes for Account | 20011112 | |
| 4 | Instance method | Private | Method | Calculates Balance Changes for Flows with the Same Date | 20030129 | |
| 5 | Instance method | Private | Method | Calculate Unrealized P/L for the Account | 20011101 | |
| 6 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20011030 | |
| 7 | Instance method | Public | Constructor | Constructor | 20011030 | |
| 8 | Instance method | Public | Method | Get Currency Account | 20011030 | |
| 9 | Instance method | Public | Method | Get the Open, Close and Delta balances at the Key Date | 20011113 | |
| 10 | Instance method | Public | Method | Get the Open, Close, and Delta Balances | 20011113 | |
| 11 | Instance method | Public | Method | Get the Currencies of the Account | 20011106 | |
| 12 | Instance method | Public | Method | Get the Key Date Interval | 20011030 |
Events
Class CL_CURRENCY_ACCOUNT_TRR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_IT_EBENE | Private | See coding | Table Type of Level | 20011112 | |
|
| 2 | T_IT_FDTAG | Private | See coding | Table of FDTAG | 20030129 | |
Method Signatures
Method CALCACCOUNTBALANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_BALANCE | Call by reference | Type reference (TYPE) | TRRS_BALANCE | Saldo oder Änderung eines Kontos | 20011112 |
Method CALCACCOUNTBALANCE on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CALCACCOUNTBALANCE2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_BALANCE | Call by reference | Type reference (TYPE) | TRRS_BALANCE | Saldo oder Saldoänderung eines Kontos | 20030129 | |||
| 2 | IM_DELTA | Value transfer | Type reference (TYPE) | TRRY_BALANCE | Saldo-Änderungen | 20030129 |
Method CALCACCOUNTBALANCE2 on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CALCALLACCOUNTBALANCES Signature
Method CALCALLACCOUNTBALANCES on class CL_CURRENCY_ACCOUNT_TRR has no parameter.
Method CALCALLACCOUNTBALANCES on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CALCDELTABALANCES2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_DELTA_BALANCES | Call by reference | Type reference (TYPE) | TRRY_BALANCE | Salden oder Änderungen eines Kontos | 20030129 | |||
| 2 | CH_KEYDATE_BALANCE | Call by reference | Type reference (TYPE) | TRRS_BALANCE | Saldo am Stichtag | 20030129 | |||
| 3 | IM_PERIOD_BEGIN_BALANCE | Value transfer | Type reference (TYPE) | TRRS_BALANCE | Saldo zum Periodenbeginn | 20030129 |
Method CALCDELTABALANCES2 on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CALCUNREALIZEDPL Signature
Method CALCUNREALIZEDPL on class CL_CURRENCY_ACCOUNT_TRR has no parameter.
Method CALCUNREALIZEDPL on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CURRENCY_ACCOUNT_TRR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACCOUNT | Value transfer | Type reference (TYPE) | TRRC_CA1 | TR Reporting: Definition der Währungskonten | 20011030 | |||
| 2 | IM_CM_FLOW | Value transfer | Type reference (TYPE) | TRRY_CA_CM_FLOW | TR Reporting: Bewegung des Cash-Managements | 20011105 | |||
| 3 | IM_KEYDATE | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Stichtag | 20011030 | |||
| 4 | IM_KEYDATE_B | Value transfer | Type reference (TYPE) | TPM_TRLDATE | '00000000' | Begin of key date, when key date is not a bank date | 20011030 | ||
| 5 | IM_LOCAL_CURR | Value transfer | Type reference (TYPE) | TPM_LOCAL_CURR | Hauswährung | 20011030 | |||
| 6 | IM_PERIOD_BEGIN | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Begin der Periode | 20011030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The account was not found | 20011030 | ||
| 2 | Mismatch between CM flows and account currency | 20011030 | ||
| 3 | The dates are inconsistent | 20011112 | ||
| 4 | No relevant flows for the currency account | 20011227 |
Method GETACCOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20011030 | |||
| 2 | EX_CURRENCY_ACCOUNT | Value transfer | Type reference (TYPE) | SAKNR | Nummer des Sachkontos | 20011030 |
Method GETACCOUNT on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method GETDELTABALANCEATKEYDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_DELTA_BALANCES | Value transfer | Type reference (TYPE) | TRRY_BALANCE | Saldo oder Änderung eines Kontos | 20011113 |
Method GETDELTABALANCEATKEYDATE on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method GETDELTABALANCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_DELTA_BALANCES | Value transfer | Type reference (TYPE) | TRRY_BALANCE | Saldo oder Änderung eines Kontos | 20011113 |
Method GETDELTABALANCES on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method GET_CURRENCIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LOCAL_CURR | Value transfer | Type reference (TYPE) | TPM_LOCAL_CURR | Hauswährung | 20011106 | |||
| 2 | EX_POSITION_CURR | Value transfer | Type reference (TYPE) | TPM_POSITION_CURR | Währung des Nominals | 20011106 |
Method GET_CURRENCIES on class CL_CURRENCY_ACCOUNT_TRR has no exception.
Method GET_KEY_DATE_B Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_KEY_DATE_B | Value transfer | Type reference (TYPE) | TPM_POSITION_DATE | Begin key date | 20011030 |
Method GET_KEY_DATE_B on class CL_CURRENCY_ACCOUNT_TRR has no exception.
History
| Last changed by/on | SAP | 20050109 |
| SAP Release Created in | 462_10 |