Ansicht
Dokumentation

MMDA_PUR_SGR - BAdI: Produced Activity (Delivery of Schedule Lines)

MMDA_PUR_SGR - BAdI: Produced Activity (Delivery of Schedule Lines)

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Purchasing Analysis to enhance the features for retrieving Produced Activity (Delivery of Schedule Lines) details in purchasing documents in the (MM) component. You use this BAdI to enhance the functionality of the 0MM_PUR_PO_SGRDataSource by adding new fields to the MMDA_PUR_S_PO_SGRextract structure.

This BAdI is called from the GET_CGR_SGR_SCNmethod of the CL_MM_PUR_PO_BWEXTRACTclass, which is eventually called for extracting SGR 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_SGRextract structure.
  2. In transaction RSA2, change the 0MM_PUR_PO_SGRDataSource and specify the new custom fields as input
    (X) or display fields (blank).
  3. Save the DataSource.
  4. Use the BAdI method EXTRACT_SGRof interface IF_EX_MMDA_PUR_SGRto enhance the business use in the BAdI implementation.

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

Changing Parameters

  • CT_SGR: Table type for SGR

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).

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.

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classessection.

The following example implementation is available:

  • CL_EXM_MMDA_PUR_SGR
This example implementation class is designed to show how to change the output of the DataSource using the EXTRACT_SGRBAdI method.






General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2806 Date: 20240523 Time: 192426     sap01-206 ( 47 ms )