SAP ABAP Class CL_CMM_MTM_SD_SALES (Integration of MtM Update in PO Proc.)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM-BF (Application Component) Basic Functions
     LOG_CMM_ANALYTICS (Package) Analytics for Commodity Managements
Properties
Class CL_CMM_MTM_SD_SALES  
Short Description Integration of MtM Update in PO Proc.    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package LOG_CMM_ANALYTICS   Analytics for Commodity Managements 
Created 20121107   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 MRM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CMM_MTM_SD_SALES has no interface implemented.
Friends
Class CL_CMM_MTM_SD_SALES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GR_CMM_MTM_EXTR Static Attribute Private Object reference (TYPE REF TO) CL_CMM_MTM_EXTR Core logic for MTM extraction 20121107
2 GS_DS_ACTIVE Static Attribute Private Type reference (TYPE) GTYS_DS_ACTIVE 20121107
3 GS_TABIX_INIT Static Attribute Private Type reference (TYPE) GTYS_TABIX_INIT 20130417
4 GT_MTM_SO_INIT Static Attribute Private Type reference (TYPE) GTYT_MTM_SO 20121107
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACTIVE_DATASOURCE Static method Public Method 20121107
2 EXTRACT_MTM_DELTA Static method Public Method 20121107
3 EXTRACT_MTM_DELTA_FOR_INV Static method Public Method 20121107
4 INSERT_INITIALIZATION_LINE Static method Public Method 20121107
Events
Class CL_CMM_MTM_SD_SALES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYS_DS_ACTIVE Private See coding 20121107 BEGIN OF gtys_ds_active, init_ok TYPE abap_bool, ds_so_active TYPE abap_bool, ds_tc_active TYPE abap_bool, ds_common_active TYPE abap_bool, END OF gtys_ds_active
2 GTYS_TABIX_INIT Private See coding 20130417 BEGIN OF gtys_tabix_init, vbeln TYPE vbak-vbeln, tabix TYPE sy-tabix, END OF gtys_tabix_init
3 GTYT_MTM_SO Public See coding 20121107 gtyt_mtm_so TYPE STANDARD TABLE OF cmm_mtm_extr_so
Method Signatures

Method CHECK_ACTIVE_DATASOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DS_COMMON_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20130222
2 Exporting EV_DS_SO_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20121107
3 Exporting EV_DS_TC_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20121107

Method CHECK_ACTIVE_DATASOURCE on class CL_CMM_MTM_SD_SALES has no exception.

Method EXTRACT_MTM_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FKOMK Call by reference Type reference (TYPE) KOMK Communication Header for Pricing 20130117
2 Importing FVBAK Call by reference Type reference (TYPE) VBAK Sales Document: Header Data 20121107
3 Importing FXKOMV Call by reference Type reference (TYPE) VA_KOMV_T Table for structure KOMV 20121107
4 Importing FXVBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20121107
5 Importing FXVBUP Call by reference Type reference (TYPE) VA_VBUPVB_T Table for structure VBUPVB 20121107
6 Importing FYVBAK Call by reference Type reference (TYPE) VBAK Sales Document: Header Data 20121107
7 Importing F_UPDKZ Call by reference Type reference (TYPE) UPDKZ_D Update indicator 20121107
8 Importing TKOMP Call by reference Type reference (TYPE) VA_KOMP_T Table via KOMP 20130117

Method EXTRACT_MTM_DELTA on class CL_CMM_MTM_SD_SALES has no exception.

Method EXTRACT_MTM_DELTA_FOR_INV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FXVBRK Call by reference Type reference (TYPE) VBRKVB_T Document Header: Invoice Receipt 20121107
2 Importing FXVBRP Call by reference Type reference (TYPE) VBRPVB_T Billing Item Data 20121107

Method EXTRACT_MTM_DELTA_FOR_INV on class CL_CMM_MTM_SD_SALES has no exception.

Method INSERT_INITIALIZATION_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MTM_SO Call by reference Type reference (TYPE) GTYT_MTM_SO 20121107
2 Importing IS_MTM_SO Call by reference Type reference (TYPE) CMM_MTM_EXTR_SO 20121107

Method INSERT_INITIALIZATION_LINE on class CL_CMM_MTM_SD_SALES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617