SAP ABAP Class CL_IM_RM07KOF2_ALV_DBSYSOPTANY (Class for BAdI: RM07KOF2_ALV_DBSYS_OPT)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-IM (Application Component) Inventory Management
     MB_OPT (Package) Additional application development R/3 inventory management
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 20130219
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RM07KOF2_ALV_DBSYS_OPT Interface for BAdI: RM07KOF2_ALV_DBSYS_OPT 20130219
Properties
Class CL_IM_RM07KOF2_ALV_DBSYSOPTANY  
Short Description Class for BAdI: RM07KOF2_ALV_DBSYS_OPT    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MB_OPT   Additional application development R/3 inventory management 
Created 20130219   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 IF_MM_IM_MB5K_MAIN Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_RM07KOF2_ALV_DBSYS_OPT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20130219
2 IF_RM07KOF2_ALV_DBSYS_OPT Interface for BAdI: RM07KOF2_ALV_DBSYS_OPT 20130219
Friends
Class CL_IM_RM07KOF2_ALV_DBSYSOPTANY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_TABNAMES Instance attribute Private Type reference (TYPE) T_TABNAMES 20130220
2 GT_TABNAMES Instance attribute Private See coding 20130220
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_TEMPTAB Instance method Private Method Create a global temporary table according to SQL String 20130220
2 GENERATE_PREREQ_OBJECTS Instance method Private Method Main procedure that calls Actual and Previous methods later 20130220
3 MM_IM_MB5K_ACTUAL Instance method Private Method Main procedure that calls Actual and Previous methods later 20130220
4 MM_IM_MB5K_MAIN Instance method Private Method Main procedure that calls Actual and Previous methods later 20130219
5 MM_IM_MB5K_PREVIOUS Instance method Private Method Main procedure that calls Actual and Previous methods later 20130220
6 READ_OUTPUT_TABLES Instance method Private Method Read all OT tables into internal tables 20130221
7 REPLACE_TABNAME Instance method Private Method 20130220
Events
Class CL_IM_RM07KOF2_ALV_DBSYSOPTANY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 IT_MATERIALS_PRIV Private See coding 20130220 it_materials_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>it_materials
2 IT_VALAREAPLANT_PRIV Private See coding 20130220 it_valareaplant_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>it_valareaplant
3 OT_EBEW2_AGG_PRIV Private See coding 20130220 ot_ebew2_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_ebew2_agg
4 OT_EBEW_AGG_PRIV Private See coding 20130220 ot_ebew_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_ebew_agg
5 OT_EBEW_PRIV Private See coding 20130220 ot_ebew_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_ebew
6 OT_INCONS_PRIV Private See coding 20130220 ot_incons_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_incons
7 OT_MARC_PRIV Private See coding 20130220 ot_marc_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_marc
8 OT_MBEW2_AGG_PRIV Private See coding 20130220 ot_mbew2_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mbew2_agg
9 OT_MBEW2_PRIV Private See coding 20130220 ot_mbew2_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mbew2
10 OT_MBEW_AGG_PRIV Private See coding 20130220 ot_mbew_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mbew_agg
11 OT_MBEW_PRIV Private See coding 20130220 ot_mbew_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mbew
12 OT_MSSA_PRIV Private See coding 20130220 ot_mssa_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mssa
13 OT_MSSQ_PRIV Private See coding 20130220 ot_mssq_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_mssq
14 OT_QBEW2_AGG_PRIV Private See coding 20130220 ot_qbew2_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_qbew2_agg
15 OT_QBEW_AGG_PRIV Private See coding 20130220 ot_qbew_agg_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_qbew_agg
16 OT_QBEW_PRIV Private See coding 20130220 ot_qbew_priv TYPE STANDARD TABLE OF if_mm_im_mb5k_main=>ot_qbew
17 T_MATERIALS Private Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IT_MATERIALS 20130221
18 T_TABNAMES Private See coding 20130220 begin of t_tabnames, tabname(29) type c, fulltabname(256) type c, ref_to_temptab type ref to if_sqlport_temptable, end of t_tabnames
19 T_VALAREAPLANT Private Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IT_VALAREAPLANT 20130221
Method Signatures

Method CREATE_TEMPTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROWS Call by reference Type reference (TYPE) TABLE 20130425
2 Importing IV_STMT Call by reference Type reference (TYPE) STRING 20130220
3 Importing IV_TIN Call by reference Type reference (TYPE) CHAR29 Table Name 20130220
4 Exporting OV_TOUT Call by reference Type reference (TYPE) STRING 20130220
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method GENERATE_PREREQ_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MATERIALS Call by reference Type reference (TYPE) IT_MATERIALS_PRIV Client ID of Current User 20130220
2 Importing IT_VALAREAPLANT Call by reference Type reference (TYPE) IT_VALAREAPLANT_PRIV Client ID of Current User 20130220
3 Importing IV_CLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20130220
4 Importing IV_MATERIALSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MATERIALSELECTION 20130220
5 Importing IV_MONTH Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MONTH 20130220
6 Importing IV_VALAREAPLANTSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_VALAREAPLANTSELECTION 20130220
7 Importing IV_YEAR Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_YEAR 20130220
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method MM_IM_MB5K_ACTUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MATERIALS Call by reference Type reference (TYPE) IT_MATERIALS_PRIV Client ID of Current User 20130220
2 Importing IT_VALAREAPLANT Call by reference Type reference (TYPE) IT_VALAREAPLANT_PRIV Client ID of Current User 20130220
3 Importing IV_CLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20130220
4 Importing IV_MATERIALSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MATERIALSELECTION 20130220
5 Importing IV_MONTH Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MONTH 20130220
6 Importing IV_VALAREAPLANTSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_VALAREAPLANTSELECTION 20130220
7 Importing IV_YEAR Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_YEAR 20130220
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method MM_IM_MB5K_MAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MATERIALS Call by reference Type reference (TYPE) IT_MATERIALS_PRIV Client ID of Current User 20130219
2 Importing IT_VALAREAPLANT Call by reference Type reference (TYPE) IT_VALAREAPLANT_PRIV Client ID of Current User 20130219
3 Importing IV_ACTUALPERIOD Call by reference Type reference (TYPE) ABAP_BOOL 20130219
4 Importing IV_CLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20130219
5 Importing IV_MATERIALSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MATERIALSELECTION 20130219
6 Importing IV_MONTH Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MONTH 20130219
7 Importing IV_VALAREAPLANTSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_VALAREAPLANTSELECTION 20130219
8 Importing IV_YEAR Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_YEAR 20130219
9 Exporting OT_EBEW Call by reference Type reference (TYPE) OT_EBEW_PRIV 20130220
10 Exporting OT_EBEW2_AGG Call by reference Type reference (TYPE) OT_EBEW2_AGG_PRIV 20130220
11 Exporting OT_EBEW_AGG Call by reference Type reference (TYPE) OT_EBEW_AGG_PRIV 20130220
12 Exporting OT_INCONS Call by reference Type reference (TYPE) OT_INCONS_PRIV 20130220
13 Exporting OT_MARC Call by reference Type reference (TYPE) OT_MARC_PRIV 20130220
14 Exporting OT_MBEW Call by reference Type reference (TYPE) OT_MBEW_PRIV 20130220
15 Exporting OT_MBEW2 Call by reference Type reference (TYPE) OT_MBEW2_PRIV 20130220
16 Exporting OT_MBEW2_AGG Call by reference Type reference (TYPE) OT_MBEW2_AGG_PRIV 20130220
17 Exporting OT_MBEW_AGG Call by reference Type reference (TYPE) OT_MBEW_AGG_PRIV 20130220
18 Exporting OT_MSSA Call by reference Type reference (TYPE) OT_MSSA_PRIV 20130220
19 Exporting OT_MSSQ Call by reference Type reference (TYPE) OT_MSSQ_PRIV 20130220
20 Exporting OT_QBEW Call by reference Type reference (TYPE) OT_QBEW_PRIV 20130220
21 Exporting OT_QBEW2_AGG Call by reference Type reference (TYPE) OT_QBEW2_AGG_PRIV 20130220
22 Exporting OT_QBEW_AGG Call by reference Type reference (TYPE) OT_QBEW_AGG_PRIV 20130220
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method MM_IM_MB5K_PREVIOUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MATERIALS Call by reference Type reference (TYPE) IT_MATERIALS_PRIV Client ID of Current User 20130220
2 Importing IT_VALAREAPLANT Call by reference Type reference (TYPE) IT_VALAREAPLANT_PRIV Client ID of Current User 20130220
3 Importing IV_CLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20130220
4 Importing IV_MATERIALSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MATERIALSELECTION 20130220
5 Importing IV_MONTH Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_MONTH 20130220
6 Importing IV_VALAREAPLANTSELECTION Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_VALAREAPLANTSELECTION 20130220
7 Importing IV_YEAR Call by reference Type reference (TYPE) IF_MM_IM_MB5K_MAIN=>IV_YEAR 20130220
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method READ_OUTPUT_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting OT_EBEW Call by reference Type reference (TYPE) OT_EBEW_PRIV 20130221
2 Exporting OT_EBEW2_AGG Call by reference Type reference (TYPE) OT_EBEW2_AGG_PRIV 20130221
3 Exporting OT_EBEW_AGG Call by reference Type reference (TYPE) OT_EBEW_AGG_PRIV 20130221
4 Exporting OT_INCONS Call by reference Type reference (TYPE) OT_INCONS_PRIV 20130221
5 Exporting OT_MARC Call by reference Type reference (TYPE) OT_MARC_PRIV 20130221
6 Exporting OT_MBEW Call by reference Type reference (TYPE) OT_MBEW_PRIV 20130221
7 Exporting OT_MBEW2 Call by reference Type reference (TYPE) OT_MBEW2_PRIV 20130221
8 Exporting OT_MBEW2_AGG Call by reference Type reference (TYPE) OT_MBEW2_AGG_PRIV 20130221
9 Exporting OT_MBEW_AGG Call by reference Type reference (TYPE) OT_MBEW_AGG_PRIV 20130221
10 Exporting OT_MSSA Call by reference Type reference (TYPE) OT_MSSA_PRIV 20130221
11 Exporting OT_MSSQ Call by reference Type reference (TYPE) OT_MSSQ_PRIV 20130221
12 Exporting OT_QBEW Call by reference Type reference (TYPE) OT_QBEW_PRIV 20130221
13 Exporting OT_QBEW2_AGG Call by reference Type reference (TYPE) OT_QBEW2_AGG_PRIV 20130221
14 Exporting OT_QBEW_AGG Call by reference Type reference (TYPE) OT_QBEW_AGG_PRIV 20130221
# Exception Resumable Description Created on
1 CX_SQLPORT_NOTPORTED Functionality Not Ported 20130425
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20130425

Method REPLACE_TABNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIN Call by reference Type reference (TYPE) STRING 20130220
2 Changing OV_STMT Call by reference Type reference (TYPE) STRING 20130220

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