SAP Knowledge Base Article - Public

3584766 - A code list field displays both Code and Description despite the CodePresentationMode property being CodeOnly

Symptom

You have created a BCO in SAP Cloud Applications Studio with the option "Create Code List Data Type" marked and this data type is used on a field.
The issue is that both Code and Description values are shown on the UI despite the property CodePresentationMode having the value "CodeOnly".

Environment

  • SAP Cloud Applications Studio
  • SAP Cloud for Customer
  • SAP Business ByDesign

Cause

This is the standard behavior when working with a BCO data type.

Resolution

This is the expected system behavior.

An alternative for this matter is to use a .codelist data type for the field.

See Also

Keywords

PDI, SDK, field, data, type, BCO, CodePresentationMode, CodeOnly , KBA , AP-RC-UIF-DT , UI Framework Designtime , AP-RC-BDS-BC , ByDesign Studio Business Configuration , Problem

Product

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