Symptom
You realized that users could access ‘More Filters’ option of a read-only custom field and remove its values in Advanced Search. Then, you want to avoid users from removing filters of a read-only field and hence you would like to hide ‘More Filters’ option from your custom field.
Environment
- SAP Business ByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
- Go to Work Center view.
- Click on Advanced Search.
- Check your extension field read-only.
- Click on More Filters option.
- You can Edit and Remove Filter Conditions.
Cause
It happens because ‘ShowSelectOption’ parameter within UI Designer has ‘True’ maintained for the custom field. It then shows ‘More Filters’ option along with custom field.
Resolution
For hiding ‘More Filters’ options, you need to change value of ‘ShowSelectOption’ parameter by using UI Designer. You can then follow these steps:
- Open Affected UI Component (e.g. /YABCDEFGH_MAIN/SRC/SAPTest_OWL.OWL.uicomponent).
- Select the field.
- Go to Properties tab.
- Under Appearance, change the value of ‘ShowSelectOption’ from ‘True’ to ‘False’.
- Save it.
- Activate it.
Then, you will not be able to see the option ‘More Filters’ to be used on the user interface.
Keywords
PDI, SDK, extension, field, read, only, more, filter, selection, extension, remove, custom, advanced, search , KBA , AP-RC-UIF-DT , UI Framework Designtime , How To