Importing an Existing Project in SAP Business Application Studio

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Import a Project into your Workspace of SAP Business Application Studio

Import Development Content

Sharing Development Content using Git

Git is the preferred method for sharing development content in an SAP HANA Cloud project. Sharing means importing and exporting content with other developers.

Git is used to manage source code in an application development environment. It provides tools for developers who need to collaborate on projects and work in parallel. Git provides sophisticated features to manage source code especially in large projects where multiple team member need to work together and share objects without overwriting each others' work.

SAP Business Application Studio includes Git allowing you to manage the life-cycle of your source code locally, but also to connect to a remote corporate/public Git repository to interact with other developers, share code, and so on.

Git operations can also be invoked from the terminal, which is suitable for experienced Git users, or from the Git view which gives you access to the base Git functionality in a more guided and visual approach.

Note
A dedicated lesson covers using Git in SAP Business Application Studio later in this course.

Importing Development Content without Git

Although Git is recommended, you could also use the simpler import features of SAP Business Application Studio to bring in content into your workspace. You can copy a complete project or just parts of a project to your existing workspace or start a new workspace. Be careful when using these tools as there is no tracking and version controls as you have with Git.

Import

Import OptionsDescription
Import (Welcome page)

Import project (right-click on blank area)

Imports exclusively .tar or .zip archives and also extracts them at the same time.

After importing a project, the new folder can be opened in a new workspace.

FileUpload FilesUploads archives (.tar or .zip) or single files

This is useful when you need to add individual files into your project structure instead of an entire project. If you upload an archive file you must then extract its contents with the command line (tar / unzip).

Drag and drop from your file explorerWith drag and drop, you can copy files, folders, or both, from your Windows File Explorer to any folder visible In the Explorer view of Business Application Studio.
Caution
When using FileUpload Files and drag and drop from your Windows File Explorer, the uploaded content might overwrite existing content (same file name and same target folder). You do not get any warning.

Exporting Development Content without Git

You can easily export development content using the simple download option of Business Application Studio.

Export OptionsDescription
DownloadDownloads files and/or folders from Business Application Studio perhaps to pass to other colleagues. Multiple objects are archived as a single .tar file. Simply right-click on any file or folder in the Explorer view of Business Application Studio.

To download the entire root folder (perhaps to include multiple projects), right-click the blank area below the file structure.

Import a project

Save progress to your learning plan by logging in or creating an account