SAP ABAP Class CL_IM_MM_OM1_COMP_CONS (CL_IM_MM_OM1_COMP_CONS)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-IM (Application Component) Inventory Management
     MM_OM1_SFWS_SC (Package)
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 20080201
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_ME_PROCESS_PO BAdI Interface IF_EX_ME_PROCESS_PO 20080201
Properties
Class CL_IM_MM_OM1_COMP_CONS  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MM_OM1_SFWS_SC    
Created 20080201   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 MMMFD 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 20080201
2 IF_EX_ME_PROCESS_PO BAdI Interface IF_EX_ME_PROCESS_PO 20080201
Friends
Class CL_IM_MM_OM1_COMP_CONS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_ACCOUNTING_EXT Instance attribute Private See coding 20080201
2 GT_ITEMS Instance attribute Private See coding 20080219
3 GT_REGISTERED_ITEMS Static Attribute Private Type reference (TYPE) TYPE_T_INSTANCES 20101116
4 GV_STRING Static Attribute Private Type reference (TYPE) TYPE_DOC_KEY String Comprising Document Number and Item 20101116
5 MC_MMCNT_CO_ORDER Constant Private Type reference (TYPE) MMPUR_CONTEXT 39 Context 20080606
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ELIKZ Instance method Private Method Set CO Order Status If ELIKZ Changes 20090610
2 DEL_AUFNR Instance method Private Method Delete Order if Purchase Order Item Is Deleted 20080702
3 GET_KNTTP Instance method Private Method Read Account Assignment Category with KZVBR = A 20080523
4 IS_IAOM_ACTIVE Instance method Private Method Check Whether CO Production Order Account Assignment Exists 20100204
5 IS_RELEVANT Static method Public Method Is the Item Relevant to Timely Consumption 20101116
6 REGISTER_ITEM Instance method Private Method Register Item for Timely Consumption Posting 20101116
7 SCENARIO_ACTIVE Instance method Private Method Check Whether Component Consumption is Active 20080215
8 SET_AUFNR Instance method Private Method 20080219
9 SET_DOCUMENT Static method Public Method Set Current Document Number and Document Item 20101116
10 SET_KNTTP Instance method Private Method 20080219
Events
Class CL_IM_MM_OM1_COMP_CONS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_ITEM Private See coding 20080219 BEGIN OF lty_item, item TYPE REF TO if_purchase_order_item_mm, knttp_set TYPE boolean, knttp TYPE knttp, END OF lty_item
2 LTY_LINK_ACCOUNTING_EXT Private See coding 20080201 BEGIN OF lty_link_accounting_ext, po_item TYPE REF TO if_purchase_order_item_mm, accounting TYPE REF TO if_purchase_order_account_mm, ext_object_id TYPE iaom_ext_object_id , aufnr TYPE mepoaccounting-aufnr, still_used TYPE mmpur_bool, new_created TYPE mmpur_bool, END OF lty_link_accounting_ext
3 TYPE_DOC_KEY Public See coding 20101116 type_doc_key TYPE c LENGTH 15
4 TYPE_S_INSTANCE Private See coding 20101116 BEGIN OF type_s_instance, "1529121 string TYPE c LENGTH 15, object TYPE REF TO cl_im_mm_om1_comp_cons, END OF type_s_instance
5 TYPE_T_INSTANCES Private See coding 20101116 type_t_instances TYPE SORTED TABLE OF type_s_instance WITH UNIQUE KEY string
Method Signatures

Method CHECK_ELIKZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20090610

Method CHECK_ELIKZ on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method DEL_AUFNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20080702

Method DEL_AUFNR on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method GET_KNTTP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_HEADER Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_MM Bestellkopf externe Sicht 20080603
2 Returning RV_KNTTP Value transfer Type reference (TYPE) KNTTP Kontierungstyp 20080523

Method GET_KNTTP on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method IS_IAOM_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20100204
2 Returning RV_ACTIVE Value transfer Type reference (TYPE) MMPUR_BOOL CO FertAuftag vorhanden 20100204

Method IS_IAOM_ACTIVE on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method IS_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RELEVANT Value transfer Type reference (TYPE) MMPUR_BOOL Relevant für zeitnahe Verbrauchsbuchung 20101116

Method IS_RELEVANT on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method REGISTER_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20101116
2 Importing IV_REGISTER Call by reference Type reference (TYPE) MMPUR_BOOL ABAP_TRUE Registrieren/Deregistrierung 20101116

Method REGISTER_ITEM on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method SCENARIO_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_HEADER_DATA Call by reference Type reference (TYPE) MEPOHEADER Bestellung Kopfdaten 20080702
2 Importing IM_ITEM_DATA Call by reference Type reference (TYPE) MEPOITEM Bestellposition externe Sicht 20080702
3 Returning RV_ACTIVE Value transfer Type reference (TYPE) XFELD Component Consumption ist aktiv 20080702

Method SCENARIO_ACTIVE on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method SET_AUFNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20080219

Method SET_AUFNR on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method SET_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCUMENT Call by reference Type reference (TYPE) EBELN Belegnummer des Einkaufsbelegs 20101116
2 Importing IV_ITEM Call by reference Type reference (TYPE) EBELP Positionsnummer des Einkaufsbelegs 20101116

Method SET_DOCUMENT on class CL_IM_MM_OM1_COMP_CONS has no exception.

Method SET_KNTTP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ITEM Call by reference Object reference (TYPE REF TO) IF_PURCHASE_ORDER_ITEM_MM Bestellposition externe Sicht 20080219

Method SET_KNTTP on class CL_IM_MM_OM1_COMP_CONS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 604