SAP ABAP Class CL_CMM_MTM_MM_PURCHASING (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_MM_PURCHASING  
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 20120910   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_MM_PURCHASING has no interface implemented.
Friends
Class CL_CMM_MTM_MM_PURCHASING 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 20120910
2 GS_DS_ACTIVE Static Attribute Private Type reference (TYPE) GTYS_DS_ACTIVE 20121012
3 GS_TABIX_INIT Static Attribute Private Type reference (TYPE) GTYS_TABIX_INIT 20130417
4 GT_MTM_PO_INIT Static Attribute Private Type reference (TYPE) GTYT_MTM_PO 20121101
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACTIVE_DATASOURCE Static method Public Method 20121012
2 EXTRACT_MTM_DELTA Static method Public Method 20120910
3 EXTRACT_MTM_DELTA_FOR_INV Static method Public Method 20121004
4 INSERT_INITIALIZATION_LINE Static method Public Method 20121101
Events
Class CL_CMM_MTM_MM_PURCHASING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYS_DS_ACTIVE Private See coding 20121012 BEGIN OF gtys_ds_active, init_ok TYPE abap_bool, ds_po_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, ebeln TYPE ekko-ebeln, tabix TYPE sy-tabix, END OF gtys_tabix_init
3 GTYT_MTM_PO Public See coding 20121101 GTYT_MTM_PO type standard table of cmm_mtm_extr_po
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_PO_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20121012
3 Exporting EV_DS_TC_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20121012

Method CHECK_ACTIVE_DATASOURCE on class CL_CMM_MTM_MM_PURCHASING has no exception.

Method EXTRACT_MTM_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20120910
2 Importing IT_EKET Call by reference Type reference (TYPE) MMPUR_BEKET Table Type BEKET 20121004
3 Importing IT_EKPO Call by reference Type reference (TYPE) MMPUR_BEKPO Table Type UEKPO 20120910
4 Importing IT_KOMK Call by reference Type reference (TYPE) VA_KOMK_T Communication Header for Pricing 20120910
5 Importing IT_KOMP Call by reference Type reference (TYPE) VA_KOMP_T Communication Item for Pricing 20120910
6 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20120910
7 Importing IV_TRTYP Call by reference Type reference (TYPE) C 20120910

Method EXTRACT_MTM_DELTA on class CL_CMM_MTM_MM_PURCHASING 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 IS_RBKP Call by reference Type reference (TYPE) RBKP Document Header: Invoice Receipt 20121004
2 Importing IT_MRMRSEG Call by reference Type reference (TYPE) MRM_TAB_MRMRSEG 20121004

Method EXTRACT_MTM_DELTA_FOR_INV on class CL_CMM_MTM_MM_PURCHASING 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_PO Call by reference Type reference (TYPE) GTYT_MTM_PO 20121101
2 Importing IS_MTM_PO Call by reference Type reference (TYPE) CMM_MTM_EXTR_PO MTM Extractor Structure for Purchase Orders 20121101

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