Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UI5 in Web UI View

Hello,

I was wondering if anyone has tried to use an SAPUI5 component on a CRM UI view?

I was trying to use the SAPUI5 autocomplete control on an Interaction Center view. I noticed that the UI5 component libraries are not getting loaded correctly and so the instantiation fails.

I then created a custom WUI component with a view and it worked perfectly fine and my autocomplete control showed up and worked.

I've tried all combinations of bootstrap but here is the one that works on my Z component.

<script id="sap-ui-bootstrap"

  type="text/javascript"

  src="/sap/public/bc/ui5_ui5/1/resources/sap-ui-core.js"

  data-sap-ui-theme="sap_bluecrystal"

  data-sap-ui-libs="sap.ui.commons"

  data-sap-ui-preload="sync">

</script>

Thanks,

Gaurav

Tags:
Former Member
replied

Hello Gaurav,

If it is still relevant: try to disable ADH (automatic delta handling) for your component/view. You can do this in IMG -> CRM -> UI Framework -> Disable automatic delta handling. It works for me. See the screenshot attached. Before disabling ADH I had exactly the same issue as yours. Hope this will help you.

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question