SAP ABAP IMG Activity WCCP_CALC_LOSS_TIME (BAdI: Work Center Capacity - Calculate Loss of Time)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM (Application Component) Plant Maintenance
     PMEX (Package) PM: Extraction of Release-independent Objects
IMG Activity
ID WCCP_CALC_LOSS_TIME BAdI: Work Center Capacity - Calculate Loss of Time  
Transaction Code S_EBS_44000523   (empty) 
Created on 20111012    
Customizing Attributes WCCP_CALC_LOSS_TIME   BAdI: Work Center Capacity - Calculate Loss of Time 
Customizing Activity WCCP_CALC_LOSS_TIME   BAdI: Work Center Capacity - Calculate Loss of Time 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_WCCP_CALC_LOSS_OF_TIME    

Use

This Business Add-In (BAdI) is used in the Plant Maintenance (PM) and Customer Service (CS) components in the context of BI Content. You can use it in the function module PMEX_GET_WCCP to extract the DataSource 0PM_WCCP.

The BAdI checks whether the BAdI BADI_WCCP_BREAKDOWN_TIMES has determined downtimes for a work center. To do this, it considers the following tables:

  • T_BREAKDOWNINFO (structure PMWCCP_BREAKDOWN_TIMES), that filled the BAdI BADI_WCCP_BREAKDOWN_TIMES.
  • T_PMWCCCP_BW (structure PMWCCP_BW) with work center capacities

If downtimes were determined, the BAdI determines the relevant shifts and calculates the loss of time for the shift. You can customize the capacity category that it uses to calculate the loss of time for a work center. This is transferred in the BAdI BADI_WCCP_BREAKDOWN_TIMES.

The BAdI uses the method CALC_LOSS_OF_TIME.

Requirements

The BAdI BADI_WCCP_BREAKDOWN_TIMES must already have run.

Standard settings

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

Activities

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

Example

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes area.

The following example implementation exists:

  • WCCP_CALC_LOSS_OF_TIME_SAMPLE

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20111012 
SAP Release Created in 606