Ansicht
Dokumentation

COCF_MANDASH_CAPTAB - BAdI: Enhancements for Capacity Tab - Mfg Dashboard

COCF_MANDASH_CAPTAB - BAdI: Enhancements for Capacity Tab - Mfg Dashboard

Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Production Orders (PP-SFC) component to enhance:

  • Capacity tab of the manufacturing dashboard application.
  • Logic to fetch capacity and operation details for work centers in the method GET_OBJECTS of feeder class CL_MANDASH_FEEDER_CAPACITY using the method GET_OBJECTS.
  • DataSources 0PP_MD_CAPACITY_REQ and 0PP_MD_CAPACITY_OPS by adding new fields to the structures COCF_MD_S_CAPACITY_REQ and COCF_MD_S_CAP_OPS_DETAILS respectively.
  • Add new selection criteria in method GET_OBJECTS of feeder class CL_MANDASH_FEEDER_CAPACITY using the method SET_SELCRIT_VALUES.
  • In the standard system, there is no activated BAdI implementation.
  • The BAdI is filter-dependent.
  • The BAdI is designed for multiple uses.

To enhance/modify the existing output of the DataSources, do the following:

  1. Append new custom-defined fields to the extract structures and change the DataSources accordingly. The following table shows the extract structures and the relevant DataSources:
Extract Structures DataSources
COCF_MD_S_CAPACITY_REQ 0PP_MD_CAPACITY_REQ
COCF_MD_S_CAP_OPS_DETAILS 0PP_MD_CAPACITY_OPS

  1. Specify the new custom fields as input (X) or display fields (blank)
  2. Save the DataSources.
  3. Create an Enhancement implementation of the Business Add-In.
  4. Implement the following methods:
  • SET_SELCRIT_VALUES

  • GET_OBJECTS

  • GET_CAP_REQ

  • GET_CAP_OPS

  1. Add business logic in methods SET_SELCRIT_VALUES and GET_OBJECTS to enhance the functionality of feeder class CL_MANDASH_FEEDER_CAPACITY.
  2. Add business logic in methods GET_CAP_REQ and GET_CAP_OPS to fill customer fields in the extract structures COCF_MD_S_CAPACITY_REQ and COCF_MD_S_CAP_OPS_DETAILS.
COCF_MD_S_CAP_OPS_DETAILS

See documentation for the BAdI interface IF_EX_COCF_MANDASH_CAPTAB.






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 2777 Date: 20240523 Time: 152149     sap01-206 ( 30 ms )