SAP ABAP IMG Activity BADI_CMM_INDEX (BAdI: Index Relevance and Maintenance for Commodity Management)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM (Application Component) Commodity Management in Logistics
     LOG_CMM_IMG (Package) Commodity Management IMG Objects
IMG Activity
ID BADI_CMM_INDEX BAdI: Index Relevance and Maintenance for Commodity Management  
Transaction Code S_EBJ_98000221   (empty) 
Created on 20130110    
Customizing Attributes BADI_CMM_INDEX   BAdI: Index Relevance and Maintenance for Commodity Management 
Customizing Activity BADI_CMM_INDEX   BAdI: Index Relevance and Maintenance for Commodity Management 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CMM_INDEX    

Use

This Business Add-In (BAdI) is used in the Commodity Management in Logistics (LO-CMM) component. You can use this BAdI to control which object and which item is relevant for each consumer for adding into the index. Default consumers are Period-End Valuation or Revaluation of Logistics Documents. Thus, you can control the registration of index entries, you can delete entries, or you can enhance the index entry. The BAdI is called in each CHECK_RELEVANCE method of the service application programming interface (API) and in the main method of the index maintaining API.

You can use the following BAdI methods:

  • Check relevance methods:
    • CHECK_RELEVANCE_DLV (Check Relevance for Deliveries with Goods Issue)
    • You can use this BAdI method to execute your own logic for checking the relevance of deliveries with goods issue.
    • CHECK_RELEVANCE_GR (Check Relevance for Goods Receipts)
    • You can use this BAdI method to execute your own logic for checking the relevance for goods receipts.
    • CHECK_RELEVANCE_PURCH_DOC (Check Relevance for Purchase Documents )
    • You can use this BAdI method to execute your own logic for checking the relevance for purchase documents.
    • CHECK_RELEVANCE_SALES_DOC (Check Relevance for Sales Documents)
    • You can use this BAdI method to execute your own logic for checking the relevance for sales documents.

      Note:

    • The changing parameter CT_RELEVANCE (Index: Standard Table of CMM_S_IDX_CONSUMER_RELEVANCE) contains the standard relevance check result for each default consumer. You can overwrite this result with your own logic.
    • The import parameter IS_INDEX (Commodity Management: Index Table) represents the index entry in the form in which the system saves the index entry to the database.
  • ENHANCE_ENTRY (Enhance an Index Entry)

    You can use this BAdI method to execute your own logic for enhancing an index entry.

    Note:
    The import parameter CS_INDEX_ENTRY (Commodity Management: Index Table) represents the index entry in the form in which the system saves the index entry to the database.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

Example

See also

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_CMM_INDEX 0 HLA0009510 O HLA0009600  
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130110 
SAP Release Created in 617