How to Use Search Helps in SAP Fiori MyTimesheet App
The SAP Fiori MyTimesheet application uses the standard ITS CATS search help Customizing under Go to SPRO transaction(IMG) -> Cross-Application Components -> Time Sheet -> Specific Settings for CATS regular -> CATS regular (ITS) -> Modify Possible Entries Help.
The best way to explain how something works is by taking a use case, so let’s consider a scenario where we would want to define/use a search help for the field ‘Work Center’ (ARBPL).
- Go to the Customizing ‘Modify Possible Entries Help’.
- Create a new entry for the field ‘ARBPL’ (if it is not present already).
- Enter the following attributes:
- Search Help Name – CRAMA
- Help type – Search help
- Selection field 1 – ARBPL
- Selection field 2 – KTEXT
- Display field 1 – ARBPL
- Display field 2 – KTEXT
In MyTimesheet app the filtering is only possible on the field value, field description and any related fields which are a part of the particular timesheet record (present in the UI itself).
Now, since the field KTEXT is case sensitive the search is also case sensitive.
Example, Arbeitsplatz is part of the description for a work center and now if we search for the work center – ‘arbeitsplatz’ (notice the search term starts with a small ‘a’). The results will not contain the word Arbeitsplatz.
Use the field KTEXT_UP which is case insensitive.
Limitation – the description will be displayed in all CAPS.
Create a custom search help and modify the fields for selection.
a. Create a custom search help ZCRAMA
b. Implement a search help exit
c. Modify the search help customizing
d. Perform a search for the work center e.g. – ‘Arbeitsplatz’