SAP ABAP Class CL_FBICRC_SERVICE_BASIC (ICR: Base Service Class for Data Reconciliation)
Hierarchy
EA-FIN (Software Component) EA-FIN
   FI (Application Component) Financial Accounting
     FB_ICRC_MAIN (Package) Inter-Company Reconciliation (Main Logic)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FBICRC_SERVICE ICR: Service Interface 20130731
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FBICRC_SERVICE_IMPL_001 ICR: Implementation Service for Data Reconciliation 001 20130731
2 Inheritance (c INHERITING FROM c_ref)  CL_FBICRC_SERVICE_IMPL_002 ICR: Implementation Service for Data Reconciliation 002 20130731
3 Inheritance (c INHERITING FROM c_ref)  CL_FBICRC_SERVICE_IMPL_003 ICR: Implementation Service for Data Reconciliation 003 20130731
Properties
Class CL_FBICRC_SERVICE_BASIC  
Short Description ICR: Base Service Class for Data Reconciliation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FB_ICRC_MAIN   Inter-Company Reconciliation (Main Logic) 
Created 20130719   SAP 
Last change 20131127   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 RSDS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_FBICRC_SERVICE ICR: Service Interface 20130731
Friends
Class CL_FBICRC_SERVICE_BASIC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_BADI_001 Instance attribute Protected Object reference (TYPE REF TO) IF_EX_FB_ICRC_001 Business add-in interface IF_EX_FB_ICRC_001 20130731
2 MO_BADI_002 Instance attribute Protected Object reference (TYPE REF TO) IF_EX_FB_ICRC_002 Business add-in interface IF_EX_FB_ICRC_002 20130731
3 MO_BADI_003 Instance attribute Protected Object reference (TYPE REF TO) IF_EX_FB_ICRC_003 Business add-in interface IF_EX_FB_ICRC_003 20130731
4 MO_ICR_INTERNAL Instance attribute Protected Object reference (TYPE REF TO) CL_FBICRC_INTERNAL ICR internal object 20130731
5 MS_FBICRC01000 Instance attribute Public Type reference (TYPE) FBICRC01000 Reconciliation property table structure 20130731
6 MS_FBRC0010C Instance attribute Protected Type reference (TYPE) V_FBRC0010C Table for reconciliation attributes 20130731
7 MS_FBRC0060 Instance attribute Protected Type reference (TYPE) FBRC0060 Table for user settings 20130731
8 MS_RTYPE_ASSIGN_SELECTION Instance attribute Protected Type reference (TYPE) RSDS_FRANGE Assigned document rtype selection 20130731
9 MS_RTYPE_ICR_SELECTION Instance attribute Protected Type reference (TYPE) RSDS_FRANGE Overall rtype selection 20130731
10 MS_RTYPE_ORIGIN_SELECTION Instance attribute Protected Type reference (TYPE) RSDS_FRANGE Org unit rtype selection 20130731
11 MS_RTYPE_UNASSIGN_SELECTION Instance attribute Protected Type reference (TYPE) RSDS_FRANGE Unassigned document rtype selection 20130731
12 MT_ACCOUNT_SELECTION_ORGU Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Org unit account 20130731
13 MT_ACCOUNT_SELECTION_PTNR Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Partner account 20130731
14 MT_BASIC_SELECTION Instance attribute Protected Type reference (TYPE) RSDS_FRANGE_T Basic selection conditions 20130731
15 MT_COMP_PTNR Instance attribute Public Type reference (TYPE) FBICRC_T_COMP_PTNRS ICR company-partner pair table 20130731
16 MT_FBRC0020 Instance attribute Protected Type reference (TYPE) FBRC_T_FCAT Table for field catalog 20130731
17 MT_FBRC0030C Instance attribute Protected Type reference (TYPE) LTT_FBRC0030C Table for obj groups 20130731
18 MT_FBRC0040 Instance attribute Public Type reference (TYPE) LTT_FBRC0040 Table for sub groups 20130731
19 MT_FBRC0050 Instance attribute Protected Type reference (TYPE) LTT_FBRC0050 Table for display hierarchy 20130731
20 MT_FBRC0070C Instance attribute Protected Type reference (TYPE) LTT_FBRC0070C Table for status field 20130731
21 MT_FBRC0080C Instance attribute Protected Type reference (TYPE) LTT_FBRC0080C Table for suggest rules 20130731
22 MT_FBRC0090C Instance attribute Protected Type reference (TYPE) LTT_FBRC0090C Table for sets definition 20130731
23 MT_FURTHER_SELECTION Instance attribute Public Type reference (TYPE) RSDS_FRANGE_T Further selection criteria 20130731
24 MT_SEL_DISPC Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Object group 20130731
25 MT_SEL_LEADING_ORGUNIT Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Leading org unit 20130731
26 MT_SEL_LEADING_PARTNER Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Leading partner 20130731
27 MT_SEL_SECONDARY_ORGUNIT Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Secondary org unit 20130731
28 MT_SEL_SECONDARY_PARTNER Instance attribute Public Type reference (TYPE) RSDS_SELOPT_T Secondary partner 20130731
29 MV_ACCOUNT Instance attribute Public Type reference (TYPE) HKONT General ledger account 20130731
30 MV_ASSIGN_MODE Instance attribute Public Type reference (TYPE) FB_ICRC_ASSIGN_MODE ICR assign mode 20130731
31 MV_DISPC Instance attribute Public Type reference (TYPE) FB_RC_DISPC Object group 20130731
32 MV_DISP_CUKY Instance attribute Public Type reference (TYPE) WAERS Currency key 20130731
33 MV_FISCAL_YEAR Instance attribute Public Type reference (TYPE) RYEAR Fiscal year 20130731
34 MV_FPOPER Instance attribute Public Type reference (TYPE) POPER From posting period 20130731
35 MV_FYEAR Instance attribute Public Type reference (TYPE) GJAHR From Fiscal Year 20130731
36 MV_HDB_IS_PRIMARY Instance attribute Public Type reference (TYPE) BOOLE_D HANA DB is on 20130731
37 MV_HIER_NAME Instance attribute Public Type reference (TYPE) SETNAMENEW 20130826
38 MV_HIER_VERSION Instance attribute Public Type reference (TYPE) FBICRC_CO_HIER_VERSION ICR company hirerachy version 20130731
39 MV_KURST Instance attribute Public Type reference (TYPE) KURST Exchange rate type 20130731
40 MV_MAX_NUM Instance attribute Public Type reference (TYPE) I Max number of results 20130731
41 MV_MUST_SHOW_COMP_NAME Instance attribute Public Type reference (TYPE) ABAP_BOOL Show company name on navigation tree 20130731
42 MV_ORGU_BUKRS Instance attribute Public Type reference (TYPE) BUKRS Partner company code 20130731
43 MV_ORGU_PRCTR Instance attribute Public Type reference (TYPE) PRCTR Partner profit Center 20130731
44 MV_POSTING_PERIOD Instance attribute Public Type reference (TYPE) POPER Posting period 20130731
45 MV_PTNR_BUKRS Instance attribute Public Type reference (TYPE) BUKRS Org unit company code 20130731
46 MV_PTNR_PRCTR Instance attribute Public Type reference (TYPE) PRCTR Org unit profit center 20130731
47 MV_RATE_DATE Instance attribute Public Type reference (TYPE) DATS Currency translation key date 20130731
48 MV_RPROC Instance attribute Public Type reference (TYPE) FB_RC_RPROC Reconciliation process 20130731
49 MV_RPT_TYPE Static Attribute Public Type reference (TYPE) STRING Report type to enter monitor 20130731
50 MV_SHOW_NO_DATA_ON_TREE Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Show tree nodes without leaf on navigation tree 20130731
51 MV_SHOW_OVERVIEW_WINDOW Instance attribute Public Type reference (TYPE) ABAP_BOOL Show overview window 20130731
52 MV_SHOW_TREE_STRU Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Always show level 1 & 2 nodes 20130731
53 MV_SHOW_UNCATEGORIZED_ONLY Instance attribute Public Type reference (TYPE) ABAP_BOOL Only show uncategorized category 20130731
54 MV_SHOW_WO_DIFF_ALSO Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Show intercompanies without difference 20130731
55 MV_SHOW_W_DIFF_ONLY Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Show intercompanies with difference 20130731
56 MV_THRESHOLD Instance attribute Protected Type reference (TYPE) VTCUR9 Value in Transaction Currency 20130731
57 MV_TPOPER Instance attribute Public Type reference (TYPE) POPER To posting period 20130731
58 MV_TYEAR Instance attribute Public Type reference (TYPE) GJAHR To Fiscal Year 20130731
59 MV_VARIANT Instance attribute Public Type reference (TYPE) PERIV Fiscal Year Variant 20130731
60 MV_VERSION Instance attribute Public Type reference (TYPE) CHAR3 Version for document selection 20130731
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_DOCUMENTS_FOR_BADI Instance method Private Method Build line items list for badi use 20130731
2 BUILD_LEV2_TREE_STRUCTURE Instance method Protected Method Build navigation tree level 2 node from company pairs 20130731
3 BUILD_SEC_ORGU_WHERE Instance method Protected Method Build secondary organizational units where clause 20130731
4 CALC_DIFF_OVERVIEW_TREE Instance method Private Method Calculate overview tree difference 20130731
5 CALC_TOTAL_AMOUNT Instance method Protected Method Calculate total amount of each level on the tree 20130731
6 CLASSIFY_DOCUMENTS Instance method Public Method Group documents as 4 groups 20130731
7 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130731
8 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130731
9 FILTER_DOCUMENTS_BY_BADI Instance method Private Method Filter documents by BADI 20130731
10 HANDLE_UNCATEGORIZED_NODE Instance method Protected Method Handle line items of a uncategorized node 20130731
11 READ_TREE_NODE_ICON Instance method Private Method 20130826
12 READ_TREE_NODE_STATUS Instance method Private Method 20130826
13 REMOVE_BLANK_NODE Instance method Private Method Remove no data node and parent of navigation tree 20130731
14 REMOVE_NODE_PARENT Instance method Private Method Recursively remove tree node if parent has only one child 20130731
Events
Class CL_FBICRC_SERVICE_BASIC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LSX_BADI_DATA Public See coding 20130731 BEGIN OF lsx_badi_data, "n1491937 key TYPE string, "n1491937 descr TYPE string, "n1491937 r_data TYPE REF TO data, "n1491937 END OF lsx_badi_data
2 LTT_FBRC0030C Public See coding 20130731 ltt_fbrc0030c TYPE STANDARD TABLE OF v_fbrc0030c WITH DEFAULT KEY
3 LTT_FBRC0040 Public See coding 20130731 ltt_fbrc0040 TYPE STANDARD TABLE OF fbrc0040 WITH DEFAULT KEY
4 LTT_FBRC0050 Public See coding 20130731 ltt_fbrc0050 TYPE STANDARD TABLE OF fbrc0050 WITH DEFAULT KEY
5 LTT_FBRC0070C Public See coding 20130731 ltt_fbrc0070c TYPE STANDARD TABLE OF v_fbrc0070c WITH DEFAULT KEY
6 LTT_FBRC0080C Public See coding 20130731 ltt_fbrc0080c TYPE STANDARD TABLE OF v_fbrc0080c WITH DEFAULT KEY
7 LTT_FBRC0090C Public See coding 20130731 ltt_fbrc0090c TYPE STANDARD TABLE OF v_fbrc0090c WITH DEFAULT KEY
8 LTX_BADI_DATA Public See coding 20130731 ltx_badi_data TYPE STANDARD TABLE OF lsx_badi_data
Method Signatures

Method BUILD_DOCUMENTS_FOR_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DOCUMENTS_ORGUNIT Call by reference Type reference (TYPE) TABLE Records from org unit 20130731
2 Changing CT_DOCUMENTS_PARTNER Call by reference Type reference (TYPE) TABLE Records from partner 20130731
3 Exporting ET_DOCUMENTS_BADI Call by reference Type reference (TYPE) LTX_BADI_DATA Badi info. 20130731
4 Importing IT_ASSIGNED_WITHOUT_DIFF Call by reference Type reference (TYPE) TABLE Assigned records with out difference 20130731
5 Importing IT_ASSIGNED_WITH_DIFF Call by reference Type reference (TYPE) TABLE Assigned records with difference 20130731
6 Importing IT_UNASSIGNED_ORGUNIT Call by reference Type reference (TYPE) TABLE Unassigned org unit records 20130731
7 Importing IT_UNASSIGNED_PARTNER Call by reference Type reference (TYPE) TABLE Unassigned partner records 20130731
8 Importing IV_NEED_CLASSIFY Call by reference Type reference (TYPE) BOOLE_D Need to classify or not 20130731
9 Importing IV_ORGU Call by reference Type reference (TYPE) STRING Org unit 20130731
10 Importing IV_PTNR Call by reference Type reference (TYPE) STRING Partner 20130731

Method BUILD_DOCUMENTS_FOR_BADI on class CL_FBICRC_SERVICE_BASIC has no exception.

Method BUILD_LEV2_TREE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LEV2_TREE_NODE Call by reference Type reference (TYPE) FBICRC_T_TREE_NODE_P Generated level 2 tree nodes 20130731
2 Importing IT_SEL_RASSC Call by reference Type reference (TYPE) RSDSSELOPT_T Selected partners 20130731
3 Importing IT_SEL_RCOMP Call by reference Type reference (TYPE) RSDSSELOPT_T Selected companies 20130731
4 Importing IT_UNIQUE_COMP_PAIRS Call by reference Type reference (TYPE) FBICRC_T_UNIQUE_COMP_PAIRS Unique company pairs table 20130731
5 Importing IV_ALLOW_SEC_ORGU Call by reference Type reference (TYPE) ABAP_BOOL Allow secondary org unit 20130731
6 Changing IV_FNAME_SEC_ORGUNIT Call by reference Type reference (TYPE) FIELDNAME Fieldname 20130731
7 Changing IV_FNAME_SEC_PARTNER Call by reference Type reference (TYPE) FIELDNAME Fieldname 20130731

Method BUILD_LEV2_TREE_STRUCTURE on class CL_FBICRC_SERVICE_BASIC has no exception.

Method BUILD_SEC_ORGU_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WHERE_CLAUSE Call by reference Type reference (TYPE) STRING Built where clause 20130731
2 Importing IV_FNAME_SEC_ORGUNIT Call by reference Type reference (TYPE) FIELDNAME Fieldname 20130731
3 Importing IV_FNAME_SEC_PARTNER Call by reference Type reference (TYPE) FIELDNAME Fieldname 20130731
4 Importing IV_IS_FROM_PARTNER Call by reference Type reference (TYPE) ABAP_BOOL Is from partner side 20130731
5 Importing IV_SEC_ORGU Call by reference Type reference (TYPE) STRING Secondary org unit 20130731
6 Importing IV_SEC_PTNR Call by reference Type reference (TYPE) STRING Secondary partner 20130731

Method BUILD_SEC_ORGU_WHERE on class CL_FBICRC_SERVICE_BASIC has no exception.

Method CALC_DIFF_OVERVIEW_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OVERVIEW_TREE Call by reference Type reference (TYPE) FBICRC_T_OVERVIEW_TREES Overview tree 20130731
2 Exporting EV_TOTAL Call by reference Type reference (TYPE) ICRC_GDIFF Calculated difference 20130731
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) STRING Node key 20130731

Method CALC_DIFF_OVERVIEW_TREE on class CL_FBICRC_SERVICE_BASIC has no exception.

Method CALC_TOTAL_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TREE_NODE Call by reference Type reference (TYPE) FBICRC_T_TREE_NODE_P Tree node 20130731

Method CALC_TOTAL_AMOUNT on class CL_FBICRC_SERVICE_BASIC has no exception.

Method CLASSIFY_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LINE_ITEM_ORGUNIT Call by reference Type reference (TYPE) TABLE Org unit line item 20130731
2 Changing CT_LINE_ITEM_PARTNER Call by reference Type reference (TYPE) TABLE Partner line item 20130731
3 Exporting ET_ASSIGNED_WITHOUT_DIFF Call by reference Type reference (TYPE) TABLE Assigned records without differecnes 20130731
4 Exporting ET_ASSIGNED_WITH_DIFF Call by reference Type reference (TYPE) TABLE Assigned records with differences 20130731
5 Exporting ET_UNASSIGNED_ORGUNIT Call by reference Type reference (TYPE) TABLE Unassigned org unit records 20130731
6 Exporting ET_UNASSIGNED_PARTNER Call by reference Type reference (TYPE) TABLE Unassigned partner records 20130731
7 Importing IV_DISP_CUKY Call by reference Type reference (TYPE) WAERS Currency key 20130731
8 Importing IV_ORGU Call by reference Type reference (TYPE) STRING Org unit 20130731
9 Importing IV_PTNR Call by reference Type reference (TYPE) STRING Partner 20130731

Method CLASSIFY_DOCUMENTS on class CL_FBICRC_SERVICE_BASIC has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_FBICRC_SERVICE_BASIC has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FBICRC_SERVICE_BASIC has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACCOUNT_ORGU_SELECTION Call by reference Type reference (TYPE) RSDS_SELOPT_T 20130731
2 Importing IT_ACCOUNT_PTNR_SELECTION Call by reference Type reference (TYPE) RSDS_SELOPT_T 20130731
3 Importing IV_DISP_CUKY Call by reference Type reference (TYPE) WAERS 20130731
4 Importing IV_MAX_NUM Call by reference Type reference (TYPE) I 20130731
5 Importing IV_RPROC Call by reference Type reference (TYPE) FB_RC_RPROC 20130731
# Exception Resumable Description Created on
1 CX_FBICRC_EXCEPTION 20130731

Method FILTER_DOCUMENTS_BY_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNED_WITHOUT_DIFF Call by reference Type reference (TYPE) TABLE Assigned records without differences 20130731
2 Changing CT_ASSIGNED_WITH_DIFF Call by reference Type reference (TYPE) TABLE Assigned records with differences 20130731
3 Changing CT_DOCUMENTS_ORGUNIT Call by reference Type reference (TYPE) TABLE Records from org unit side 20130731
4 Changing CT_DOCUMENTS_PARTNER Call by reference Type reference (TYPE) TABLE Records from partner side 20130731
5 Changing CT_UNASSIGNED_ORGUNIT Call by reference Type reference (TYPE) TABLE Unassigned records from org unit 20130731
6 Changing CT_UNASSIGNED_PARTNER Call by reference Type reference (TYPE) TABLE Unassigned partner records 20130731
7 Importing IV_NEED_CLASSIFY Call by reference Type reference (TYPE) BOOLE_D Check need classsify records 20130731
8 Importing IV_ORGU Call by reference Type reference (TYPE) STRING Org unit 20130731
9 Importing IV_PTNR Call by reference Type reference (TYPE) STRING Partner 20130731

Method FILTER_DOCUMENTS_BY_BADI on class CL_FBICRC_SERVICE_BASIC has no exception.

Method HANDLE_UNCATEGORIZED_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ORGUNIT Call by reference Type reference (TYPE) TABLE Line item from org unit 20130731
2 Changing CT_PARTNER Call by reference Type reference (TYPE) TABLE Line item from partner 20130731

Method HANDLE_UNCATEGORIZED_NODE on class CL_FBICRC_SERVICE_BASIC has no exception.

Method READ_TREE_NODE_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OVERVIEW_TREE Call by reference Type reference (TYPE) FBICRC_T_OVERVIEW_TREES 20130826
2 Exporting EV_NODE_ICON Call by reference Type reference (TYPE) I 20130826
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) STRING 20130826

Method READ_TREE_NODE_ICON on class CL_FBICRC_SERVICE_BASIC has no exception.

Method READ_TREE_NODE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OVERVIEW_TREE Call by reference Type reference (TYPE) FBICRC_T_OVERVIEW_TREES 20130826
2 Exporting EV_NODE_STATUS Call by reference Type reference (TYPE) I 20130826
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) STRING 20130826

Method READ_TREE_NODE_STATUS on class CL_FBICRC_SERVICE_BASIC has no exception.

Method REMOVE_BLANK_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TREE Call by reference Type reference (TYPE) FBICRC_T_TREE_NODE_P Navigation tree 20130731

Method REMOVE_BLANK_NODE on class CL_FBICRC_SERVICE_BASIC has no exception.

Method REMOVE_NODE_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OVERVIEW_TREE Call by reference Type reference (TYPE) FBICRC_T_OVERVIEW_TREES 20130731
2 Importing IV_NODE_KEY Call by reference Type reference (TYPE) STRING 20130731

Method REMOVE_NODE_PARENT on class CL_FBICRC_SERVICE_BASIC has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in