13 KiB
Content Transport Reference
Source: https://github.com/SAP-docs/sap-datasphere/tree/main/docs/Integrating-data-and-managing-spaces/Transporting-Content-Between-Tenants Source: https://github.com/SAP-docs/sap-datasphere/tree/main/docs/Acquiring-Preparing-Modeling-Data/Creating-Finding-Sharing-Objects
Table of Contents
- Transport Overview
- Export Packages
- Import Content
- Sharing Destinations
- CSN/JSON Export
- Command Line Transport
- SAP Cloud Transport Management
- Content Network
- Object Sharing
Transport Overview
SAP Datasphere supports multiple methods for moving content between tenants.
Transport Methods
| Method | Use Case | Complexity |
|---|---|---|
| Export/Import Packages | Manual transport | Low |
| Cloud Transport Management | Automated pipelines | Medium |
| CSN/JSON Files | Developer workflow | Low |
| Command Line | CI/CD integration | Medium |
Critical Limitation
"Only object definitions can be transported. Data cannot be transported between SAP Datasphere tenants" — the Transport app handles structure only, not actual data records.
Transportable Objects with Dependency Behavior
| Object Type | Auto-Includes Dependencies | Notes |
|---|---|---|
| Connections | No | No dependencies on other objects |
| Remote Tables | Yes | Includes connection information |
| Local Tables | No | Structure only; no interdependencies |
| Flows (Data/Replication/Transformation) | Yes | Auto-exports all source and target definitions |
| Views (Graphical/SQL) | Yes | Exports all sources and applied data access controls |
| Intelligent Lookups | Yes | Exports input and lookup entity definitions |
| Analytic Models | Yes | Exports fact and dimension source definitions |
| E/R Models | Manual | Objects must be manually selected; not auto-included |
| Data Access Controls | Yes | Exports permissions entity definition |
| Task Chains | Manual | Objects must be manually selected; not auto-included |
| Business Entities/Versions | Yes | Exports all versions, source entities, and authorization scenarios |
| Fact Models | Yes | Exports all versions and dependent source models/entities |
| Consumption Models | Yes | Exports all perspectives and dependent models/entities |
| Authorization Scenarios | Yes | Exports associated data access control |
Note on Manual Selection: E/R Models and Task Chains require manual selection because they represent complex container objects with multiple potential dependencies. Unlike Analytic Models or Flows that have clear source→target relationships, these objects may reference many unrelated items. Explicit user selection prevents unintended transports of large object graphs.
Non-Transportable Items
- Data (table contents)
- Connection credentials
- User assignments
- Schedules
- Notification recipients (for task chains)
Export Packages
Creating Packages
- Transport > Create Package
- Enter package name
- Select objects
- Configure options
- Create package
Package Configuration
Package Properties:
name: sales_analytics_v1
description: Sales analytics data model
include_dependencies: true
Object Selection
Select Objects:
- Individual selection
- Select with dependencies
- Select by space
- Select by type
Dependency Handling:
- Auto-include dependencies
- Skip existing objects
- Override conflicts
Package Contents
Package Structure:
package/
├── manifest.json
├── objects/
│ ├── tables/
│ ├── views/
│ ├── flows/
│ └── models/
└── metadata/
Export Package
Export Options:
- Download as file
- Share to destination
- SAP Cloud Transport
Import Content
Import Process
- Transport > Import
- Select source (file or destination)
- Review contents
- Configure options
- Execute import
Import Options
| Option | Description |
|---|---|
| Create New | Create all objects |
| Update Existing | Update if exists |
| Skip Existing | Don't overwrite |
| Overwrite | Replace all |
Conflict Resolution
Conflict Types:
- Object exists
- Name collision
- Dependency missing
- Version mismatch
Resolution Actions:
- Rename object
- Override existing
- Skip object
- Abort import
Import Validation
Pre-Import Checks:
- Object compatibility
- Dependency availability
- Permission verification
- Space capacity
Post-Import Steps
- Review imported objects
- Configure connections
- Set up schedules
- Assign permissions
- Deploy objects
Sharing Destinations
Overview
Sharing destinations enable direct content transfer between tenants.
Adding Sharing Destinations
- Transport > Sharing Destinations
- Add destination
- Configure connection
- Test connectivity
- Save
Destination Configuration
destination:
name: production_tenant
url: [https://prod.datasphere.cloud.sap](https://prod.datasphere.cloud.sap)
authentication: OAuth 2.0
client_id: xxx
client_secret: xxx
Share to Destination
- Select package
- Choose destination
- Configure options
- Share
Receive from Destination
- Transport > Incoming
- Select package
- Review contents
- Import
CSN/JSON Export
Overview
Export objects in CSN (Core Schema Notation) JSON format for version control and CI/CD.
Exporting to CSN/JSON
- Select objects
- Export > CSN/JSON
- Download file
CSN File Structure
{
"definitions": {
"space.view_name": {
"kind": "entity",
"@EndUserText.label": "View Label",
"elements": {
"column1": {
"type": "cds.String",
"length": 100
}
}
}
}
}
Importing from CSN/JSON
- Transport > Import
- Select CSN/JSON file
- Map to space
- Import
Use Cases
- Version control (Git)
- CI/CD pipelines
- Backup/restore
- Cross-environment deployment
Command Line Transport
Overview
Use the datasphere CLI for automated transport operations.
Installation
npm install -g @sap/datasphere-cli
Authentication
# Login
datasphere login --url [https://tenant.datasphere.cloud.sap](https://tenant.datasphere.cloud.sap)
# Using service key
datasphere login --service-key key.json
Export Commands
# Export space definitions
datasphere spaces read --space SALES_ANALYTICS --output export.json
# Export specific objects
datasphere spaces read --space SALES_ANALYTICS --definitions VIEW:sales_view,TABLE:customers --output export.json
# Export with verbose output
datasphere spaces read --space SALES_ANALYTICS --output export.json --verbose
Import Commands
# Import/create space from file (target determined by file content)
datasphere spaces create --file-path export.json
# Import with verbose output
datasphere spaces create --file-path export.json --verbose
Note
: The target space is determined by the content of the JSON file. Use the Transport app UI for more granular control over target space mapping.
CI/CD Integration
GitHub Actions Example:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install CLI
run: npm install -g @sap/datasphere-cli
- name: Login
run: datasphere login --service-key ${{ secrets.DS_SERVICE_KEY }}
- name: Import
run: datasphere spaces create --file-path models/export.json
SAP Cloud Transport Management
Overview
Integrate with SAP Cloud Transport Management for enterprise transport pipelines.
Prerequisites
- SAP Cloud Transport Management subscription
- Transport routes configured
- Datasphere integration enabled
Configuration
- System > Transport Management
- Enable integration
- Configure transport nodes
- Set up routes
Transport Landscape
Development → Quality → Production
↓ ↓ ↓
DEV Node QA Node PROD Node
Creating Transport Requests
- Transport > Create Request
- Select objects
- Assign to route
- Submit
Transport Actions
| Action | Description |
|---|---|
| Export | Create transport file |
| Import | Apply to target |
| Forward | Move to next node |
| Release | Approve transport |
Monitoring Transports
- Transport Management cockpit
- View transport queue
- Check status
- Review logs
Content Network
Overview
Access SAP and partner business content from the Content Network.
Accessing Content Network
- Content Network app
- Browse available content
- Select packages
- Install
Available Content
SAP Content:
- Best practice data models
- Industry solutions
- Analytics content
- Integration packages
Partner Content:
- Third-party connectors
- Industry extensions
- Custom solutions
Installing Content
- Select content package
- Review dependencies
- Configure target space
- Install
Managing Installed Content
Update Content:
- Check for updates
- Review changes
- Apply updates
Remove Content:
- Identify dependencies
- Remove objects
- Clean up
Object Sharing
Sharing Within Tenant
Share to Other Spaces:
- Select object
- Share > Select spaces
- Configure permissions
- Confirm
Share Permissions:
| Permission | Capabilities |
|---|---|
| Read | View, use as source |
| Read/Write | Modify, extend |
| Full | All operations |
Sharing Entities and Task Chains
Share Entity:
- Open entity
- Sharing settings
- Add spaces
- Set permissions
Share Task Chain:
- Open task chain
- Share to spaces
- Configure execution permissions
Working in Spaces
Space Isolation:
- Objects belong to one space
- Share for cross-space access
- Permissions cascade
Repository Explorer
Find Objects:
- Repository Explorer
- Search/browse
- View details
- Access object
Object Actions:
- Open
- Copy
- Share
- Delete
Folders
Organize with Folders:
- Create folder structure
- Move objects
- Set folder permissions
Folder Structure:
Space/
├── Sales/
│ ├── Views/
│ └── Models/
├── Finance/
│ ├── Reports/
│ └── Flows/
└── Shared/
Managing Exported Content
View Exported Packages
- Transport > Exported Packages
- View package list
- Check status
- Download/delete
Package Lifecycle
| Status | Description |
|---|---|
| Draft | Being created |
| Ready | Available for export |
| Exported | Downloaded/shared |
| Archived | Retained for history |
Cleanup
Delete Old Packages:
- Review retention policy
- Delete unused packages
- Archive important versions
Best Practices
Transport Strategy
- Define transport landscape
- Establish naming conventions
- Document dependencies
- Test before production
Version Control
- Use meaningful package names
- Include version numbers
- Maintain changelog
- Tag releases
Testing
- Validate in QA first
- Check data access controls
- Verify connections
- Test schedules
Documentation
- Document transport contents
- Record configuration changes
- Note manual steps
- Update runbooks
Documentation Links
- Transport Overview: https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/df12666
- Export Packages: https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/24aba84
- Import Content: https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/b607a12
- CSN/JSON: https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/f8ff062
- CLI: https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/6494657
Last Updated: 2025-11-22