SAP ABAP IMG Activity MMDA_PUR_CGR (BAdI: Produced Activity (Delivery of Confirmations))
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM (Application Component) Materials Management
     MMDA (Package) Data Provisioning for Real Time Reporting in MM
IMG Activity
ID MMDA_PUR_CGR BAdI: Produced Activity (Delivery of Confirmations)  
Transaction Code S_EBS_44000391   (empty) 
Created on 20110209    
Customizing Attributes MMDA_PUR_CGR   BAdi: Produced Activity (Delivery of Confirmations) 
Customizing Activity MMDA_PUR_CGR   BAdi: Produced Activity (Delivery of Confirmations) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MMDA_PUR_CGR    

Use

This Business Add-In (BAdI) is used in Purchasing Analysis to enhance the features for retrieving produced activity (delivery of confirmations) details in the Materials Management (MM) component. You use this BAdI to enhance the extraction process of the 0MM_PUR_PO_CGR DataSource by adding new fields to the MMDA_PUR_S_PO_CGR extract structure.

This BAdI is called from the GET_CGR_SGR_SCN method of the CL_MM_PUR_PO_BWEXTRACT class, which is called for extracting CGR data by the extractor function module of this DataSource.

You must carry out the following steps if you want to enhance the business use in the BAdI implementation:

  1. Add new custom-defined fields to the MMDA_PUR_S_PO_CGR extract structure.
  2. In transaction RSA2, change the 0MM_PUR_PO_CGR DataSource and specify the new custom fields as input
    (X) or display fields (blank).
  3. Save the DataSource.
  4. Use the BAdI method EXTRACT_CGR of interface IF_EX_MMDA_PUR_CGR to enhance the business use in the BAdI implementation.

The BAdI Method EXTRACT_CGR is associated with this BAdI. The following are the parameters that are transferred with this method that require additional information:

Changing Parameters

  • CT_CGR: Table type for CGR

Standard settings

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

Activities

Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes section.

The following example implementation is available:

  • CL_EXM_MMDA_PUR_CGR

    This example implementation class is designed to show how to change the output of the DataSource using the EXTRACT_CGR BAdI method.

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 MMDA_PUR_CGR 0 HLA0009512 Purchasing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110210 
SAP Release Created in 606