SAP ABAP IMG Activity BADI_PS_DTE_EXCEPTN (BAdI: Additional Conditions for Dates Exception)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS-ST (Application Component) Structures
     PSB_API (Package) PS API Package
IMG Activity
ID BADI_PS_DTE_EXCEPTN BAdI: Additional Conditions for Dates Exception  
Transaction Code S_EE6_85000093   (empty) 
Created on 20101013    
Customizing Attributes BADI_PS_DTE_EXCEPTN   BAdI: Additional Conditions for Dates Exception 
Customizing Activity BADI_PS_DTE_EXCEPTN   BAdI: Additional Conditions for Dates Exception 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_PS_CUST_DATES_EXCEPTION    

Use

This Business Add-In (BAdI) is used in the Handling Large Projects (PS-HLP) component and is called when you apply exceptions for dates. You can use this BAdI to include additional conditions to the standard function of exceptions for dates.

In the standard function, you can define 2 exceptions in the date overview screen of every object:

Note

In milestones, plant maintenance (PM), and customer service (CS) orders, the exceptions are directly available in the overview screens.   

  • Exception 1

    If any one of the criteria specified by you in Exception 1 is fulfilled for an object, the system displays a red traffic light against this object in the tabular overview.

  • Exception 2

    If any one of the criteria specified by you in Exception 2 is fulfilled for an object, the system displays a yellow traffic light against this object in the tabular overview.

When you implement this BAdI, you can specify additional conditions to be included in either of the 2 exceptions available in the standard function. For example, if milestone X has basic fixed date as exception 1 and delay as exception 2, you can also specify milestone functions as an additional criterion for exception 1 and percentage of completion as an additional criterion for exception 2.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement 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 section.

The following example implementations are available:

  • CL_IMPL_PS_HLP_DATE_EXCEPTION

    With this example implementation, you can apply the following exceptions:

    • Exception 1: The system displays the red traffic signal against all work breakdown structures (WBS) for which the corresponding plant is 0001.
    • Exception 2: The system displays the yellow traffic signal against all work breakdown structures (WBS) for which the corresponding person responsible has a value of 2.

See also

BAdI method documentation:

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  20101013 
SAP Release Created in 606