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 TPMCO 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 BALANCEPERIODBEGIN Instance attribute Private Type reference (TYPE) TRRS_BALANCE Balance at Start of Period 20011112
2 CLEARING_ACCOUNT Instance attribute Public Type reference (TYPE) TPM_TRR_CURRENCY_ACCOUNT Currency Account 20011213
3 CON_ADD_FLOW_IN_FUTURE Constant Public Type reference (TYPE) TPM_TRR_CA_SUM_RELEVANCE '2' Flow in the Future 20011030
4 CON_ADD_FLOW_IN_PAST Constant Public Type reference (TYPE) TPM_TRR_CA_SUM_RELEVANCE '1' Flow in the Past 20011030
5 IT_CA2 Static Attribute Private Type reference (TYPE) TRRY_CA2 TR Reporting: Assign Levels for Currency Accts for Balance 20011030
6 IT_CA3 Static Attribute Private Type reference (TYPE) TRRY_CA3 TR Reporting: Define Revenue Account for Currency Revenues 20011106
7 IT_CM_FLOW Instance attribute Private Type reference (TYPE) TRRY_CA_CM_FLOW CM Flows with Relevant Levels 20011030
8 IT_DELTA_BALANCE Instance attribute Private Type reference (TYPE) TRRY_BALANCE Changes to the Balances 20011112
9 IT_DELTA_BALANCE2 Instance attribute Private Type reference (TYPE) TRRY_BALANCE New way of calculating delta balances 20030129
10 IT_EBENE Static Attribute Private Type reference (TYPE) T_IT_EBENE Set of Levels 20011112
11 IT_FDTAG Instance attribute Private Type reference (TYPE) T_IT_FDTAG List with Different Delta Dates 20030129
12 IT_ORIGINAL_CM_FLOW Instance attribute Private Type reference (TYPE) TRRY_CA_CM_FLOW All Original CM Flows 20011112
13 KEYDATE Instance attribute Private Type reference (TYPE) TPM_TRLDATE Key date 20011030
14 KEYDATE_B Instance attribute Private Type reference (TYPE) TPM_TRLDATE Key Date Interval, when Key Date is Not a Bank Date 20011030
15 PERIOD_BEGIN Instance attribute Private Type reference (TYPE) TPM_TRLDATE Begin of period 20011030
16 VALUNREALIZEDPL 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 CALCACCOUNTBALANCE Instance method Private Method Calculate Account Balance for a Given Date 20011105
2 CALCACCOUNTBALANCE2 Instance method Private Method Calculates Balance for a Date Using Historical Trans. 20030129
3 CALCALLACCOUNTBALANCES Instance method Private Method Calculate all Balances and Delta Balance Changes for Account 20011112
4 CALCDELTABALANCES2 Instance method Private Method Calculates Balance Changes for Flows with the Same Date 20030129
5 CALCUNREALIZEDPL Instance method Private Method Calculate Unrealized P/L for the Account 20011101
6 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20011030
7 CONSTRUCTOR Instance method Public Constructor Constructor 20011030
8 GETACCOUNT Instance method Public Method Get Currency Account 20011030
9 GETDELTABALANCEATKEYDATE Instance method Public Method Get the Open, Close and Delta balances at the Key Date 20011113
10 GETDELTABALANCES Instance method Public Method Get the Open, Close, and Delta Balances 20011113
11 GET_CURRENCIES Instance method Public Method Get the Currencies of the Account 20011106
12 GET_KEY_DATE_B 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 Changing 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 Changing CH_BALANCE Call by reference Type reference (TYPE) TRRS_BALANCE Saldo oder Saldoänderung eines Kontos 20030129
2 Importing 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 Changing CH_DELTA_BALANCES Call by reference Type reference (TYPE) TRRY_BALANCE Salden oder Änderungen eines Kontos 20030129
2 Changing CH_KEYDATE_BALANCE Call by reference Type reference (TYPE) TRRS_BALANCE Saldo am Stichtag 20030129
3 Importing 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 Importing IM_ACCOUNT Value transfer Type reference (TYPE) TRRC_CA1 TR Reporting: Definition der Währungskonten 20011030
2 Importing IM_CM_FLOW Value transfer Type reference (TYPE) TRRY_CA_CM_FLOW TR Reporting: Bewegung des Cash-Managements 20011105
3 Importing IM_KEYDATE Value transfer Type reference (TYPE) TPM_TRLDATE Stichtag 20011030
4 Importing 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 Importing IM_LOCAL_CURR Value transfer Type reference (TYPE) TPM_LOCAL_CURR Hauswährung 20011030
6 Importing IM_PERIOD_BEGIN Value transfer Type reference (TYPE) TPM_TRLDATE Begin der Periode 20011030
# Exception Resumable Description Created on
1 EXC_ACCOUNT_NOT_FOUND The account was not found 20011030
2 EXC_CURRENCY_MISMATCH Mismatch between CM flows and account currency 20011030
3 EXC_DATES_ARE_INCONSISTENT The dates are inconsistent 20011112
4 EXC_NO_RELEVANT_FLOWS 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 Exporting EX_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20011030
2 Exporting 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 Returning 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 Returning 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 Exporting EX_LOCAL_CURR Value transfer Type reference (TYPE) TPM_LOCAL_CURR Hauswährung 20011106
2 Exporting 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 Returning 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