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
-
Go to the affected work center and view
- Navigate to the custom faced or scrren which you have created.
- Click on Start Adaptation mode.
- Try creating an extension field on the screen.
- 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
- Extensibility Anchor -> which enables creation of extension fields.
- 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