SAP Knowledge Base Article - Public

2573967 - Field Creation Failed when Creating Extension Fields

Symptom

You are trying to add a KUT extension field on a custom screen and on save you get the error: Field Creation Failed.

Environment

  • SAP Cloud for Customer

Reproducing the Issue

  1. Go to the affected work center and view
  2. Navigate to the custom faced or scrren which you have created.
  3. Click on Start Adaptation mode.
  4. Try creating an extension field on the screen.
  5. On save, you will get an error, though there is an extensibility anchor.

Cause

Custom UI's are not meant to provide extensibility anchor. Custom extensions fields to such UI's are meant to add via SDK and not via KUT.

Resolution

There are 2 types of anchors

  1. Extensibility Anchor -> which enables creation of extension fields.
  2. Personalization anchors -> which enables all other changes like add (not create) a field to UI, hide a field and all other changes possible in adaptation and personalization modes.

For PDI created UIs, extensibility anchors are not permitted, since key user should not be able to create fields on such UI and the underlying BO.

For PDI created UIs, if a personalization anchor is added, then other changes such as hide / unhide, drag and drop will work.

Keywords

PDI, SDK, add, KUT, field, custom, anchor , KBA , section group anchors , field creation failed , extensibility anchor , personalization anchors , extension field in custom ui , extension field in custom ec , BC-DWB-REP-EXT , Extensibility , 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