Human Capital Management Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
307

In this blog, I want to share a simple yet impactful customization aimed at improving the visibility of asset status at a glance.

As part of a broader initiative to manage all company assets efficiently, we implemented a custom MDF (Metadata Framework) solution. One key requirement was to track whether an asset is currently active with a user. For this purpose, we created a picklist field with the values Yes and No to indicate the asset's status.

While functional, I wanted to take it a step further and add real business value by making the interface more intuitive. That’s when I came up with the idea of visually highlighting the status values — green for Active (Yes), and red for Inactive (No). This simple visual cue allows users to understand the status of an asset instantly, without needing to read each value, thereby improving usability and efficiency.

Let’s dive into the configuration details!

Step 1 : Begin by creating three fields:

  1. Is Asset Active? – A picklist field with values Yes and No to capture the asset’s current status.

  2. Asset Status - Active – A string field that will display the text Active when the asset is in use.

  3. Asset Status - Inactive – A string field that will display the text Inactive when the asset is not in use.

The reason for creating two separate string fields for displaying the status is to apply distinct conditional formatting for each scenario. This allows us to color-code the statuses individually — for example, applying a green highlight for the Active field and a red highlight for the Inactive field — which wouldn't be possible using a single field because currently single field doesnot support Dynamic Styling.

Step 2 : Create a UI Rule in Manage Configuration UI , which will set the value of the others two fields as active and inactive.Please find the Screenshots below of the rule and also the Stylings set for this field

muralidharansrinivasan_0-1746809784320.png

muralidharansrinivasan_2-1746809856622.png

 

muralidharansrinivasan_0-1746812064815.png

The Font color of the Field 1 (Asset Status - Active) is set to custom1 and custom1 color is set to green so values in the field will be green in color in the UI.

muralidharansrinivasan_3-1746943154075.png

The Font color of the Field 2 (Asset Status - Inactive) is set to Alert and Alert color is set to Red so values in the field will be Red in color in the UI.

How to set Color of the Fields?

Theme Manager - > Fine Tune -> Portlets 

The Following rule will set the Asset Status fields to active or inactive based on the Other field (Active/Inactive) and also control the visibility of the fields while creating records.However , we have a limitation currently where the vibisility of the fields cannot be controlled in the Portlet as mentioned in the below mentioned KBA

2540412 - UI Rule to Set visibility for field based on a separate field selection

Also , I tried setting the condition value which doesnt work as expected , when condition values are set the style is not respected and shows the field value in body text color when introspected the fields donot appear in the Manage Configuration UI when condition values are set.The Same has been confirmed by SAP Engineering Team that Manage Configuration UI is in maintenance mode and currently no new additions are added , so we cant expect this to be resolved anytime soon!

Now , Lets see the magic in action!

muralidharansrinivasan_0-1746944020116.png

 

muralidharansrinivasan_1-1746944034688.png

 

Here , The Solution works perfect except for the visibility of another Asset Status field which cannot be hidden due to the current limitations by the SAP (hope they come up with an action plan for it soon).

Conclusion :

In a nutshell, this is a very creative configuration which will add real value to the Business.This may look simple but holds so much value where records can be identified with a Glance!

Feel Free to Drop your thoughts / Comments , I am open for any Suggestions