In this exercise, you will manually deploy the Manage Travels app to your trial account on SAP BTP, ABAP environment. You will do the following in SAP Business Application Studio:
- Login to the corresponding Cloud Foundry endpoint
- Add a deploy configuration
- Create an MTA archive from your project
- Deploy your app
Prerequisites
You have completed the exercise Add a Field Building Block to Your Custom Section in the unit Examining the Flexible Programming Model (lesson: Using Building Blocks).
Watch the Simulation and Perform the Steps
This exercise contains a simulation that takes you through detailed steps. You can find all the steps after the simulation. You can follow the simulation and perform the steps using your own trial account.
Steps
Open SAP Business Application Studio.
Select the first icon from the left-hand side menu.
Select View from the list.
Choose Command Palette from the subsequent menu.
Log in to the corresponding Cloud Foundry endpoint
Search for CF:LOGIN TO CLOUD FOUNDRY in the command palette.
Select CF:Login to Cloud Foundry from the list.
Choose Credentials from Select authentication method option on the Cloud Foundry Sign In and Targets view.
Enter your username and password in the respective fields.
Select Sign in from the bottom of the view.
Select the dropdown for the Select Cloud Foundry Organization field once you sign in.
Select the trial account that you have created.
Select dev for the Select Cloud Foundry Space field.
Select Apply from the bottom of the view. You have logged in to the corresponding Cloud Foundry endpoint.
Add a deployment configuration.
Right-click travels from the EXPLORER.
Select Open Application Info from the subsequent menu.
Select Add Deploy Config from the Application Info - travels.
Select the dropdown for the Please choose the target field in the Deploy Configuration view.
Choose Cloud Foundry from the list.
Select the dropdown for the Destination name field.
Select abap-cloud-default link for your trial account.
Select Finish from the bottom of the view.
A popup message confirms that the files containing deployment configuration have been generated. You can see them within the travels project.
Create an MTA archive from your project.
Right-click mta.yaml from within the webapp on your EXPLORER.
Choose Build MTA Project from the subsequent menu. You can see that the mta_archives are built within the travels project.
Deploy your app.
Select Deploy from the Application Info - travels view.
The app is deployed. You can see the progress at the bottom of the view.
Result
You successfully deployed your app to your trial account on SAP BTP, ABAP environment.