Symptom
A numeric Key User Tool (KUT) Field, created via the PDI (Partner Development Infrastructure), displays the standard alphanumeric keyboard (letters) instead of the native numeric keypad (number pad) when accessed on iPad (iOS) devices within the SAP Cloud for Customer (C4C) mobile application.
Environment
SAP Cloud for Customer
Reproducing the Issue
-
Launch the SAP C4C Mobile App: Open the SAP Cloud for Customer application on the iPad.
-
Go to the relevant work center and view where the custom field is located (e.g., an Account, a Custom Object, or a Service Ticket).
-
Access the Field: Tap to open the section or facet where the custom field "Number of Shelves" is visible.
-
Initiate Data Entry: Tap directly into the input area of the "Number of Shelves" field.
- Note the alphanumeric keyboard (letters and numbers) are displayed.
Cause
The mobile keyboard behavior (iOS) is dictated by the underlying CCTS Type of the Business Object (BO) property associated with the KUT Field.
The CCTS Type currently configured for the KUT Field is 'value'. The mobile framework does not recognize the 'value' CCTS Type as a numerical field that requires the optimized numeric input interface (the number pad).
CCTS Types that Force the Numeric Keypad:
To instruct the operating system (iOS) to display the native numeric keypad, the field's BO property must be set to one of the following CCTS Types:
- amount
- measure
- numeric
- percent
- quantity
Resolution
The resolution is to modify the CCTS Type of the Business Object property associated with the KUT Field to a supported type, preferably numeric, within the SAP Cloud Applications Studio (PDI Tool) by following the steps below:
-
Access the Solution: Open the SAP Cloud Applications Studio and the relevant custom solution.
-
Open BO Definition: In the Solution Explorer, locate and open the BO file for the Business Object containing the KUT Field property.
-
Locate and Modify the Property: Edit the BO property definition for the KUT Field, changing the CCTS Type annotation from CCTS Type=value to any one of the supported list below:
- amount
- measure
- numeric
- percent
- quantity
After successful activation, the KUT Field will be correctly configured as a numeric input on the UI layer.
Keywords
SAP Knowledge Base Article - Public