Ansicht
Dokumentation

BADI_EAMS_JOBLIST - BAdI: Job List Enhancements

BADI_EAMS_JOBLIST - BAdI: Job List Enhancements

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Plant Maintenance (PM) component.

You can use this Business Add-In (BAdI) to enhance the job listin the Maintenance Worker role. You can, for example, make additional criteria available for defining the job list query, specify how the values of certain fields in the job list are determined, and extend the field catalog of the POWL list.

  • In the standard system, the BAdI implementation EAMS_JOBLIST_DEFAULT is active. The default code is executed automatically.
  • This BAdI is designed for single use.
  • This BAdI is not filter dependent.

The default implementation contains sample code for the DETERMINE_URGENCY method only. This implementation determines the urgency of a job based on job priority and how much time is left until its required completion. Both of these values are taken from the back-end maintenance order or notification on which the job is based (reference document).

Jobs whose reference document has a higher priority are more urgent than those with a lower priority as shown in the following table:

Priority   High Urgency   Medium Urgency   Low Urgency
Very High   4hrs to end   5hrs to end   >5hrs to end
High   3hrs to end   4hrs to end   >4hrs to end
Medium   2hrs to end   3hrs to end   >3hrs to end
Low   1hr to end   2hrs to end   >2hrs to end

Based on the urgency determined, the following icons and tooltips are displayed:

Urgency   Icon   Tooltip
1 (High)   Red LED   High Urgency
2 (Medium)   Yellow LED   Medium Urgency
3 or 4 (Low)   Green LED   Low Urgency
0 or other value   Unknown Status   High Urgency

So, for example, a job with priority Very High that must be completed within 4 hours is highly urgent and receives a red traffic light; a job with priority Very High but that doesn't have to be completed within the next 5 hours is of medium urgency and receives a green traffic light.

You can enhance this BAdI with additional fields to be included in the calculation of urgency.

 

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.

 

For more information, see the BAdI method documentation:






PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 6705 Date: 20240607 Time: 201835     sap01-206 ( 113 ms )