Ansicht
Dokumentation

BADI_GPD_PEG_SCRAP - BAdI: Pegging of Scrap

BADI_GPD_PEG_SCRAP - BAdI: Pegging of Scrap

General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Grouping, Pegging, and Distribution (GPD) (IS-AD-GPD) component. You can use this BAdI to implement customer-specific methods for the distribution of scrap. The BAdI is called during pegging for every LMG combination.

  • In the standard set-up this BAdI is activated.
  • The default code is executed automatically when there is no active customer implementation.
  • The BAdI is neither filter-dependent nor multiple use.

This BAdI is implemented using the default implementation class CL_EX_BADI_GPD_PEG_SCRAP. This class contains the following method:

PEG_SCRAP (Called during the pegging run).

Importing parameters:

  • IT_HIST_ASS,,Assignment Table
  • IS_PEG_RUNPROF,,Pegging run profile
  • IT_PEG_EXC_WERKS,,Pegging: Exception handling plant based
  • IT_PEG_EXC_GRPNR,,Pegging: Exception handling group based
  • IT_PEGEXC_WRK_GRP,,Pegging: Exception handling- plant and group based
  • I_LMG,,Pegging: MRP Low level code, Material, group WBS struct
  • IV_PEGPASS,,Current Pegging pass number
  • IV_FIN_PASS,,Final pass

Changing parameters:

  • CT_REPLEN,,Assignment Table
  • CT_REAL_ASS,,Assignment Table

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 2478 Date: 20240524 Time: 005425     sap01-206 ( 99 ms )