cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 & BSP?

Former Member
0 Kudos
2,223

Hi All,

As per the title, a quick & simple question - is it possible to build a BSP application that uses SAPUI5?  I've not played with BSP for a long time but am pretty sure I could drop say jQuery libraries in and make use of them so wondered if this is the same for SAPUI5?  I'm talking about a simplistic application using the BSP MVC framework for accessing SAP data, services, etc. but using the SAPUI5 for the look & feel.

I've just started searching/researching this so if anyone has any useful blog posts or document links that could help, I'd appreaciate them.  I've already found content about using SAPUI5 on top of ICF services, however I'm keen to understand if I can contain the development to within SE80, more or less, and let the BSP access logic directly.  Hope that makes sense.

I may well be heading in the completely wrong direction with this - all suggestions appreciated!

Thanks in advance,

Gareth.

View Entire Topic
Former Member
0 Kudos

Hi Gareth,

In the link below you can see how I created the BSP application for the SAPUI5 application (Creating the BSPs to deploy the application and the SAPUI5 framework). In this blog i'm not using the Add-On.

http://scn.sap.com/community/developer-center/front-end/blog/2012/12/07/building-a-crud-application-...

Hope this helps.

Best regards,

Christian

Former Member
0 Kudos

Hi Christian,

Thanks very much for this.  I'd bookmarked the first part of your blog series to read through as I thought it would relevant but hadn't noticed the specific section in part 3 that you mention, which is more or less exaclty what I'm trying to do.  I thought that as you were using ICF services to supply data it might not be so relevant - how wrong was I?!

I'll have a further hack today and let you know how I get on...

Thanks,

Gareth.

Former Member
0 Kudos

Hi Gareth,

The ICF service only provides data. The SAPUI5 application (built as a BSP application) consumes this data.

Regards,

Christian

KaushalShah
Active Contributor
0 Kudos

I went through your blog, especially part 3. But couldn't understand the part where you're talking about exporting ZSAPUI5 application as a separate BSP application on SAP server. None of your earlier parts talk about creating ZSAPUI5 project in eclipse. So, couldn't understand from where this step originated.

Plus, on my eclipse, I installed sapui5 libraries directly from this URL - SAP Development Tools for Eclipse - Kepler Software Repository

So it is a little unclear how to drop these libraries in a BSP application and from where. And if I understand correctly, without these libraries, SAPUI5 BSP application won't work.

Former Member
0 Kudos

Hi Kaushal,

The BSP ZSAPUI5 in used only to host the SAPUI5 Library and is only necessary if you don´t have the sapui5 standard library in your system (the UI Add-on provided by SAP). The ZSAPUI5 BSP contains only the files of the SAPUI5 library (that you can download by opening the link below). The procedure to upload the files is explained in my blog.

Download Evaluation Package for UI Development Toolkit for HTML5

Regards,

Christian

KaushalShah
Active Contributor
0 Kudos

Thanks for the response Christian. Like a few others have pointed out, I'm also a bit sceptical about putting an 80mb library on ICF. I tried uploading the sapui5 library to my DEV box. And it almost froze our DEV server. But if the system is of lower version (UI addno not installed), then I presume there is no way around it, is it?

Former Member
0 Kudos

Hi Kaushal,

Please take a look at the blog posted by Martin English (link below). Martin followed another approach to import the SAPUI5 library.

Regards,

Christian