SAP ABAP IMG Activity MPKC_REQ_SELECTION (BAdI: Consider Additional Requirements in Kanban Calculation)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MD05 (Package) Development class KANBAN
IMG Activity
ID MPKC_REQ_SELECTION BAdI: Consider Additional Requirements in Kanban Calculation  
Transaction Code S_KA5_12001382   (empty) 
Created on 20021220    
Customizing Attributes MPKC_REQ_SELECTION   BAdI: Consider Additional Requirements in Kanban Calculation 
Customizing Activity MPKC_REQ_SELECTION   BAdI: Consider Additional Requirements in Kanban Calculation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MPKC_REQ_SELECTION    

Use

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.

Requirements

Standard settings

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

Activities

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.

Example

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

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 MPKC_REQ_SELECTION 0 HLA0006760 KANBAN 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030120 
SAP Release Created in 470