Symptom
Custom Fields - Frequently Asked Questions
Environment
SAP S/4HANA Cloud Public Edition
Resolution
1. How to create a custom field in the context of Key User Extensibility?
For general information about custom fields creation, please refer to Custom Fields | SAP Help Portal.
2. How to add a custom field to a specific Fiori UI section?
Please refer to the following SAP Blog Key User Custom Fields: How to add a custom field to a specific Fiori UI section - SAP Community
3. How to find the right business context for a SAPUI5 Fiori Application?
You can start creating a new custom field from any SAPUI5 application that is enabled for custom fields. Using "Adapt UI" in the enabled applications you can navigate to the Custom Fields application with the right business context/usage.
Please refer to the following documentation for more information: Enrich SAP S/4HANA Key User Custom fields with Int... - SAP Community > Section: Create a custom field of type “Code List based on CDS view” that allows you to select an employee from the list of employees in your company
4. How to choose the type of code list?
Please refer to Key User Custom Fields: When to use what type of code list
5. How to enhance a SAPUI5 Fiori Application with a custom field?
You need to use Key User Adaptation ("Adapt UI").
For more information, please refer to the following documentation:
- Adapting SAP Fiori UIs at Runtime - Key User Adaptation | SAP Help Portal
- Easily manage your key user adaptations with SAPUI5 flexibility
6. How to adjust the position of a custom field in a SAP GUI application?
You can use SAP Screen Personas.
Please refer to the following documentation
- Adapt UI for Classic Applications: Example | SAP Help Portal
- SAP Screen Personas: How to position key user custom fields exactly where you want them to be
- Getting Started with UI Adaptations for Classic Applications in SAP S/4HANA Cloud
- Adapting UIs for Classic Applications | SAP Help Portal
- Manage UI Adaptations for Classic Applications | SAP Help Portal
- SAP Screen Personas | SAP Help Portal
7. How to enrich a key user custom field of type "Code List based on CDS view" with navigation to a another Fiori application?
For fields of the type Code List based on CDS View, you can define a UI Navigation. This will render the field value in extended applications as a link to a defined target application UI. You can define a target application UI by specifying a Semantic Object. Additionally, a Semantic Object Parameter must be defined for each key field of your Value Help View.
For more information, please refer to the following documentation:
- Editing Custom Fields | SAP Help Portal > Field-specific Features
- Enrich SAP S/4HANA Key User Custom fields with Intent-Based Navigation
- Custom field type “Code list based on CDS view”: Finding/defining the right value help view and the right Semantic Object and Semantic Object Parameter for Intent-Based Navigation
8. How to enhance a custom field of type "Value Help based on CDS View" with additional filters that make the value help context-dependent?
You can use the feature Value Help Binding.
For more information, please refer to the following documentation:
- Maintaining Value Help Bindings | SAP Help Portal
- SAP S/4HANA Key User Extensibility: Custom field with context-dependent value help
9. How to use a custom CDS view from Value Help scenario in Custom Fields?
Please refer to the following documentation:
- Creating a Field of the Type Code List Based on CDS View: Example | SAP Help Portal
- Custom CDS Views – What’s New in 2202 - SAP Community > Value Help Scenario
- Value Help | SAP Help Portal
- Key User Custom Fields: When to use what type of code list
10. How to create a custom field with an ABAP implemented value help (custom entity)?
Please refer to the following documentation:
- SAP S/4HANA Key User Extensibility powered by Embedded Steampunk: Custom Field with ABAP implemented Value Help
- Creating a Field of the Type Code List Based on CDS View: Example | SAP Help Portal
- How to implement a custom entity in the ABAP RESTf... - SAP Community
- Query Implementation Types | SAP Help Portal > Unmanaged Query
- Contract C1: Use System-Internally | SAP Help Portal
11. Is it possible to create a custom field based on a custom C1-released data definition created in ABAP Environment in the context of Developer Extensibility?
- Only C1 released custom entities, key user custom CDS views (with no relation to developer extensibility C1-released data definitions) and SAP (C1 released) CDS views are supported.
- Custom CDS views (data definitions) created with ABAP Environment are not supported.
For more information, please refer to 3422413 - CDS view created in development tenant (ABAP Environment) is not supported in Custom Fields type "Code List based on CDS View" - SAP S/4HANA Cloud Public Edition - SAP for Me
12. How to create a custom field in the context of Developer Extensibility?
Please refer to Working with Custom Fields | SAP Help Portal
13. How to extract the code and description of a custom field of type Code List based on Custom CDS View ?
The following C1 released views (Cloud Development and Key User) are avalable:
- I_CUSTOMFIELDCODELISTTEXT Custom Field Code List Value Description
- I_CUSTOMFIELDCODELISTVALUE Custom Field Code List Value
- I_CUSTOMFIELDCODELISTVALUEHELP Value Help View for Custom Field Codes
For more information, please refer to 3516420 - Text views for Custom Fields of type Code List - SAP for Me
14. Is it possible to use a custom field in ABAP Environment in the context of Developer Extensibility?
Custom fields and data source extensions created with key user extensibility can be used by the following developer extensibility objects:
-
ABAP Classes and Interfaces
-
CDS View Entities
-
CDS Custom Entities
For more information, please refer to Key User Extensibility | SAP Help Portal > Key User Extensibility and Developer Extensibility
15. How to influence the field properties of your custom fields? Do you want to configure them as mandatory, or read-only, or invisible, even dynamically based on specific business data?
Depending on the oData service type, there might be different approaches available.
Please refer to Custom Fields in S/4HANA: How to control field properties like mandatory, read-only, and visibility
15-a. How to influence a property with field control?
A dedicated custom logic needs to be available for the specific application in the Custom Logic application.
Please refer to Key User Custom Fields in Fiori UIs based on SEGW OData Services: How to control field properties
15-b. How to influence a property in SAP GUI applications?
A dedicated custom logic needs to be available for the specific application in the Custom Logic application.
Please refer to Key User Custom Fields in SAP S/4HANA SAP GUI UIs: How to control field properties (mandatory,...)
15-c. How to influence a property in a OData Service based on Service Binding?
You can modify the settings (behaviours) of a custom field for a specific data source using the Custom Fields application.
That is only available if the application allows to modify the behavior implementation of the custom field.
For more information please refer to Key User Custom Fields in Fiori UIs based on OData Services exposed with Service Binding
16. How to influence the behaviour of a custom field created in the context of Developer Extensibility and exposed in a standard Business Object Interface?
For more information, please refer to Field Control for Developer Extensibility Custom Fields
17. What is the maximum number of fields and characters in Custom Fields?
Key User Custom Fields: Maximum number of fields and characters - SAP Community
Please note that for each business context, the responsible SAP application department defines the capacity available for customers individually. The only guard rail that exists is that the number of fields reserved for customers is never less than 100 fields and never less than 1000 characters.
If the available business context capacity is not sufficient for you, please create a request via the customer influence channel or create a customer ticket on the application component of the respective business context.
18. How to add or remove a business context for an existing custom field?
Please refer to Key User Custom Fields: Adding or Removing Business Contexts - SAP Community
19. How to get text display option for Custom Fields of type Code List based on CDS Views in Analytical Apps?
Please refer to the following documentation:
Custom Fields of type CodeList based on CDS Views ... - SAP Community
See Also
Keywords
KBA , BC-SRV-APS-EXT-FLD , Custom Fields , Product Enhancement
SAP Knowledge Base Article - Public