SAP ABAP Class CL_BADI_CRM_MKTPL_PURCHASE (Class for BAdI Impl.: CRM_MKTPL_PURCHASE_IMPL)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR (Application Component) Purchasing
     CRM_MKTPL_PURCHASE_INTEGRATION (Package) Purchase process integration for marketing objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_CRM_MKTPL_PURCHASE Interface for BAdI: CRM_MKTPL_PURCHASE 20071121
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20071121
Properties
Class CL_BADI_CRM_MKTPL_PURCHASE  
Short Description Class for BAdI Impl.: CRM_MKTPL_PURCHASE_IMPL    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CRM_MKTPL_PURCHASE_INTEGRATION   Purchase process integration for marketing objects 
Created 20071121   SAP 
Last change 20110908   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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_CRM_MKTPL_PURCHASE Interface for BAdI: CRM_MKTPL_PURCHASE 20071121
2 IF_BADI_INTERFACE Tag Interface for BAdIs 20071121
Friends
Class CL_BADI_CRM_MKTPL_PURCHASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CC_STATUS_DELETED_IN_ERP Constant Private Type reference (TYPE) CHAR1 'D' Status for PR items which are deleted on ERP side 20080117
2 CC_STATUS_DELIVERY_COMPLET Constant Private Type reference (TYPE) CHAR1 'A' Status for PO delivery completed 20080117
3 CC_STATUS_DEL_AND_IN_COMPLET Constant Private Type reference (TYPE) CHAR1 'L' Status for PO final invoice recieved and delivery completed 20080117
4 CC_STATUS_INVOICE_COMPLET Constant Private Type reference (TYPE) CHAR1 'K' Status for PO final invoice recieved 20080117
5 CREF_PO Instance attribute Private Object reference (TYPE REF TO) CL_PO_HEADER_HANDLE_MM Handle of a Purchasing Document 20080117
6 CV_PO_NUMBER Instance attribute Private Type reference (TYPE) EBELN Purchasing Document Number 20080117
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CHANGED_DATE Instance method Private Method Compare the changed dates, update date in mapping table 20071210
2 GET_PURCHASE_ORDER_STATUS Instance method Private Method Read the status of a purchase order 20071214
Events
Class CL_BADI_CRM_MKTPL_PURCHASE has no event.
Types
Class CL_BADI_CRM_MKTPL_PURCHASE has no local type.
Method Signatures

Method CHECK_CHANGED_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_IS_CHANGED Value transfer Type reference (TYPE) BOOLEAN Indecated that item has been changed 20071210
2 Importing IV_ERDAT Call by reference Type reference (TYPE) AEDAT Changed On 20071210
3 Importing IV_PHEAD_ASSIG_GUID Call by reference Type reference (TYPE) GUID Purchase Requisition header guid 20071210
4 Importing IV_PITEM_ASSIG_GUID Call by reference Type reference (TYPE) GUID Item GUID of Purchase Requisition 20071210

Method CHECK_CHANGED_DATE on class CL_BADI_CRM_MKTPL_PURCHASE has no exception.

Method GET_PURCHASE_ORDER_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ELIKZ Call by reference Type reference (TYPE) ELIKZ "Delivery Completed" Indicator 20080117
2 Exporting EV_EREKZ Call by reference Type reference (TYPE) EREKZ Final Invoice Indicator 20071214
3 Importing IV_PO_ITEM_NUMBER Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20080117
4 Importing IV_PO_NUMBER Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20071214

Method GET_PURCHASE_ORDER_STATUS on class CL_BADI_CRM_MKTPL_PURCHASE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604