Skip to Content
Product Information
Author's profile photo Jitendra Kansal

Create your Mobile Development Kit (MDK) app in SAP Business Application Studio

Updated 04 May 2021: Some screenshots changed due to updates in BAS/MDK Editor.

You might have already seen the announcement about availability of SAP Business Application Studio on SAP’s Multi-Cloud environment (Cloud Foundry). Following this release,  SAP released a trial for SAP Business Application Studio ( in the SAP Business Technology Platform trial account).  If you have not yet subscribed yet, follow this post. 

SAP Business Application Studio is a next generation, tailor made development environment available as a service on SAP Cloud Foundry which offers a modular development for business application for SAP Intelligent Enterprise.

You can now create and modify your Mobile Development kit (MDK) applications in SAP Business Application Studio. 

Setting Up the MDK Editor in SAP Business Application Studio (Cloud Foundry) 

When you create a new Dev Space, select “SAP Mobile Application”.  This space contains capabilities to create Mobile Development Kit based apps. (Same Dev space type supports development for Mobile Cards and Mobile Backend Tools (MBT)) 

 

 

Once space is created, click start icon to start. Once started, click on the space name to enter into development environment.

Note: (If you are on trial – You are allowed a maximum number of 2 dev spaces, and only 1 can be run at a time.)

 Creating a New Project (Cloud Foundry)

Click Start from template on Welcome page. (If you do not see Welcome page, you can access it via Help menu.)

Features supported by Mobile Development Kit editor in SAP Business Application Studio are similar to the features supported by Mobile Development Kit extension for Visual Studio Code.

 

Migrate MDK Project from SAP Web IDE (NEO) to SAP Business Application Studio (CF)

You can easily migrate your MDK metadata project from SAP Web IDE to SAP Business Application studio. Please follow this post.

For help with the supported MDK features in the SAP Business Application Studio please refer to the documentation here.

New to MDK development?

Follow these tutorials to learn more about Mobile development kit:

Regards

Jitendra Kansal

Product Management, SAP Mobile Services
SAP SE

Assigned tags

      14 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Nivetha Sruthi R B
      Nivetha Sruthi R B

      Hi,

      I am using my trail account but After MDK:Deploying i am getting the following pop as mentioned in the below screenshot. Can you explain how can i proceed further after this?and what have to been  given for the below  pop message?

      Image preview

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Blog Post Author
      I can't see the screenshot. Could you attach it again?
      Author's profile photo Nivetha Sruthi R B
      Nivetha Sruthi R B

      ya sure i have attached the screenshot again.It was asking to select the organization

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Blog Post Author
      While deploying, you need to provide CF API Endpoint followed by it's credentials. On successful CF login, it would ask you to select required Organization & space.
      You can copy the API endpoint from Cloud platform cockpit overview page. Hope this helps.
      Author's profile photo Nivetha Sruthi R B
      Nivetha Sruthi R B

      Hi

      Thank you for the response i have followed what you have mentioned but while deploying it asked for the CF API Endpoint as you have mention and after providing the CF API it did not ask for any credentials and straightly asked to select the required Organization & space.Is there any setup i should have done but i have missed so i am not able to select the Organization & space?

      Author's profile photo Pierre Wagner
      Pierre Wagner

      Same for me - changed the CF endpoint but cannot select Org and Space. The question asking for credentials appeared only once at the beg.

      Author's profile photo Zhen-kun Li
      Zhen-kun Li

      So, the issue might be caused by in switching endpoint, we use previous cf token.

      To solve it, you can click the bottom-right status bar to do a cf login with the new endpoint.

      We will fix this issue in next release.

      Thank you!

      Author's profile photo Pierre Wagner
      Pierre Wagner

      After clicking the bottom-right status bar i was able to login and able to set org and space in the menu but i'm not able to choose org and space in the specified fields. The next button remains disabled.

      Author's profile photo Zhen-kun Li
      Zhen-kun Li

      Please make sure cf login and deploy use the same api endpoint.

      if it's still not work. you can do a cf logout from cli, and then deploy.

      if it's still not work, could you help with detail steps/screenshot? My mail is: zhen-kun.li@sap.com

      Author's profile photo Pierre Wagner
      Pierre Wagner

      after logging out and login again it now works. thanks

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Blog Post Author

      [Update: 10.07.20]: For MDK related Development, SAP Business Application studio now supports Visual Editors similar to SAP Web IDE.

      Author's profile photo Björn Burandt
      Björn Burandt

      Hi,

      thank you for this Tutorial, worked for me.

      Does anybody know if it is also possible to debug the MDK App directly from SAP Business Application Studio with this example?

      I wanted to try it, but I am only able to find debugging examples for MDK-Apps from Visual Studio Code (this works, but with exporting the files, importing to VS Code, Starting Debugger,... it is not the fastest solution)

      Thank you and regards

      Björn

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Blog Post Author

      Hi Björn,

      To debug the MDK mobile app, current option is to use VS code.

      You are experiencing any odd behavior, i suggest you to open an OSS ticket to further look into it.

       

       

      Author's profile photo Björn Burandt
      Björn Burandt

      Hi,

      thank you for the fast answer. Then I will look to open an OSS ticket.

      Regards

      Björn