Symptom
You have added extension fields from SDK solution and in UI the value is appearing in a grey box. This behavior can be observed only in RUI/ Fiori client.
Environment
SAP Cloud Application Studio
SAP Business ByDesign
SAP Cloud for Customer
Reproducing the Issue
-
Login to RUI client of the tenant.
- Navigate to the relevant workcenter view.
- Find the fields which you have added.
- You can see, compared to other fields some field values are displaying in a grey colored text boxes.
Cause
This is because you have selected the property DisplayType as TextEdit in the UI designer of the relevant field.
Resolution
If you don't want the custom field to be displayed in a certain way, you can change the property of the field in the UI Designer as per your requirement. For eg: If you are selecting the DisplayType property of the field as InputField then the grey box will not be appearing.
For the extension fields added from SDK to a standard screen, the display type property cannot be changed from UI Designer, this will be controlled completely based on what is the data type you have defined for the field in the business object declaration.
Keywords
Field display is greyed out Text fields are in a grey box appearance of the text field in RUI appearance of the text field in Fiori , KBA , pdi fields in a grey box , extension fields are displaying in grey , displaytype as textedit , AP-RC-BDS-UI , ByDesign Studio UI Generation , AP-RC-UIF-DT , UI Framework Designtime , How To