SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Deploy the SAP SuccessFactors Extension to Cloud Foundry

In this phase of the development you will deploy the finished extension to BTP Cloud Foundry environment.

Overview

🎓 beginner 8 min. SAP Cloud Application Programming ModelBeginnerSAP BTP Cloud Foundry Environment

You will learn

  • โœ”How to build the MTA archive
  • โœ”How to deploy the MTA archive to Cloud Foundry
  • โœ”How to assign a role collection to a BTP business user
  • โœ”How to launch and test the deployed application
Unknown U Unknown November 1, 2022
Created by September 28, 2022
Contributors

Prerequisites

Steps

Step 1 Build the MTA archive
โ€”

Before you build the MTA Archive for deployment, do not forget to switch back the database from in-memory SQLite to SAP HANA (if not already). For that, just open the package.json file from the CAP service and set the cds.requires.db.kind parameter to hana like demonstrated below:

Figure 1 โ€“ Switch the database back to HANA
Figure 1 โ€“ Switch the database back to HANA

Now you can start the procedure to build the archive. You begin by building the CAP service.

In the Terminal type cds build โ€“-production and press Enter (don’t forget to press CTRL+C to terminate cds watch if it was previously running).

Figure 2 โ€“ Build CAP service
Figure 2 โ€“ Build CAP service

On the left-hand pane right-click the mta.yaml file and select Build MTA Project.

Figure 3 โ€“ Build MTA Project
Figure 3 โ€“ Build MTA Project

It’s going to take some seconds until the build process completes. When it does, it will display a message “Terminal will be reused by tasks” in a dedicated terminal named “Task Build MTA Project”. Look for the message “Build succeeded” among the lines in that console to make sure the build process was successful.

Figure 4 โ€“ Successful build
Figure 4 โ€“ Successful build

If the process is successful you’ll notice that a file named sfsf-projman_1.0.0.mtar will be generated into a new folder named mta_archives like demonstrated below:

Figure 5 โ€“ MTA Archive generated
Figure 5 โ€“ MTA Archive generated

Step 2 Deploy the MTA Archive
+
Step 3 Assign Admin role to your business user
+
Step 4 Test the deployed application
+
Step 5 Check your knowledge
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Build the MTA archive 2. Deploy the MTA Archive 3. Assign Admin role to your business user 4. Test the deployed application 5. Check your knowledge

Learn more →