Create a SAP Fiori app using SAP-managed app router for a RAP business object from SAP BTP, ABAP Environment in SAP Business Application Studio and deploy it to SAP BTP, Cloud Foundry environment.
HINT: Make sure, you have selected your MTA project in the folder path.
Configure deployment:
Target: Cloud Foundry
Destination Name: <your_destination_system_url>
Click Next >.
Configure SAP Fiori Launchpad:
Semantic Object: ztravel_app_xxx
Action: maintain
Title: Travel App XXX
Click Finish.
Step 6
Check your result
Step 7
Right-click your SAP Fiori Application ztravel_app_xxx and select Open in Terminal.
Enter npm run start to run your application.
Click Go.
Check your result.
Step 8
Right-click your mta.yamlfile inside your SAP Fiori Application ztravel_app_xxx and select Build MTA Project.
Check your result. A new mta_archives folder has been created.
HINT: You can also create the mta_archives by right-click on the project > open terminal, and check where the mta_archive is present, and then run the command npm run build. The mta_archives file will then get generated.
Step 9
Right-click your ztravel_app_xxx_0.0.1.mtarfile inside your mta_archives folder and select Deploy MTA Archive.
Check your result.
HINT: You can also deploy the application from command line by opening the terminal, check where the mta_archive is present, and then run the command npm run deploy.
Step 10
Go back to SAP BTP trial cockpit, select HTML5 Applications on the left menu and select your application ztravelappxxx.
Click Go.
Check your result.
Step 11
Go back to SAP BTP trial cockpit, select Service Marketplace on the left menu, search for Launchpad Service and select Go to Application.
Click Content Providers on the left menu. Now you can see your HTML5 application. Click the refresh button.
Go to your content explorer and select your HTML5 app.
Check your result. Your Travel App XXX should appear here.