cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Service & Asset Manager 2405 Work Order list Screen Search bar not working as Expected

DivanWellalage
Explorer
0 Likes
226

Hello experts,

We’ve customized the Work Order List screen in our SAP Service and Asset Manager (SSAM) 2405 application for our customer, and we’re facing a search issue.

Here’s what we’ve done:

We modified the WorkOrderObjectCell.fragment for the Work Order list.
In the fragment, we updated the Subhead property as follows:

"Subhead": "{{#Property:HeaderFunctionLocation}} - {{#Property:FunctionalLocation/#Property:FuncLocDesc}} - {{#Property:FunctionalLocation/#Property:Address/#Property:Name}}"

After this change, the subhead correctly displays the desired values on the UI (as shown in the attached imge.jpg).

However, when we use the search bar on the Work Order List screen, the search does not return results based on the HeaderFunctionLocation value.

For example, if we search for a value like 23651 (which is visible in the Subhead for one of the work orders), no results are shown.

What could be the issue here?

Is there any limitation or restriction beyond searching on this property?

Best Regards,

Divan Wellalage

Accepted Solutions (1)

Accepted Solutions (1)

Arunachalam
Product and Topic Expert
Product and Topic Expert

Hi @DivanWellalage,

MDK by default will apply the entity set property mapped as a filter provided it is single property.
In your case, "Subhead" property of ObjectCell is a concatenation of multiple properties.

If you would like to search by HeaderFunctionLocation value and filter the list, you can follow any one of the below approach

  1. In built option: Map single entity set property like "Subhead": "{{#Property:HeaderFunctionLocation}}
  2. Customer option: Add properties of interest to query builder filter in /SAPAssetManager/Rules/WorkOrders/ListView/WorkOrdersListViewQueryOptionWrapper.js

Example of filtering the list based on entity set properties of your choice from target entity set.

CustomSearch.png

Answers (0)