Importing an Existing Project in SAP Business Application Studio

Objectives

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 the 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 the source code, especially in large projects where multiple team members need to work together and share objects without overwriting each others' work.

SAP Business Application Studio includes Git allowing you to manage the lifecycle 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 that 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 SAP Business Application Studio to bring 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 you are 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 you are 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). A warning is shown for each conflicting file.

Exporting Development Content without Git

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

Export OptionsDescription
DownloadDownloads files and/or folders from SAP 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

In this demonstration, you will learn how to import a project into SAP Business Application Studio from a .zip or .tar archive.

Log in to track your progress & complete quizzes