Ansicht
Dokumentation

MPKC_REQ_SELECTION - BAdI: Consider Additional Requirements in Kanban Calculation

MPKC_REQ_SELECTION - BAdI: Consider Additional Requirements in Kanban Calculation

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the KANBAN(PP-KAB) component.

Using this BAdI, you can include additional requirements such as planned independent reqirements in the automatic kanban calculation.

The Business Add-In is not active in the standard system.

Implement the BAdI method GET_ADDITIONAL_REQUIREMENTS.

Add your requirements records to table PKSBX.

Description of the interface parameter of the BAdI Method GET_ADDITIONAL_REQUIREMENTS:

Import Parameter:

  • WERKS:Plant of the current control cycle
  • PRVBE:Supply area of the current control cycle
  • MATNR:Material number of the current control cycle
  • KCVDT:First day of the period of examination of the kanban calculation
  • KCBDT:Last day of period of examination of the kanban calculation
  • PLSCN:Planning scenario of long-term planning
    (PLSCN = '000' means kanban calculation on basis of requirements from material requirements planning
    PLSCN <> '000' means kanban calculation on basis of requirements from long-term planning)

Changing Parameter:

  • PKSBX
    Table with the already selected dependent requirements records for the current control cycle. Complete the table with the additional requirements records that you calculated.

The same rules apply to the requirements records you specified as apply for the dependent requirements of the standard selection. The requirements records are only included in the kanban calculation if plant, supply area and material correspond to the control cycle or if the requirements record fulfils the selection conditions in the Extended dependent requirements selection for the control cycle.

You implement this function module if you want to include planned independent requirements in the automatic kanban calculation, for example.






BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2450 Date: 20240523 Time: 221441     sap01-206 ( 41 ms )