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

SAP RAP Free Search and list sort in Fiori Application

Abhinandan_Dutt
Discoverer
0 Kudos
278

Hello Experts,

While creating a sample RAP application from the SAP Learning course "Building Apps with the ABAP RESTful Application Programming Model

I am caught with 2 issues

1. Free search is not working in the Fiori app. 

Images of BO projection

AD1996_0-1747858233588.png

AD1996_1-1747858250540.png

Fiori Application Data

AD1996_4-1747858424963.png

 

with Free Search

AD1996_3-1747858405373.png

 

 

2. Sorting Order of the List in the Fiori Application

AD1996_2-1747858342480.png

AD1996_5-1747858434853.png

Any advice that could help me understand why I am encountering the above issues would be greatly appreciated.

ABAP RESTful Application Programming Model SAP Fiori SAP BTP ABAP environment

 

View Entire Topic
Senqi_Hu
Participant
0 Kudos

You should search with Cap*, or you need to turn on fault-tolerant search, use annotation '@search.fuzzinessThreshold'

Abhinandan_Dutt
Discoverer
0 Kudos

Hello @Senqi_Hu, Thank you for writing, but both Cap* or @search.fuzzinessThreshold did not work.

I have tried below 3 combinations .

"//Attempt 1
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
@Search.fuzzinessThreshold: 0.7

"//Attempt 2
@Search.defaultSearchElement: true
@Search.ranking: #MIDIUM
@Search.fuzzinessThreshold: 0.7

"//Attempt 3
@Search.defaultSearchElement: true

 

Senqi_Hu
Participant
0 Kudos

You should add the the annotation '@Search.defaultSearchElement: true' for the filed 'AgencyName'.