Skip to Content
Previous

Connect to GitHub and create an MTA application

By Lsubatin

Access SAP web IDE for SAP HANA and create an MTA application from a GitHub repository

You will learn

Create a Multi Target Project by cloning a repository from GitHub.

Details


Step 1: Create a GitHub Repository

Log in or create an account in Git Hub. Create a new repository:

Create a New repo

You can choose any name you want and click on Create Repository:

Create a New repo

Once created, click on the Clone or download and copy the URL so you have it handy. Keep this tab open.

Create a New repo
Please log in to access this content.
Step 2: Connect to SAP Web IDE for SAP HANA

Open a new tab on the web browser and enter the following address https://hxehost:53075. If you get a security warning because the certificate is self-signed, click on Proceed to hxehost:

Proceed to webIDE

You will be routed to the User Account and Authentication service and prompted for your log in. Use user XSA_DEV and the password you entered during setup:

UAA login

Once the Web IDE has loaded, you will clone your GitHub repository:

Right-click on the Workspace and then on Git->Clone Repository.
Clone git

Then copy the URL from your Git Hub repository:

Clone git

Enter your GitHub username and password if prompted:

Clone git

You should see a single project in your workspace:

Project in workspace
Please log in to access this content.
Step 3: Set the space

You need to set the space for your cloned project.

Right-click on the project and then on Project Settings:

Project in workspace

Go into the Space and select development. Click on Save:

Project in workspace
Please log in to access this content.
Step 4: Sync your application

Open the GitHub pane using the button on the right side bar:

GitHub pane

Select the master branch and click on Stage all

GitHub sync

Enter a comment for the initial commit and click on Commit and Push

GitHub sync

You will be prompted for your GitHub account details:

GitHub sync

You can do this at any time you want to save your progress into your GitHub repository.

Finally, open the mta.yaml file that has been created automatically. Copy the contents in the Code Editor tab and paste them in the box below. Click on validate:

Validate
×

Updated 10/10/2017

Time to Complete

15 Min

Beginner
Next
Back to top