SAP ABAP Class CL_FAGL_R_OBJ_TYPE_003_GL (Reorganization :Segment/GL Accounts)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL-REO (Application Component) General Ledger Reorganization
     FAGL_REORGANIZATION_SEG_E (Package) New GL - Segment Reorganization
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20110128
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20110128
Properties
Class CL_FAGL_R_OBJ_TYPE_003_GL  
Short Description Reorganization :Segment/GL Accounts    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FAGL_REORGANIZATION_SEG_E   New GL - Segment Reorganization 
Created 20110128   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)
2 GUSL Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20110128
2 IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20110128
Friends
Class CL_FAGL_R_OBJ_TYPE_003_GL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GV_XFIRST_TIME Instance attribute Private Type reference (TYPE) ABAP_BOOL Is the first time? 20110407
Methods
# Method Level Visibility Method type Description Created on
1 DETERMINE_OBJ_TYPE_P Instance method Private Method Determine Object Type 20110420
2 EXCLUDE_PROFIT_LOSS_ACCT_P Instance method Private Method Exclude Profit And Loss Account 20110601
3 EXCLUDE_ZERO_BALANCE_ACCT_P Instance method Private Method Exclude Zero Balance Accounts 20110601
4 GET_ACTIVE_TOT_FIELDS_P Instance method Protected Method Get Active Total Fields 20110601
5 GET_ALL_LEDGERS_FROM_BUKRS_P Instance method Protected Method Get All Ledger from BUKRS 20110601
6 GET_BUKRS_FROM_DB_P Instance method Protected Method Get BUKRS from DB 20110601
7 GET_FIELDLIST_P Instance method Private Method Get Field List 20110325
8 GET_FREESELECTION_LIST_P Instance method Private Method Get Free Selection for List 20110421
9 GET_GRAL_RESTRICTIONS_P Instance method Protected Method Get General Descriptions 20110325
10 GET_KOKRS_FROM_BUKRS_P Instance method Protected Method Get KOKRS from BUKRS 20110601
11 GET_KTOPL_FROM_BUKRS_P Instance method Private Method Get Chart of accounts from Company Code 20110601
12 GET_LOCAL_CURRENCY_P Instance method Private Method Get Local Curency 20110413
13 GET_RESTRICTION_SPEC_P Instance method Private Method Get Restriction Specific 20110421
14 GET_RG_ACCT_P Instance method Protected Method Get GL Accounts Range 20110325
15 GET_SELECTION_CRITERIA_LIST_P Instance method Private Method Get Selection Criteria for List 20110420
16 GET_SELECTION_CRITERIA_OBJ_P Instance method Private Method Get Selection Criteria for Object 20110420
17 GET_SPEC_RESTRICTION_P Instance method Private Method Get Specific Restriction 20110329
18 GET_SUPERIOR_RG_PRCTR_P Instance method Private Method Get From Superior: Profit Center Range 20110325
19 GET_TABLE_NAMES_P Instance method Protected Method Get Table Names 20110601
20 MOVE_TO_BALANCE_P Instance method Private Method Move To Balance 20110401
21 SELECT_GL_LIST_P Instance method Protected Method Select GL to get a list 20110420
22 SELECT_GL_OBJECT_P Instance method Protected Method Select GL to get an object line 20110420
23 TABLE_SELECT_P Instance method Protected Method Table Select 20110601
Events
Class CL_FAGL_R_OBJ_TYPE_003_GL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYPE_RGS_KTOPL Private See coding 20110601 BEGIN OF gtype_rgs_ktopl, sign TYPE sign, option TYPE option, low TYPE ktopl, high TYPE ktopl, END OF gtype_rgs_ktopl
2 GTYPE_RGT_KTOPL Private See coding 20110601 gtype_rgt_ktopl TYPE STANDARD TABLE OF gtype_rgs_ktopl
3 GTYPE_S_GLITEM Public See coding 20110329 BEGIN OF gtype_s_glitem, obj_index TYPE fagl_r_obj_index, ryear TYPE ryear, bukrs TYPE bukrs, rldnr TYPE rldnr, racct TYPE racct, period TYPE fagl_r_correction_poper, t_curr TYPE fagl_r_t_curr, rmvct TYPE rmvct, vbund TYPE vbund, segment TYPE fb_segment, psegment TYPE fb_segment, prctr TYPE prctr, pprctr TYPE pprctr, END OF gtype_s_glitem
4 GTYPE_S_PL_ACCT Private See coding 20110601 BEGIN OF gtype_s_pl_acct, account TYPE saknr, chartofacc TYPE ktopl, END OF gtype_s_pl_acct
5 GTYPE_S_SAKNR Private See coding 20110601 BEGIN OF gtype_s_saknr, saknr TYPE saknr, ktopl TYPE ktopl, bukrs TYPE bukrs, END OF gtype_s_saknr
6 GTYPE_T_PL_ACCT Private See coding 20110601 gtype_t_pl_acct TYPE STANDARD TABLE OF gtype_s_pl_acct
7 GTYPE_T_SAKNR Private See coding 20110601 gtype_t_saknr TYPE STANDARD TABLE OF gtype_s_saknr
Method Signatures

Method DETERMINE_OBJ_TYPE_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE2 Reorganization: Messages (Without Index) 20110425
2 Exporting EV_OBJECT_TYPE Call by reference Type reference (TYPE) FAGL_R_OBJ_TYPE_SUP Object Type of the Higher-Level Object 20110420
3 Exporting EV_SKIP_OBJECT Call by reference Type reference (TYPE) ABAP_BOOL 20110517
4 Importing IO_FW_CALLBACK Call by reference Object reference (TYPE REF TO) IF_FAGL_R_FW_CALLBACK Reorganization: Callback to Framework 20110517
5 Importing IV_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110425
6 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20110420
7 Importing IV_PRCTR Call by reference Type reference (TYPE) PRCTR Profit Center 20110420
8 Importing IV_SEGMENT Call by reference Type reference (TYPE) FB_SEGMENT 20110420

Method DETERMINE_OBJ_TYPE_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method EXCLUDE_PROFIT_LOSS_ACCT_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ACCT Call by reference Type reference (TYPE) GTYPE_T_SAKNR 20110601
2 Importing IT_RG_KTOPL Call by reference Type reference (TYPE) GTYPE_RGT_KTOPL 20110601

Method EXCLUDE_PROFIT_LOSS_ACCT_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method EXCLUDE_ZERO_BALANCE_ACCT_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ACCT Call by reference Type reference (TYPE) GTYPE_T_SAKNR 20110601

Method EXCLUDE_ZERO_BALANCE_ACCT_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_ACTIVE_TOT_FIELDS_P 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) TTFIELDNAME Number of Field Names 20110601
2 Importing IV_RLDNR Call by reference Type reference (TYPE) RLDNR Ledger 20110601

Method GET_ACTIVE_TOT_FIELDS_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_ALL_LEDGERS_FROM_BUKRS_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LEDGERS Call by reference Type reference (TYPE) FAGL_RLDNR_TAB Table of GL Ledgers 20110601
2 Exporting ET_ROLLUP_LEDGERS Call by reference Type reference (TYPE) FAGL_RLDNR_TAB Table of GL Ledgers 20110601
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20110601

Method GET_ALL_LEDGERS_FROM_BUKRS_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_BUKRS_FROM_DB_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BUKRS Call by reference Type reference (TYPE) FAGL_BUKRS_TAB Table of Company Codes 20110601
2 Importing IT_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS Range Table for Company Codes 20110601

Method GET_BUKRS_FROM_DB_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_FIELDLIST_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LEDGER Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20110422
2 Returning RT_FIELDLIST Value transfer Type reference (TYPE) GUSL_T_FIELDS Field List 20110325

Method GET_FIELDLIST_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_FREESELECTION_LIST_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FREESELECTION Call by reference Type reference (TYPE) TT_RSDSWHERE Table type for rsdswhere 20110421
2 Importing IT_RG_PRCTR Call by reference Type reference (TYPE) FAGL_RANGE_T_PRCTR Range Table for Profit Centers 20110421
3 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110421
4 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME 20110421

Method GET_FREESELECTION_LIST_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_GRAL_RESTRICTIONS_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS Range Table for Company Codes 20110325
2 Exporting ET_RG_KOKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_KOKRS Range Table for Controlling Area 20110325
3 Exporting ET_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110325
4 Importing IT_RESTRICTION_GENERAL Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPT Table for Each Field Name 20110325

Method GET_GRAL_RESTRICTIONS_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_KOKRS_FROM_BUKRS_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20110601
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20110601

Method GET_KOKRS_FROM_BUKRS_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_KTOPL_FROM_BUKRS_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RG_KTOPL Call by reference Type reference (TYPE) GTYPE_RGT_KTOPL 20110601
2 Importing IT_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS Range Table for Company Codes 20110601

Method GET_KTOPL_FROM_BUKRS_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_LOCAL_CURRENCY_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20110413
2 Returning RV_WAERS Value transfer Type reference (TYPE) WAERS Currency Key 20110413

Method GET_LOCAL_CURRENCY_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_RESTRICTION_SPEC_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESTRICTION_SPECIFIC Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPT Table for Each Field Name 20110427

Method GET_RESTRICTION_SPEC_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_RG_ACCT_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS Range Table for Company Codes 20110328
2 Returning RT_RG_RACCT Value transfer Type reference (TYPE) FAGL_RANGE_T_RACCT Range Table for Accounts 20110325

Method GET_RG_ACCT_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_SELECTION_CRITERIA_LIST_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECTION Call by reference Type reference (TYPE) GUSL_T_SELECTION 20110420
2 Importing IT_FIELDLIST Call by reference Type reference (TYPE) GUSL_T_FIELDS 20110422
3 Importing IT_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS Range Table for Company Codes 20110420
4 Importing IT_RG_KOKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_KOKRS Range Table for Controlling Area 20110420
5 Importing IT_RG_PRCTR Call by reference Type reference (TYPE) FAGL_RANGE_T_PRCTR Range Table for Profit Centers 20110420
6 Importing IT_RG_RACCT Call by reference Type reference (TYPE) FAGL_RANGE_T_RACCT Range Table for Accounts 20110420
7 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110420
8 Importing IV_RLDNR Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20110422

Method GET_SELECTION_CRITERIA_LIST_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_SELECTION_CRITERIA_OBJ_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECTION Call by reference Type reference (TYPE) GUSL_T_SELECTION 20110420
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS 20110420
3 Importing IV_LEDGER Call by reference Type reference (TYPE) FAGL_RLDNR Ledger in General Ledger Accounting 20110422
4 Importing IV_PRCTR Call by reference Type reference (TYPE) PRCTR 20110420
5 Importing IV_RACCT Call by reference Type reference (TYPE) RACCT 20110420
6 Importing IV_SEGMENT Call by reference Type reference (TYPE) FB_SEGMENT Segment for Segmental Reporting 20110420

Method GET_SELECTION_CRITERIA_OBJ_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_SPEC_RESTRICTION_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SELECTION Call by reference Type reference (TYPE) GUSL_T_SELECTION 20110329
2 Importing IT_RESTRICTION_SPECIFIC Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPT Table for Each Field Name 20110329

Method GET_SPEC_RESTRICTION_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_SUPERIOR_RG_PRCTR_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RG_PRCTR Call by reference Type reference (TYPE) FAGL_RANGE_T_PRCTR Range Table for Profit Centers 20110325
2 Importing IT_SUPERIOR_OBJECT Call by reference Type reference (TYPE) FAGL_R_T_OBJECT_SUP Reorganization: Higher-Level Object 20110325
3 Importing IV_SUPERIOR_OBJ_TYPE Call by reference Type reference (TYPE) FAGL_R_OBJ_TYPE_SUP Object Type of the Higher-Level Object 20110325

Method GET_SUPERIOR_RG_PRCTR_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method GET_TABLE_NAMES_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TABNAMES Call by reference Type reference (TYPE) FAGL_TABNAMES Names of Database Tables 20110601
2 Exporting EV_RESULT Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20110601
3 Importing IV_LEDGER Call by reference Type reference (TYPE) RLDNR Ledger 20110601

Method GET_TABLE_NAMES_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method MOVE_TO_BALANCE_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_REO_BALANCES Call by reference Type reference (TYPE) FAGL_R_S_BALANCE_W_OBJ_INDEX Bal. for Obj/CoCode/Acct/Addit.AcctAssgnmt (with Obj. Index) 20110422
2 Importing IS_BALANCES Call by reference Type reference (TYPE) FAGL_TOT_SEG Transfer Structure: Balances in FI for Segment,Profit Center 20110422
3 Importing IV_OBJ_INDEX Call by reference Type reference (TYPE) FAGL_R_OBJ_INDEX Reference to Index of an Object in the Object List 20110402

Method MOVE_TO_BALANCE_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method SELECT_GL_LIST_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BALANCES Call by reference Type reference (TYPE) FAGL_TOT_SEG_T Table: Totals with Enhanced Account Assignments 20110421
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE2 Reorganization: Messages 20110420
3 Importing IT_RESTRICTION_SPECIFIC Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPT Table for Each Field Name 20110420
4 Importing IT_RG_BUKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_BUKRS 20110420
5 Importing IT_RG_KOKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_KOKRS 20110420
6 Importing IT_RG_PRCTR Call by reference Type reference (TYPE) FAGL_RANGE_T_PRCTR Range Table for Profit Centers 20110420
7 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110420

Method SELECT_GL_LIST_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method SELECT_GL_OBJECT_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_F_BALANCES Call by reference Type reference (TYPE) FAGL_TOT_SEG_T Table: Totals with Enhanced Account Assignments 20110427
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorganization: Messages 20110420
3 Exporting ET_P_BALANCES Call by reference Type reference (TYPE) FAGL_TOT_SEG_T Table: Totals with Enhanced Account Assignments 20110427
4 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS 20110420
5 Importing IV_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110427
6 Importing IV_PRCTR Call by reference Type reference (TYPE) PRCTR 20110420
7 Importing IV_RACCT Call by reference Type reference (TYPE) RACCT Account Number 20110420
8 Importing IV_SEGMENT Call by reference Type reference (TYPE) FB_SEGMENT 20110420

Method SELECT_GL_OBJECT_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.

Method TABLE_SELECT_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_GLU1 Call by reference Type reference (TYPE) GUSL_T_GLU1 20110601
2 Exporting EV_RESULT Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20110601
3 Importing IT_FIELDLIST Call by reference Type reference (TYPE) GUSL_T_FIELDS 20110601
4 Importing IT_SELECTION Call by reference Type reference (TYPE) GUSL_T_SELECTION 20110601
5 Importing IV_TABNAME Call by reference Type reference (TYPE) T800A-TAB Table Name 20110601

Method TABLE_SELECT_P on class CL_FAGL_R_OBJ_TYPE_003_GL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606