Skip to Content
avatar image
Former Member

Open UI5 in SAP

Hi,

anyone has any idea, whether it is possible to use Open UI5 in SAP? The reason to do this is to have a common frontend for different back-ends. Any feedback is appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 01, 2017 at 11:22 PM

    hi Jozef,

    Yes, it's possible to deploy openui5 directly into ABAP (GW/FrontEnd Server) as a BSP and reference that core version within your index.html - it's also possible for you to "re-write" parts of the default UI5 ICF Handler to also implement the cache-buster mechanism if needed. You could actually use the same structure, and deploy multiple openui5 versions as sub-folders and serve whatever version you see fit, thou usually the latest would provide you the best code-base.

    It's also possible to download and extract the SAPUI5 SDK which will come with the few extras openui5 does not include, like charting or Fiori Elements controls - you can extract the library (.jar) and modify the structure of your custom BSP, this way you end up with best of both, thou really you could just extract the whole SAPUI5 (having said that, it is known that openui5 is usually released before SAPUI5).

    Obviously, you'd be going out of the default SAPUI5, so "Basis" would lose ability to patch the system, which can be good or bad - while you remove patch dependency, you need a Developer to bump the version, but then again, you wouldn't need to bump the UI5 version unless you have patches in the app, so a Developer is always needed. Let's say a new UI5 version is released, you want to bump the version up all you have to do is extract a new folder with the SDK, re-deploy and you're sort of done.. no need to ask Basis to patch, schedule regression, etc etc.

    I'd still strongly recommend you to implement something like the cache-buster, thou usually the ICM/WebDispatcher invalidation would also work quite well.


    Hope it helps,

    Dan.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08, 2017 at 11:28 AM

    Hi there,

    You seem to have a question and a disjoint point:

    1. Your first question on whether it is possible to use OpenUI5 in SAP seems incomplete. I have two interpretations:If you are asking about licensing for OpenUI5 you will need to look here: http://openui5.org/ where the Apache 2.0 license is mentioned. Another more technical interpretation is that you want to reference the OpenUI5 framework / library inside some existing HTML5 app or perhaps even a JSP or other such application. This is also technically possible but more detail is required before any answer can be accurate.

    2. The second point is that you have multiple backends and a single frontend - Assuming you have one application, one Gateway server and with multiple backend data servers - you have more than one option in terms of an application architecture. Do provide more details for a better answer.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08, 2017 at 01:26 PM

    Hi,

    thank you for your answer. I'll start with the fact, that it is indeed possible to use SAP UI5 without using Gateway / Odata services. That would be our aim -> only to use REST calls directly consumed by ICF node handler.

    We would like to be able to use Open UI5 this way (but not referencing CDN, but having the libraries of Open UI5 in SAP "somewhere"). SAP UI5 libraries are situated in MIME repository, which is read during parsing of the code of the BSP application, that is behind the SAP UI5 application.

    Is it possible to have Open UI5 libraries in SAP Application server and referencing them from within the application? Imagine, that you would like to create a product, that would decouple frontend and backend and depending on the customer's landscape, the libraries would get stored on NW AS or "different place".

    And with this, you would like to have the applications built in Open UI5 rather than SAP UI5, so that the frontend side is common for any landscape.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 08, 2017 at 03:33 PM

    what's point?

    And with this, you would like to have the applications built in Open UI5 rather than SAP UI5, so that the frontend side is common for any landscape.

    what is this? if you use sap ui5, it is not common?

    Add comment
    10|10000 characters needed characters exceeded