Ansicht
Dokumentation

CRMS4_SOM_ALLOW_SEM_ - BAdI: Set Semantic Colors for Allowance UI Application

CRMS4_SOM_ALLOW_SEM_ - BAdI: Set Semantic Colors for Allowance UI Application

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

You use this Business Add-In (BAdI) to make semantic color settings for the following KPIs in the Display AllowancesFiori application:

  • Contract Expires in (Days)
  • Allowance Expires in (Days)
  • Allowance Usage Amount per Contract Item
  • Usage Amount per Allowance

For the Manage Subscription Contract Lifecycle and Manage Subscription Contract Item Details Fiori apps, you use this Business Add-In (BAdI) to make semantic color settings for the following KPIs:

  • Contract Expires in (Days)

The settings for the Contract Expires in (Days) key figure, applies to all the Fiori applications.

The default semantic colors for the Expired Days KPI are set as below. The quotient between the expired days and the total number of days is calculated, and the semantic colors are set depending on this quotient.

  • Quotient between 0 and 5:,,Color Red (1)
  • Quotient between 6 and 9:,,Color Orange (2)
  • Quotient greater equal 10:,,Color Green (3)

The default semantic colors for the Usage Amount KPIs are set as below. The quotient between the usage amount and creation amount is calculated, and the semantic colors are set depending on this quotient.

  • Quotient greater equal 95:,,Color Red (1)
  • Quotient between 85 and 94:,,Color Orange (2)
  • Quotient between 0 and 84:,,Color Green (3)

The following semantic colors are available:

  • Gray = 0, Red = 1, Orange = 2, Green = 3

The following methods are available in this BAdI:

  • SET_ALLWNC_USAGE_AMT_CRITLTY,,
    In this method, you can change the semantic color of the usage amount per allowance.
  • Import Parameter: IV_VALUE(Quotient)

  • Exporting Parameter: EV_CRITICALITY(Semantic color value)

  • SET_ITEM_USAGE_AMT_CRITLTY,,
    In this method, you can change the semantic color of the allowance usage amount per contract item.
  • Import Parameter: IV_VALUE(Quotient)

  • Exporting Parameter: EV_CRITICALITY(Semantic color value)

  • SET_ITEM_EXPRDDAYS_CRITLTY,,
    In this method, you can change the semantic color of the expired days per contract item.
  • Import Parameter: IV_VALUE(Quotient)

  • Exporting Parameter: EV_CRITICALITY(Semantic color value)

  • SET_ALLWNC_EXPRDDAYS_CRITLTY,,
    In this method, you can change the semantic color of the expired days per allowance
  • Import Parameter: IV_VALUE(Quotient)

  • Exporting Parameter: EV_CRITICALITY(Semantic color value)






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3713 Date: 20240523 Time: 174017     sap01-206 ( 38 ms )