SAP Knowledge Base Article - Public

3428757 - Custom text fields are larger displayed in QC

Symptom

DataType ShortText on XBO is defaulted to TextEdit when extended to a QC, however defaults to InputField on TI.

Environment

  • SAP Cloud Applications Studio
  • SAP Cloud for Customer

Reproducing the Issue

  1. Open UI Designer for a Solution
  2. Go to screen example screen /BYD_COD/SalesOnDemand/Account/UI/COD_Account_TI.TI.uicomponent
  3. Select a Section Group and click "Add Extension Field to Section Group"
  4. Add Extension Field of type text and click Apply
  5. Click Save and Activate
  6. Select the field on the Designer tab and in Properties, see DisplayType is InputField

When you do the same steps on example screen /BYD_COD/ServiceOnDemand/PrivateAccount/COD_SEOD_ACCOUNT_QC.QC.uicomponent, the DisplayType is TextEdit

Cause

Based on the current design this is expected behaviour. For extension fields of type text in components other than TI (ThingInspector components) a TextEdit control is created.

Resolution

You can embed an EC for more control over the DisplayType of data elements

Keywords

PDI, custom field, SDK, TI, EC, QA, QC, OIF, OWL , KBA , AP-RC-UIF-DT , UI Framework Designtime , How To

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions