SAP Knowledge Base Article - Public

3246903 - More Filters Option Allows User to Remove Value of Read-Only Field

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

  1. Go to Work Center view.
  2. Click on Advanced Search.
  3. Check your extension field read-only.
  4. Click on More Filters option.
  5. 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:

  1. Open Affected UI Component (e.g. /YABCDEFGH_MAIN/SRC/SAPTest_OWL.OWL.uicomponent).
  2. Select the field.
  3. Go to Properties tab.
  4. Under Appearance, change the value of ‘ShowSelectOption’ from ‘True’ to ‘False’.
  5. Save it.
  6. 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

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions