Ansicht
Dokumentation

BADI_PS_DTE_EXCEPTN - BAdI: Additional Conditions for Dates Exception

BADI_PS_DTE_EXCEPTN - BAdI: Additional Conditions for Dates Exception

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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

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

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classessection.

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.

BAdI method documentation:






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

Length: 4014 Date: 20240523 Time: 225101     sap01-206 ( 113 ms )