SAP ABAP Class CL_FINAR_HDB_VIEWS (FIN AR HANA Views Generation)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI (Application Component) Financial Accounting
     FIN_APAR_HDB_VIEWS (Package) In Memory Views for Financials AP/AR
Properties
Class CL_FINAR_HDB_VIEWS  
Short Description FIN AR HANA Views Generation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FIN_APAR_HDB_VIEWS   In Memory Views for Financials AP/AR 
Created 20120717   SAP 
Last change 20130531   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)
Interfaces
Class CL_FINAR_HDB_VIEWS has no interface implemented.
Friends
Class CL_FINAR_HDB_VIEWS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FINAR_CALC_VIEW_TEMPLATE Instance attribute Private Type reference (TYPE) DDOBJNAME 'TMPL_FINAR_HDB_ODIA_DDA' Name of ABAP Dictionary Object 20120718
2 GC_FINAR_CI_INCLUDE Constant Private Type reference (TYPE) DDOBJNAME 'CI_FIN_ARPOS' Name of ABAP Dictionary Object 20120718
3 GC_FINAR_OLAP Constant Private Type reference (TYPE) DDOBJNAME 'ANFIN_ARPOS_BSEG' Name of ABAP Dictionary Object 20120717
4 GC_FINAR_OLAP_VIEW_TEMPLATE Instance attribute Private Type reference (TYPE) DDOBJNAME 'TMPL_FINAR_HDB_BSEG' Name of ABAP Dictionary Object 20120717
5 GC_FINAR_PROCNAME Constant Private Type reference (TYPE) DDOBJNAME 'PFIN_ARPOS_NETDT' Name of ABAP Dictionary Object 20120717
6 GC_FINAR_TABLENAME Constant Private Type reference (TYPE) DDOBJNAME 'FIN_ARPOS' Name of ABAP Dictionary Object 20120729
7 GC_FINAR_TABLETYPE Constant Private Type reference (TYPE) DDOBJNAME 'TTFIN_ARPOS_MD' Name of ABAP Dictionary Object 20120718
8 GC_FIN_ARPOS Constant Private Type reference (TYPE) DDOBJNAME 'FIN_ARPOS_NETDT' Name of ABAP Dictionary Object 20120717
9 GC_MSGID Constant Private Type reference (TYPE) ARBGB 'FAGL_HDB_GENERATION' Application Area 20120717
10 GS_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20120717
11 GT_FINAR_FIELDS Instance attribute Private Type reference (TYPE) DFIES_TABLE View fields 20120717
12 GT_FINAR_KFS Instance attribute Private Type reference (TYPE) DFIES_TABLE Key figures in an Analytics View 20120717
13 GT_TABLES Instance attribute Private Type reference (TYPE) HDB_T_TABLE List of Tables or Views 20120718
14 GT_VIEWS Instance attribute Private Type reference (TYPE) HDB_T_TABLE List of Tables or Views 20120718
15 GV_ERR_OCCUR Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Error occur or not 20121211
16 G_ERROR_OCCURRED Instance attribute Private Type reference (TYPE) XFELD Checkbox 20120717
17 MT_ADJUSTED_FIELD_NAME Instance attribute Private Type reference (TYPE) GTY_T_ADJUSTED_FIELD_NAME Adjust field names: eg. identical name but different meaning 20121019
18 MT_FINAR_ANLY_VIEWS Instance attribute Private Type reference (TYPE) FIN_T_ARPOS_GEN_ANLY_VIEW FIN AR Analytical Views to be Generated 20120729
19 MT_FINAR_CALC_VIEWS Instance attribute Private Type reference (TYPE) FIN_T_ARPOS_GEN_CALC_VIEW FIN AR Calc. Views to be Generated 20120729
20 MT_FINAR_SQL_VIEWS Instance attribute Private Type reference (TYPE) FIN_T_ARPOS_GEN_SQL_VIEW FIN AR Analytical Views to be Generated 20130307
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Private Method 20120717
2 ADD_SYSTEM_MESSAGES Instance method Private Method 20120717
3 CLOSE_FINAR_LOGS Instance method Private Method 20120718
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120729
5 DROP_FINAR_HDB_OBJECTS Instance method Private Method 20120718
6 DROP_RUNTIME Instance method Private Method 20120729
7 DROP_TTYPE Instance method Private Method 20130307
8 DROP_VIEW Instance method Private Method 20130307
9 GENERATE_CALC_VIEWS Instance method Private Method 20120718
10 GENERATE_DDIC Instance method Private Method 20120718
11 GENERATE_FINAR_VIEWS Instance method Public Method 20120718
12 GENERATE_OLAP_VIEWS Instance method Private Method 20120717
13 GENERATE_SQL_VIEWS Instance method Private Method Write a plain SQL CREATE VIEW statement 20130307
14 GENERATE_TTYPE Instance method Private Method 20120718
15 GET_FIELDS_DDIC Instance method Private Method 20120717
16 GET_UNIQUE_FIELDNAME Static method Public Method Get the unique name for a view field 20120907
17 INITIALIZE_FINAR Instance method Private Method 20120718
Events
Class CL_FINAR_HDB_VIEWS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_ADJUSTED_FIELD_NAME Public See coding 20121019 BEGIN OF gty_s_adjusted_field_name, "Fields with identical names but different meanings src_table_name TYPE ddobjname, view_field_name TYPE fieldname, src_field_name TYPE fieldname, END OF gty_s_adjusted_field_name
2 GTY_T_ADJUSTED_FIELD_NAME Public See coding 20121019 gty_t_adjusted_field_name TYPE STANDARD TABLE OF gty_s_adjusted_field_name WITH KEY src_table_name view_field_name
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20120717
2 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY 20120717
3 Importing IV_MSGV1 Call by reference Type reference (TYPE) DDOBJNAME Message Variable 20120717
4 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120717
5 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120717
6 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120717

Method ADD_MESSAGE on class CL_FINAR_HDB_VIEWS has no exception.

Method ADD_SYSTEM_MESSAGES Signature

Method ADD_SYSTEM_MESSAGES on class CL_FINAR_HDB_VIEWS has no parameter.
Method ADD_SYSTEM_MESSAGES on class CL_FINAR_HDB_VIEWS has no exception.

Method CLOSE_FINAR_LOGS Signature

Method CLOSE_FINAR_LOGS on class CL_FINAR_HDB_VIEWS has no parameter.
Method CLOSE_FINAR_LOGS on class CL_FINAR_HDB_VIEWS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FINAR_ANLY_VIEWS Call by reference Type reference (TYPE) FIN_T_ARPOS_GEN_ANLY_VIEW FIN AR Analytical Views to be Generated 20120729
2 Importing IT_FINAR_CALC_VIEWS Call by reference Type reference (TYPE) FIN_T_ARPOS_GEN_CALC_VIEW FIN AR Calc Views to be Generated 20120729
3 Importing IT_FINAR_SQL_VIEWS Call by reference Type reference (TYPE) FIN_T_ARPOS_GEN_SQL_VIEW List of Plain SQL views to be generated 20130307

Method CONSTRUCTOR on class CL_FINAR_HDB_VIEWS has no exception.

Method DROP_FINAR_HDB_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20120730

Method DROP_FINAR_HDB_OBJECTS on class CL_FINAR_HDB_VIEWS has no exception.

Method DROP_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20120730

Method DROP_RUNTIME on class CL_FINAR_HDB_VIEWS has no exception.

Method DROP_TTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20130307

Method DROP_TTYPE on class CL_FINAR_HDB_VIEWS has no exception.

Method DROP_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20130307

Method DROP_VIEW on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_CALC_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20120730

Method GENERATE_CALC_VIEWS on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20120730

Method GENERATE_DDIC on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_FINAR_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ERR_OCCUR Value transfer Type reference (TYPE) ABAP_BOOL 20121211

Method GENERATE_FINAR_VIEWS on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_OLAP_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_ANLY_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_ANLY_VIEW FIN AR Analytical View to be Generated 20120730

Method GENERATE_OLAP_VIEWS on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_SQL_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_SQL_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_SQL_VIEW Plain SQL View to be Generated 20130307

Method GENERATE_SQL_VIEWS on class CL_FINAR_HDB_VIEWS has no exception.

Method GENERATE_TTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_CALC_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_CALC_VIEW FIN AR Calculation View to be Generated 20120730

Method GENERATE_TTYPE on class CL_FINAR_HDB_VIEWS has no exception.

Method GET_FIELDS_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABLE_NAME Call by reference Type reference (TYPE) DDOBJNAME 20120717
2 Returning RT_FIELDS Value transfer Type reference (TYPE) DFIES_TABLE Table for dfies entries 20120717

Method GET_FIELDS_DDIC on class CL_FINAR_HDB_VIEWS has no exception.

Method GET_UNIQUE_FIELDNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VIEWFIELD_NAME Value transfer Type reference (TYPE) FIELDNAME Field Name in External View 20120907
2 Importing I_SRC_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name in Source Tabel 20120907
3 Importing I_SRC_TABNAME Call by reference Type reference (TYPE) TABNAME Source Table Name 20120907
4 Importing I_VIEW_NAME Call by reference Type reference (TYPE) DDOBJNAME Name of the HDB external view 20120920
# Exception Resumable Description Created on
1 TOO_LONG Could not determine a unique name; resulting name too long 20120907

Method INITIALIZE_FINAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FINAR_ANLY_VIEW Call by reference Type reference (TYPE) FIN_S_ARPOS_GEN_ANLY_VIEW FIN AR Analytical View to be Generated 20120729

Method INITIALIZE_FINAR on class CL_FINAR_HDB_VIEWS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 616