SAP ABAP Class CL_FAGL_R_OBJ_TYPE_003_SO (Reorganization: Segment/Sales Document)
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 20110204
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20110204
Properties
Class CL_FAGL_R_OBJ_TYPE_003_SO  
Short Description Reorganization: Segment/Sales Document    
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 20110204   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FAGL_R_OBJ_TYPE_003_SO has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20110204
2 IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20110204
Friends
Class CL_FAGL_R_OBJ_TYPE_003_SO has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_VKORG_BUKRS_BUFFER Static Attribute Protected Type reference (TYPE) GTY_TS_VKORG_BUKRS Buffer of VKORG->BUKRS 20110204
2 GT_WERKS_BUKRS Static Attribute Protected Type reference (TYPE) GTY_T_WERKS_BUKRS Buffer of Plant-CoCode Assignments 20110204
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ITEM_GOT_REASSIGNED Instance method Protected Method Check if item got reassigned before 20110407
2 DERIVE_SEGMENT_TO_SO Instance method Protected Method Derive Segment to Sales Order 20110304
3 DETERMINE_SUPERIOR_OBJECT_TYPE Instance method Protected Method Determine Superordinate Object Type (Inherited from PrCtr) 20110304
4 FILL_TRVOG_RANGE Instance method Protected Method Get Sales Document Types for Selection 20110204
5 GET_REORG_RELEVANT_DATES Instance method Protected Method Read Data from which Docs (Status Irrelev.) Relev.for Reorg. 20110204
6 GET_RESTR_SPEC_VBAK_VBAP_VBUP Instance method Protected Method Read Specific Restrictions for VBAK, VBAP, and VBUP 20110204
7 GET_VKORG_FOR_BUKRS Instance method Protected Method Derive Sales Organizations from Company Codes 20110204
8 ROLLBACK_VBAP_AND_LOG Instance method Protected Method "Manual" Rollback of VBAP and FAGL_R_SD_LOG 20110204
9 SELECT_FIRSTLEVEL Instance method Protected Method Select First Level Sales Order Items 20110204
10 SELECT_VIA_PROFIT_CENTER Instance method Protected Method Select via Profit Center 20110204
Events
Class CL_FAGL_R_OBJ_TYPE_003_SO has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_BUKRS_RANGE Protected See coding 20110204 gty_bukrs_range TYPE RANGE OF bukrs
2 GTY_S_ERROR Protected See coding 20110204 BEGIN OF gty_s_error, xerror TYPE abap_bool, xfatal TYPE abap_bool, END OF gty_s_error
3 GTY_S_KEY Protected See coding 20110204 BEGIN OF gty_s_key, obj_index TYPE fagl_r_obj_index, vbeln TYPE vbeln, posnr TYPE posnr, END OF gty_s_key
4 GTY_S_MDATTR Protected See coding 20110207 BEGIN OF gty_s_mdattr, prctr TYPE prctr, segment TYPE fb_segment, pctrf TYPE pctrf, paobjnr TYPE vbap-paobjnr, END OF gty_s_mdattr
5 GTY_S_SO Protected See coding 20110204 BEGIN OF gty_s_so, vbeln TYPE vbap-vbeln, posnr TYPE vbap-posnr, matnr TYPE matnr, werks TYPE werks_ext, prctr TYPE prctr, erdat TYPE vbap-erdat, trvog TYPE vbak-trvog, gbsta TYPE vbup-gbsta, kokrs TYPE vbak-kokrs, objnr type vbap-objnr, paobjnr type vbap-paobjnr, vkorg type vbak-vkorg, END OF gty_s_so
6 GTY_S_TRVOG_DATE Protected See coding 20110204 BEGIN OF gty_s_trvog_date, trvog TYPE trvog, from_date TYPE dats, END OF gty_s_trvog_date
7 GTY_S_WERKS_BUKRS Protected See coding 20110204 BEGIN OF gty_s_werks_bukrs, werks TYPE werks, bukrs TYPE bukrs, END OF gty_s_werks_bukrs
8 GTY_TS_VKORG_BUKRS Protected See coding 20110204 gty_ts_vkorg_bukrs TYPE SORTED TABLE OF gty_vkorg_bukrs WITH NON-UNIQUE KEY bukrs
9 GTY_T_TRVOG_DATE Protected See coding 20110204 gty_t_trvog_date TYPE TABLE OF gty_s_trvog_date
10 GTY_T_WERKS_BUKRS Protected See coding 20110204 gty_t_werks_bukrs TYPE SORTED TABLE OF gty_s_werks_bukrs WITH UNIQUE KEY werks
11 GTY_VKORG_BUKRS Protected See coding 20110204 BEGIN OF gty_vkorg_bukrs, vkorg TYPE vkorg, bukrs TYPE bukrs, END OF gty_vkorg_bukrs
12 GTY_VKORG_RANGE Protected See coding 20110204 gty_vkorg_range TYPE RANGE OF vkorg
Method Signatures

Method CHECK_ITEM_GOT_REASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FW_CALLBACK Call by reference Object reference (TYPE REF TO) IF_FAGL_R_FW_CALLBACK Reorganization: Callback to Framework 20110407
2 Importing IV_PLAN Call by reference Type reference (TYPE) FAGL_R_PLAN Reorganization Plan 20110407
3 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR_VA Sales Document Item 20110407
4 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN_VA Sales Document 20110407
5 Returning RV_IS_REASSIGNED Value transfer Type reference (TYPE) ABAP_BOOL 20110407

Method CHECK_ITEM_GOT_REASSIGNED on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method DERIVE_SEGMENT_TO_SO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SEGMENT_NEW Call by reference Type reference (TYPE) FB_SEGMENT Segment for Segmental Reporting 20110304
2 Importing IV_COOBJNR Call by reference Type reference (TYPE) OBJPO Object number at item level 20110304
3 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20110304
4 Importing IV_PAOBJNR Call by reference Type reference (TYPE) RKEOBJNR Profitability Segment Number (CO-PA) 20110304
5 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110304
# Exception Resumable Description Created on
1 ERROR 20110304
2 NO_UNIQUE_SEGMENT 20110304

Method DETERMINE_SUPERIOR_OBJECT_TYPE 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) 20110323
2 Exporting EV_ERROR_RAISED Call by reference Type reference (TYPE) ABAP_BOOL Error raised 20110323
3 Exporting EV_OBJ_TYPE Call by reference Type reference (TYPE) FAGL_R_OBJ_TYPE Object Type of the Higher-Level Object 20110304
4 Exporting EV_SEGMENT_OLD Value transfer Type reference (TYPE) FB_SEGMENT Segment for Segmental Reporting 20110304
5 Exporting EV_SKIP_ITEM Call by reference Type reference (TYPE) ABAP_BOOL Skip item 20110304
6 Importing IO_FW_CALLBACK Call by reference Object reference (TYPE REF TO) IF_FAGL_R_FW_CALLBACK Reorganization: Callback to Framework 20110304
7 Importing IS_SO Call by reference Type reference (TYPE) GTY_S_SO Structure with Relevant Sales Order Item Data 20110304
8 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110304
9 Importing IV_PLAN Call by reference Type reference (TYPE) FAGL_R_PLAN Reorganization Plan 20110406
10 Importing IV_PROCESSING_LEVEL Call by reference Type reference (TYPE) I Processing level 20110323
11 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110304
12 Importing IV_SEGMENT_OLD Call by reference Type reference (TYPE) FB_SEGMENT Segment for Segmental Reporting 20110304
# Exception Resumable Description Created on
1 ERROR 20110304

Method FILL_TRVOG_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RG_TRVOG Value transfer Type reference (TYPE) FAGL_R_T_RANGE_TRVOG Range Table TRVOG 20110204

Method FILL_TRVOG_RANGE on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method GET_REORG_RELEVANT_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TRVOG_DATES Call by reference Type reference (TYPE) GTY_T_TRVOG_DATE Data per Type of Sales Document 20110204
2 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110204

Method GET_REORG_RELEVANT_DATES on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method GET_RESTR_SPEC_VBAK_VBAP_VBUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WHERETAB_VBAK Call by reference Type reference (TYPE) TT_RSDSWHERE Generic Where-Conditions for VBAK 20110204
2 Exporting ET_WHERETAB_VBAP Call by reference Type reference (TYPE) TT_RSDSWHERE Generic Where-Conditions for VBAP 20110204
3 Exporting ET_WHERETAB_VBUP Call by reference Type reference (TYPE) TT_RSDSWHERE Generic Where-Conditions for VBUP 20110204
4 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 20110204

Method GET_RESTR_SPEC_VBAK_VBAP_VBUP on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method GET_VKORG_FOR_BUKRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VKORG_RANGE Call by reference Type reference (TYPE) GTY_BUKRS_RANGE Range Table for Sales Organizations 20110204
2 Importing IT_BUKRS_RANGE Call by reference Type reference (TYPE) GTY_VKORG_RANGE Range Table: Company Code 20110204

Method GET_VKORG_FOR_BUKRS on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method ROLLBACK_VBAP_AND_LOG 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_MESSAGE Reorganization: Messages 20110204
2 Exporting EV_FATAL_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20110204
3 Importing IS_MDATTR_OLD Call by reference Type reference (TYPE) GTY_S_MDATTR 20110204
4 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR Item Number of the SD Document 20110204
5 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20110204
6 Importing IV_XCOMP Call by reference Type reference (TYPE) ABAP_BOOL Cross-Company (Field Profit Center / Object Type SOI) 20110204

Method ROLLBACK_VBAP_AND_LOG on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method SELECT_FIRSTLEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE2 Messages 20110204
2 Exporting ET_OBJECT Call by reference Type reference (TYPE) FAGL_R_T_OBJECT Table of Sales Order Items Found 20110204
3 Importing IO_FW_CALLBACK Call by reference Object reference (TYPE REF TO) IF_FAGL_R_FW_CALLBACK Instance for Callback to Framework 20110204
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 20110216
5 Importing IT_RESTRICTION_SPECIFIC Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPTION 20110218
6 Importing IT_RG_KOKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_KOKRS Range Table for Controlling Area 20110204
7 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Profit Centers 20110204
8 Importing IT_RG_VKORG Call by reference Type reference (TYPE) GDS_SELRANGE_VKORG_TAB Range Table for Sales Organizations 20110204
9 Importing IT_WHERETAB_VBAK Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBAK Fields 20110204
10 Importing IT_WHERETAB_VBAP Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBAP Fields 20110204
11 Importing IT_WHERETAB_VBUP Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBUP Fields 20110204
12 Importing IV_PLAN Call by reference Type reference (TYPE) FAGL_R_PLAN Reorganization Plan 20110406
13 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110218

Method SELECT_FIRSTLEVEL on class CL_FAGL_R_OBJ_TYPE_003_SO has no exception.

Method SELECT_VIA_PROFIT_CENTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE2 Reorganization: Messages 20110221
2 Exporting ET_OBJECT Call by reference Type reference (TYPE) FAGL_R_T_OBJECT Sales Order Items Found 20110204
3 Importing IO_FW_CALLBACK Call by reference Object reference (TYPE REF TO) IF_FAGL_R_FW_CALLBACK Reorganization: Callback to Framework 20110204
4 Importing IT_RESTRICTION_GENERAL Call by reference Type reference (TYPE) FAGL_R_T_TRANGE Reorg: Table Name and SEL-OPT 20110218
5 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 20110204
6 Importing IT_RG_KOKRS Call by reference Type reference (TYPE) FAGL_RANGE_T_KOKRS Range Table KOKRS 20110204
7 Importing IT_RG_SEGMENT Call by reference Type reference (TYPE) FAGL_RANGE_T_SEGMENT Range Table for Segment 20110205
8 Importing IT_RG_VKORG Call by reference Type reference (TYPE) GDS_SELRANGE_VKORG_TAB Selection Range VKORG 20110204
9 Importing IT_SUPERIOR_OBJECT Call by reference Type reference (TYPE) FAGL_R_T_OBJECT_SUP Superordinate Materials 20110204
10 Importing IT_WHERETAB_VBAK Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBAK Fields 20110204
11 Importing IT_WHERETAB_VBAP Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBAP Fields 20110204
12 Importing IT_WHERETAB_VBUP Call by reference Type reference (TYPE) TT_RSDSWHERE Specific Restrictions on VBUP Fields 20110204
13 Importing IV_PLAN Call by reference Type reference (TYPE) FAGL_R_PLAN Reorganization Plan 20110406
14 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganization Date 20110218

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