You will learn here
1. How to create MDK Project in SAP BAS
2. How to deploy the MDK App on web browser
3. How to deploy the MDK App on mobile
As we have launched the dev space in SAP Business Application Studio in last
tutorial.
Step 1: Select
MDK Project & click on
Start.
Step 2: Enter details for
new project & click
Next.
Step 3: Enter the below
details
Service Name - As you want
OData Source - Select Cloud Foundry or Mobile Services
Application Id - Select App as created in Mobile Services
Destination - Select destination as
created in Mobile or Cloud Foundry
& click on
Next.
Step 4: Select
entities on which you want to work & click on
Next.
The
project will be created in left penal.
Step 5: Right click on
Application.app select
MDK Deploy.
Step 6: Select
platform to deploy app like
Web or App.
Step 7: If you want to test app in web browser then select
Run as a cloud web app in above image after successfully deploy you will see a link in terminal as in below image.
Copy the link and run in browser you will be able to see output.
Step 8: If you want to deploy the project on BTP mobile services app and test, for that you need to install
SAP Mobile Services Client in your cell phone.
You can scan the QR code from Application.app file as shown in below image & test.
Conclusion
In this blog post as we learned project creation in BAS, Test the app in web browser & mobile services client.
Resources that might be useful
https://blogs.sap.com/2019/12/30/rule-for-count-list-of-data-in-an-mdk-app/
https://blogs.sap.com/2020/01/15/create-an-mdk-project-in-sap-web-ide-and-push-into-sap-webide-git-r...