SAP ABAP Class CL_GLE_MCA_FINSTMT_GET_DATA (MCA: Get data for financial statement)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL-CU-MCA (Application Component) Multi Currency Accounting
     FAGL_MCA_AL_RP (Package) FI: MCA Reporting
Properties
Class CL_GLE_MCA_FINSTMT_GET_DATA  
Short Description MCA: Get data for financial statement    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FAGL_MCA_AL_RP   FI: MCA Reporting 
Created 20101118   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 GLMCA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SBIWA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GLE_MCA_FINSTMT_GET_DATA has no interface implemented.
Friends
Class CL_GLE_MCA_FINSTMT_GET_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIELDNAME_BALANCE Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'BALANCE' 20101208
2 GC_FIELDNAME_BUKRS Constant Private Type reference (TYPE) STRUNAME 'BUKRS' Name of a structure 20101221
3 GC_FIELDNAME_CHARTACCTS Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'CHARTACCTS' 20101223
4 GC_FIELDNAME_CHRT_ACCTS Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'CHRT_ACCTS' 20101223
5 GC_FIELDNAME_CREDIT Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'CREDIT' 20101208
6 GC_FIELDNAME_CURTYPE Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'CURTYPE' 20101208
7 GC_FIELDNAME_DEBIT Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'DEBIT' 20101208
8 GC_FIELDNAME_FISCPER Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'FISCPER' 20101119
9 GC_FIELDNAME_FLAG_MDERTS Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'FLAG_MDERTS' 20101208
10 GC_FIELDNAME_FSTYPE Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'FSTYPE' 20101208
11 GC_FIELDNAME_FSVERSN Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'FSVERSN' 20101208
12 GC_FIELDNAME_POPER Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'POPER' 20101119
13 GC_FIELDNAME_RACCT Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'RACCT' 20110110
14 GC_FIELDNAME_RATE_TYPE Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'RATE_TYPE' 20101208
15 GC_FIELDNAME_RBUKRS Constant Private Type reference (TYPE) STRUNAME 'RBUKRS' Name of a structure 20101221
16 GC_FIELDNAME_RLDNR Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'RLDNR' 20101207
17 GC_FIELDNAME_RTCUR Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'RTCUR' 20101221
18 GC_FIELDNAME_RYEAR Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'RYEAR' 20101119
19 GC_FIELDNAME_TRANS_DATE Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'TRANS_DATE' 20101208
20 GC_FIELDNAME_TRGT_CURR Constant Private Type reference (TYPE) SBIWA_S_FIELDS-FIELDNM 'TRGT_CURR' 20101208
21 GC_FSTYPE_FOF Constant Private Type reference (TYPE) BILABTYP '2' Balance Sheet Type 20101208
22 GC_FSTYPE_MIXED Constant Private Type reference (TYPE) BILABTYP '3' Balance Sheet Type 20101208
23 GC_FSTYPE_OPENING Constant Private Type reference (TYPE) BILABTYP '4' Balance Sheet Type 20101208
24 GC_FSTYPE_STANDARD Constant Private Type reference (TYPE) BILABTYP '1' Balance Sheet Type 20101208
25 GT_INSTANCE Static Attribute Private Type reference (TYPE) TH_INSTANCE 20101118
26 GV_MSG_DUMMY Static Attribute Private Type reference (TYPE) C 20101208
27 MR_DATA Instance attribute Private Object reference (TYPE REF TO) DATA MCA: Financial Statement data 20101221
28 MT_FIELDS Instance attribute Private Type reference (TYPE) SBIWA_T_FIELDS 20101207
29 MT_SELECT Instance attribute Private Type reference (TYPE) SBIWA_T_SELECT 20101119
30 MV_EXTRACT_STRUCTURE Instance attribute Private Type reference (TYPE) STRUNAME Name of a structure 20101221
31 MV_FLAG_MDERTS Instance attribute Private Type reference (TYPE) GLE_MCA_DTE_FLAG_MDERTS Indicator: Use Market Data Exchange Rates 20101208
32 MV_FSTYPE Instance attribute Private Type reference (TYPE) BILABTYP Balance Sheet Type 20101208
33 MV_FSVERSN Instance attribute Private Type reference (TYPE) VERSN_011 Financial Statement Version 20101208
34 MV_GFLEX_ACTIVE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20101209
35 MV_INDEX_START Instance attribute Private Type reference (TYPE) INT4 Natural Number 20101207
36 MV_INFOSTRUCTURE Instance attribute Private Type reference (TYPE) ROSTRUC Infostructure of ledger totals table 20101207
37 MV_ISOURCE Instance attribute Private Type reference (TYPE) SBIWA_S_INTERFACE-ISOURCE 20101207
38 MV_MAXSIZE Instance attribute Private Type reference (TYPE) SBIWA_S_INTERFACE-MAXSIZE 20101207
39 MV_RATE_TYPE Instance attribute Private Type reference (TYPE) KURST_CURR Exchange Rate Type 20101208
40 MV_REQUNR Instance attribute Private Type reference (TYPE) SBIWA_S_INTERFACE-REQUNR 20101118
41 MV_RLDNR Instance attribute Private Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20101207
42 MV_TRANS_DATE Instance attribute Private Type reference (TYPE) BILASTID Key Date for Translation 20101208
43 MV_TRGT_CURR Instance attribute Private Type reference (TYPE) BILAWAER Display Currency 20101208
44 MV_TX_CURR_IS_REQUESTED Instance attribute Private Type reference (TYPE) ABAP_BOOL True if transaction currency is requested from query 20110111
45 MV_UPDMODE Instance attribute Private Type reference (TYPE) SBIWA_S_INTERFACE-UPDMODE 20101207
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor 20101118
2 CONVERT_TIME_SELECTIONS Instance method Private Method Convert time selection options into 7-digit format 20101210
3 CURRENCY_CONVERSION Instance method Private Method Convert amounts from document currency into target currency 20101208
4 DERIVE_TT_FIELDS Instance method Private Method Remove unwanted fields 20101208
5 DERIVE_TT_SELECTIONS Instance method Private Method Remove unwanted fields 20101208
6 DETERMINE_INFOSTRUCTURE Instance method Private Method Determine infostructure of ledger totals table 20101207
7 EXTRACT_CURRTRANS_INFO Instance method Private Method Extract the ledger name from selection option 20101208
8 EXTRACT_FINSTMT_INFO Instance method Private Method Extract the ledger name from selection option 20101208
9 EXTRACT_LEDGER_NAME Instance method Private Method Extract the ledger name from selection option 20101207
10 GET_BALANCES_IN_TRGT_CURR Instance method Private Method Get balances from totals table 20101208
11 GET_SYMSG Instance method Private Method Get message from system variables 20101209
12 INIT Instance method Public Method 20101118
13 IS_TX_CURR_REQUESTED Instance method Private Method returns True if transaction currency is requested from query 20110111
14 READ_DATA Instance method Public Method 20101118
15 S_GET_INSTANCE Static method Public Method 20101118
Events
Class CL_GLE_MCA_FINSTMT_GET_DATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 SX_INSTANCE Private See coding 20101118 begin of sx_instance, requnr type rsrequnr, o_instance type ref to cl_gle_mca_finstmt_get_data, end of sx_instance
2 TH_INSTANCE Private See coding 20101118 th_instance type hashed table of sx_instance with unique key requnr
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REQUNR Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-REQUNR 20101118

Method CONSTRUCTOR on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method CONVERT_TIME_SELECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101210
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101210
3 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101210

Method CONVERT_TIME_SELECTIONS on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method CURRENCY_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_BALANCE Call by reference Type reference (TYPE) RR_KUMSL Accumulated balance 20101221
2 Changing CV_CREDIT Call by reference Type reference (TYPE) RR_UMSOL Total debit postings 20101221
3 Changing CV_DEBIT Call by reference Type reference (TYPE) RR_UMHAB Total credit postings 20101221
4 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20110110
5 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20110110
6 Importing IV_FLAG_MDERTS Call by reference Type reference (TYPE) GLE_MCA_DTE_FLAG_MDERTS Indicator: Use Market Data Exchange Rates 20101221
7 Importing IV_RATE_TYPE Call by reference Type reference (TYPE) KURST_CURR Exchange Rate Type 20101221
8 Importing IV_RTCUR Call by reference Type reference (TYPE) RTCUR Currency Key 20101221
9 Importing IV_TRANS_DATE Call by reference Type reference (TYPE) BILASTID Key Date for Translation 20101221
10 Importing IV_TRGT_CURR Call by reference Type reference (TYPE) BILAWAER Display Currency 20101221

Method CURRENCY_CONVERSION on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method DERIVE_TT_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDS Call by reference Type reference (TYPE) SBIWA_T_FIELDS 20101208
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20110110
3 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20110110
4 Importing IT_FIELDS Call by reference Type reference (TYPE) SBIWA_T_FIELDS 20101208
5 Importing IV_INFOSTRUCTURE Call by reference Type reference (TYPE) ROSTRUC Name of the provider structure for an InfoSource 20101208
6 Importing IV_RLDNR Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20101221

Method DERIVE_TT_FIELDS on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method DERIVE_TT_SELECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101208
2 Importing IT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101208
3 Importing IV_FSTYPE Call by reference Type reference (TYPE) BILABTYP Balance Sheet Type 20101209
4 Importing IV_INFOSTRUCTURE Call by reference Type reference (TYPE) ROSTRUC Name of the provider structure for an InfoSource 20101208
5 Importing IV_RLDNR Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20101221

Method DERIVE_TT_SELECTIONS on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method DETERMINE_INFOSTRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101209
2 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101209
3 Exporting EV_INFOSTRUCTURE Call by reference Type reference (TYPE) ROSTRUC Name of the provider structure for an InfoSource 20101207
4 Importing IV_RLDNR Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20101207

Method DETERMINE_INFOSTRUCTURE on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method EXTRACT_CURRTRANS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101209
2 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101209
3 Exporting EV_FLAG_MDERTS Call by reference Type reference (TYPE) GLE_MCA_DTE_FLAG_MDERTS Indicator: Use Market Data Exchange Rates 20101208
4 Exporting EV_RATE_TYPE Call by reference Type reference (TYPE) KURST_CURR Exchange Rate Type 20101208
5 Exporting EV_TRANS_DATE Call by reference Type reference (TYPE) BILASTID Key Date for Translation 20101208
6 Exporting EV_TRGT_CURR Call by reference Type reference (TYPE) BILAWAER Display Currency 20101208
7 Importing IT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101208

Method EXTRACT_CURRTRANS_INFO on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method EXTRACT_FINSTMT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101209
2 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101209
3 Exporting EV_FSTYPE Call by reference Type reference (TYPE) BILABTYP Balance Sheet Type 20101208
4 Exporting EV_FSVERSN Call by reference Type reference (TYPE) VERSN_011 Financial Statement Version 20101208
5 Importing IT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101208

Method EXTRACT_FINSTMT_INFO on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method EXTRACT_LEDGER_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101209
2 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101209
3 Exporting EV_RLDNR Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20101207
4 Importing IT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101207
5 Importing IV_GFLEX_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20101209

Method EXTRACT_LEDGER_NAME on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method GET_BALANCES_IN_TRGT_CURR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) TABLE 20101221
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101208
3 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101208
4 Importing IV_FLAG_MDERTS Call by reference Type reference (TYPE) GLE_MCA_DTE_FLAG_MDERTS Indicator: Use Market Data Exchange Rates 20101208
5 Importing IV_FSTYPE Call by reference Type reference (TYPE) BILABTYP Balance Sheet Type 20101208
6 Importing IV_FSVERSN Call by reference Type reference (TYPE) VERSN_011 Financial Statement Version 20101208
7 Importing IV_INFOSTRUCTURE Call by reference Type reference (TYPE) STRUNAME Name of a structure 20101221
8 Importing IV_RATE_TYPE Call by reference Type reference (TYPE) KURST_CURR Exchange Rate Type 20101208
9 Importing IV_REQUNR Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-REQUNR 20101208
10 Importing IV_TRANS_DATE Call by reference Type reference (TYPE) BILASTID Key Date for Translation 20101208
11 Importing IV_TRGT_CURR Call by reference Type reference (TYPE) BILAWAER Display Currency 20101208
12 Importing IV_TX_CURR_IS_REQUESTED Call by reference Type reference (TYPE) ABAP_BOOL 20110111

Method GET_BALANCES_IN_TRGT_CURR on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method GET_SYMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MESSAGE Call by reference Type reference (TYPE) FAGL_S_MESSAGE Report 20101209

Method GET_SYMSG on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101209
2 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101208
3 Importing IT_FIELDS Call by reference Type reference (TYPE) SBIWA_T_FIELDS 20101207
4 Importing IT_SELECT Call by reference Type reference (TYPE) SBIWA_T_SELECT 20101118
5 Importing IV_EXTRACT_STRUCTURE Call by reference Type reference (TYPE) STRUNAME Name of a structure 20101221
6 Importing IV_ISOURCE Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-ISOURCE 20101118
7 Importing IV_MAXSIZE Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-MAXSIZE 20101118
8 Importing IV_UPDMODE Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-UPDMODE 20101118

Method INIT on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method IS_TX_CURR_REQUESTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDS Call by reference Type reference (TYPE) SBIWA_T_FIELDS 20110111
2 Returning RV_TX_CURR_IS_REQUESTD Value transfer Type reference (TYPE) ABAP_BOOL 20110111

Method IS_TX_CURR_REQUESTED on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method READ_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_NO_MORE_DATA Call by reference Type reference (TYPE) ABAP_BOOL 20101118
2 Exporting ET_DATA Call by reference Type reference (TYPE) TABLE 20101118
3 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FAGL_T_MESSAGE Messages 20101208
4 Exporting EV_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL 20101208
5 Importing IV_DATAPAKID Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-DATAPAKID 20101118

Method READ_DATA on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.

Method S_GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REQUNR Call by reference Type reference (TYPE) SBIWA_S_INTERFACE-REQUNR 20101118
2 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_GLE_MCA_FINSTMT_GET_DATA MCA: Get data for financial statement 20101118

Method S_GET_INSTANCE on class CL_GLE_MCA_FINSTMT_GET_DATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606