Skip to Content
author's profile photo Former Member
Former Member

SAPUI5 with Angular

We ll building a SAP application with SAP NWDS with java as Back-end and we ll integrate an external Angular 2 project into NWDS for the Front-end and binding the information. Is it possible?

I did not find too much information regarding to this topic.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 28, 2017 at 09:52 AM

    Hi Mario,

    Iv done a quick search on using Angular with SAPUI5 and i found this tutorial on SAP's website.

    I hope this helps you in your development.

    Thanks and best regards,

    Gerald Fletcher

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 20, 2017 at 04:13 PM

    Hi Mario,

    As far as I am concerned, NWDS is an Eclipse based development tool targeted to Java applications that will be deployed onto a Netweaver Java System. This type of system will support any server side apps based on J2EE standards. It means you have a wide range of libraries available to build your Java backend - including any Odata/REST (recommended for usage with Angular2) libraries like OLingo. For the front-end application, the deployment can also be done as a stanadrd J2EE web application (just like in the old days of JSP). Since Angular2 apps are based on HTML5, CSS, JavaScript/TypeScript, etc, they can be treated as a web app as well. In fact, you could basically use any Angular2 tutorials out there and replace the Tomcat server with the Netweaver Java Server. Pay attention to the supported Java version though as many older versions of Netweaver servers only support older versions. Other than that - it is pretty simple straightforward stuff.

    If this is the case, I would recommend deploying the Angular2 on Netweaver as a resource based web app so you could "share" the library across any applications you develop on Angular2 (bootstrapping).

    I don't think it would be possible to mix SAPUI5 and Angular2 in the same application as they rely on different technologies - mainly because of typescript. There might be conflicting script definitions (from both sides) and your app could behave weirdly. Not to mention the CSS, etc. Since both SAPUI5 and Angular2 are front-end technologies, your choice should be one of them only and stick with it.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.