SAP Business Application Studio offers import and export features within the development space.
These features can be used to keep several versions of your modeling content, and re-import all or part of this content if needed. They're also useful for quick sandboxing, moving content from one development space to another.
Additionally, import/export can be used to share in a simple way your modeling content with another developer. For example, when a series of synonyms to external database objects have been defined in your project, you can easily share the synonyms definitions with another developer by sending the relevant design-time files for synonyms.
Correspondingly, you can import an individual file or an archive.
Exporting Modeling Content
An export of modeling content can be executed at different levels of a project structure, and applied to either a single file or a folder. After selecting a file or folder, you use the File→Download feature. You can also right-click the file or folder and choose Download in the context menu.
A single design-time file is exported/downloaded as is, with the source file name and extension.
A folder within the project structure (up to the project folder itself) is exported/downloaded as a .tar archive.
To export an entire project opened as a workspace, you can right-click the blank area below the file structure and choose Download. You can also choose all the files and folders under the root of the project and choose File→Download.
Several files and/or folders can be selected and exported/downloaded as a single .tar archive.
Importing Modeling Content
Corresponding to the export, you can either import an individual file or a .zip or .tar archive. Three features are available for that:
- Drag and drop from your file system into the Explorer view. Archives such as .zip and .tar files are not extracted. This can be done in command line in a terminal window.
- Upload Files (from the File menu) and Explorer view context menu. Archives are not extracted.
- Import (from the Welcome page) or Import Project(from the File menu). .zip and .tar archives will be extracted.
Caution
If the content you import is an entire project, for example a proj1.tar archive, you need to open the projects folder first, so that the imported project becomes a child of that folder: projects/proj1
After importing a project, you need to open its root folder as a workspace, or to add to a multiroot workspace. Please refer to the lesson, Creating a Project in SAP Business Application Studio.