SAP Knowledge Base Article - Public

2970727 - "Technical error: Cannot read property 'createModelNodesFromJson' of undefined"


When adding a KUT field of type Object to a screen you get the error message "Technical error: Cannot read property 'createModelNodesFromJson' of undefined".


SAP Cloud for Customer

Reproducing the Issue

  1. Go to the ABC Work Center (ABC represents the work center in question).
  2. Go to DEF View (DEF represents the relevant view).
  3. Open any TI screen.
  4. Click 'Start Adaptation' in the User Menu.
  5. Example: In the facet Overview of the relevant object TI, go to the section Header.
  6. Click the button 'Add' and then select the relevant field.
  7. Select a field of type Object or create it and click Apply.
  8. You receive the error message "Technical error: Cannot read property 'createModelNodesFromJson' of undefined".


You should not use the Edit button for Object type fields. Field Definition is not supported for Object type fields, it is incorrectly exposed.


Create the Object type field and add it to the UI with logged in language English. Then, log in with any other language and maintain the respective language label via Label Change KUT feature until the gap is fixed in one of the next releases. The option to launch Edit field via Add Field popup will be removed for Object type fields then as well.


extension field; KUT field; Object type; field definition; edit field; add field; language label; label change; error; , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions