SAP Knowledge Base Article - Public

2832442 - Custom Fine-Tuning Activity List Item Field is displayed with Leading Zeros

Symptom

You have configured an Object Value Selector(OVS) on your Custom Fine-Tuning Activity and expect the selection to be displayed as a number, however leading zeros are appended to the number upon selection like shown in the below screenshot.

LeadingZeros.PNG

Field A,B and C refer to the custom fields defined in the Business Configuration Object.

Environment

  • SAP Hybris Cloud For Customer
  • SAP Cloud Applications Studio

Reproducing the Issue

Prerequisites:

You have created a custom PDI solution that contains a Business Adaption Catalog along with the:

  • Business Configuration Object
  • Business Configuration Set 
  • Business Configuration View

Steps to reproduce the issue:

  1. Go to the Business Configuration Work Center.
  2. Go the Implementation Projects View.
  3. Open the Activity List for the Current Project.
  4. Navigate to your custom fine-tuning activity and open it.
  5. Open the OVS in your fine-tuning activity and select the value.
  6. The value is displayed with leading zeros in the fine-tuning activity list.

Cause

This is caused by the UI Designer>DataModel properties being incorrectly set.

Resolution

Adjust the following properties in the DataModel & Designer tabs of the UI Designer:

  1. Change the CCTS Type to "identifier" for the affected field of the Business Configuration View as shown in the screenshot below.

Identified_OVS.png

  1. Change the "Interpret as integer" property to "True" for the OVS Field as shown in the screenshot below.

integer_ovs.png

See Also

PDI, BC, BCO, Business Configuration, Fine-Tuning, UI Designer, Custom

Keywords

KBA , AP-RC-UIF , C4C UI Framework , Problem

Product

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