SAP ABAP IMG Activity BADI_PHIN_STATUS (BAdI: Takeover Progress Status)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM-EQM-THO (Application Component) Takeover/Handover of Technical Objects
     PHIN (Package) Takeover/Handover of Technical Objects
IMG Activity
ID BADI_PHIN_STATUS BAdI: Takeover Progress Status  
Transaction Code S_E36_82000167   (empty) 
Created on 20070823    
Customizing Attributes BADI_PHIN_STATUS   BAdI: Takeover Progress Status 
Customizing Activity BADI_PHIN_STATUS   BAdI: Takeover Progress Status 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_PHIN_STATUS    

Use

This Business Add.In (BAdI) is used in the Takeover/Handover of Technical Objects (PM-EQM-THO) component.

You can use this BAdI to calculate the overall progress of the takeover from the object status of the technical objects.

This BAdI has the method CALC_OVERALL_PROGRESS.

Basic Rules

  • If consistency and existence status are green, the object status is green
  • If consistency and existence status are red, the object status is red
  • If consistency status is red and existence status is green, the object status is red
  • If consistency status is green and existence status is red, the object status is yellow
  • If consistency status is yellow and existence status is red, the object status is red
  • If consistency status is yellow and existence status is green, the object status is yellow
  • In all other cases, the object status is yellow

Special Rules

The following rules overwrite the basic rules listed above:

  • If the consistency and existence status are green, and if the creation or update statuses are yellow, the object status is yellow
  • If the creation or update statuses are red, the object status is red
  • If the consistency status is grey (inactive LED) and the existence status is red, and if the creation or update statuses are GREY (inactive LED), the object status is red

Requirements

You have selected technical objects in the tree for display in the ALV table. The Progress indicator represents the overall status of the now visible objects.

Standard settings

The BAdI is not filter-dependent.

The BAdI is designed for single use.

BAdI Implementations

There is an active default implementation OVERALL_PROGRESS that calculates the ratio between objects with status 'green' and the total number of displayed objects. This ratio (percentage) is displayed next to the Progress indicator. You can implement your own logic to replace the default implementation if necessary. Refer to the technical documentation of this BAdI for your new implementation.

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

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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 BADI_PHIN_STATUS 0 PRN0000041 Takeover/Handover of Technical Objects 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070823 
SAP Release Created in 603