Skip to Content
Author's profile photo Wouter Lemaire

Deploy your app to CloudFoundry from the SAP Web IDE CP Trial

Hi all,


Recently it became possible to create and deploy multi-target apps from the SAP Web IDE CP to the Cloud Foundry platform. This is how you can do so:

  1. Create a Multi-Target Application by selecting it from the wizard


2. Give it a name

3. Give the app an id, version and description


4. Add an HTML 5 module for the UI5 app

5. Select the UI5 template you would like to use for start creating your UI5 app

6. Give the UI5 app a name and namespace

7. Enter a name for the view

8. Create your view (just a label for this tutorial)

9. You can test the app by right clicking on the index.html page ==> Run ==> Run index.html

10. Configure Cloud Foundry => go to project settings

11. Select the cf eu endpoint, your organization and space ==> Save.

The first time, you’ll have to install the builder. Just click on install builder. (this can take a few minutes)

12. Build your Multi-Target App

13. The build generated a .mtar file in the folder mta_archives!

14. Right click on the mtar file and you can deploy it to CloudFoundry 🙂

15. Enter your CloudFoundry settings, same as in the project settings.

16. And your done 🙂

BUT! Working on a trial account comes with a few limitations.

One of these limitations is the memory quote of your CloudFoundry space. This is limited to 1024MB… Guess what, installing the builder takes the full memory…

When deploying a second app will give you the following error:

Workaround 🙂

I noticed that the builder is not using the full memory that’s allocated to it. Luckily we can change the memory quota of an app.

Go to your space where you see the builder and your app.

Go into the builder app and click on “Change Quota”

Change the memory quota to 768 MB

And now you’ll be able to deploy a second app on your TRIAL account 🙂

Enjoy experimenting with CloudFoundry on your Trial account!


Best regards,


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Gregor Wolf
      Gregor Wolf

      Hi Wouter,

      have you tried to add a DB and node.js / Java Module? Any success with that?

      Best regards

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Hi Gregor,


      Not yet,  but it's the next topic on my todo list 🙂  I'll keep you posted.


      Best regards,


      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author


      This is how I included nodejs by using the web ide:



      Author's profile photo Jaglika Perkova
      Jaglika Perkova

      In order to be able to manage the Space, you need to provide an user credentials, username and password. For me it worked providing my email and password that I use to log on. I don't know why I don't have an username.




      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      I think everyone should have a user. You can find your cloud account.

      Author's profile photo PARTHA SARATHI GOSWAMI

      Hi Wouter,

      I’m trying with the same approach. But couldn’t get the .MTAR file generated. Please find the screen shot below. It would be helpful if you put some light. Thanks a lot!



      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      If the build is completed, you should find the mtar in the "mta_archives" folder. If this is not the case, probably something is going wrong...

      Author's profile photo Baidya Nath Kumar
      Baidya Nath Kumar

      Hi Wouter Lemaire ,


      Probably it's a dumb question but i have to admit that i have just started learning about cloud foundry and i don't have enough Knowledge.

      After following all the steps, i was able to deploy my app on cloud foundry but i don't know how to access it. Following is what i have where C4C_Cloud is my Project name.

      Can you help me that.

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      The structure is different compared to neo and maybe not that clear. You should find your app in the space that you have deployed it.

      Author's profile photo Odin MAROLE
      Odin MAROLE

      Hi Wouter and thank you so much for this tutorial.

      I was able to upload my web app on my "CF trial" account. Everything was surprisingly fast and smooth. I knew it was too good to be true...

      My app is displayed on my CF account alright.

      The problem is that anytime I try to access it through the "application route", I'm presented with a blank screen stating just "Not Found".

      Did you experience this issue previously? Is there any hint you guys might share to help me fixing this situation?

      Thanks for your availability folks.

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      hmm didn't occur to me.. Maybe you can raise a question on the community for this

      Kr, Wouter

      Author's profile photo Martin Schenk
      Martin Schenk

      Hi Odin,


      i am not sure if your problem is still up to date but if it is:

      the url in the screen looks like the weburl for the BUILDER and not the application you have created within the tutorial.

      The builder is visible along the applicationms in your space as well but it is not accessible and will give you the error message you have posted.

      can you provide a screenshot of the application overview tab within your space?


      Best regards,


      Author's profile photo Sudarsan Gokhale Raghunath
      Sudarsan Gokhale Raghunath

      I faced the same issue.  Later I found that I needed to add the app name at the end of the app router URL.

      Find your app name: Navigate to the webapp folder in your html5module, open manifest.json and check the value of "sap_app":{"id":"<application name with namespace>>"...

      For instance if application name with namespace = com.example.myui5app, the application name should be termed as comexamplemyui5app

      The final URL will look like:

      Author's profile photo Ayush Rathod
      Ayush Rathod

      add /index.html