Sharing Entities and Task Chains to Other Spaces

Share a table, a view, or an analytic model to another space to allow users assigned to that space to use it as a source for their objects. Share a task chain to another space to allow it to be added to and controlled by another task chain in the space that you share it to.

Prerequisites

To share a table, a view, or a task chain to another space, you must have a scoped role that grants you access to a space with the following privileges:
  • Data Warehouse General (-R------) - To access SAP Datasphere.

  • Data Warehouse Data Builder (-R----S-) - To share objects to other spaces.

  • Spaces Files (-R------) - To access objects in a space.

The DW Modeler role template, for example, grants these privileges. For more information, see Privileges and Permissions and Standard Roles Delivered with SAP Datasphere.

You must ensure that the local table (file) to be shared has a technical name that is unique regardless of letter case. Because the underlying Delta Sharing catalog treats identifiers as case-insensitive, you cannot share two local tables (File) from the same source space to the same target space if their technical names differ only by letter case (for example, SalesOrders and salesorders). SAP Datasphere rejects deployments that would create such naming conflicts. For more information, see Rules for Technical Names.

Preparing to Share Entities

Your space is a secure area and its entities and other objects (and their data) cannot be seen in other spaces unless you choose to share them. When you share an entity to another space, users in that space can see its data and use it as a source for their views and other objects.

You can share tables and views, but only views can have row-level security applied to protect data (see Securing Data with Data Access Controls).

In this example, the IT space has imported the Sales and Products tables from a source system and wants to share them to the Sales space, but the Sales table contains sensitive data:
In order to protect that data and ensure that users can view only data for which they have permission, an IT space user consumes the Sales table in the Sales view and applies a data access control to the view (see Apply a Data Access Control to a Graphical or SQL View):
Now that the data is protected, the Sales view and the Products table can both be shared to the Sales space, where they are joined with the Promotions view to produce the Sales by Product view, which inherits the row-level security from the shared Sales view:

Share Entities

When you share an entity to another space, users in that space can see its data and use it as a source for their views and other objects.
  1. Select the entity or entities you want to share in the Data Builder start page or Repository Explorer.

    Alternatively, open an entity in its editor.
  2. Click (Share) to open the Share dialog.

  3. In the Add Spaces field, enter the name of the space or spaces that you want to share the objects to (or click to select the spaces in a list and then click Select.

  4. Click Share to grant the other spaces Read access to the objects.

    If you have selected a single space, the Shared with list is updated to include these spaces.
  5. Click Close to close the Share dialog.

    Entities that are shared to other spaces display a (Share) icon after their business name in the Data Builder start page and Repository Explorer. You can click this icon to open the Share dialog, review the spaces the object is shared to, and, if appropriate, stop sharing it.

Share Supporting Entities

Entities with a semantic usage of Fact or Dimension commonly have dependencies on other entities and when sharing them, you must also share these associated entities in order to make the services they provide work in the target space:
In this example, the Cities entity has a semantic usage of Dimension and has associations to the Cities Texts text entity and to the Countries dimension (which, itself, has an association to the Countries Texts text entity). When sharing Cities, you would generally share the other three entities as well:
In this example, the Sales View entity has a semantic usage of Fact and has associations to the Cities and Products dimensions. These dimensions then have further associations to other dimensions and text entities. When sharing Sales View, you would generally share the other five entities as well:

Share Task Chains

When you share a task chain to another space, users in that space can add it as a step in their task chains.
  1. Select the task chains you want to share in the Data Builder start page or Repository Explorer.

    Alternatively, open a task chain in its editor.
  2. Click (Share) to open the Share dialog.

  3. In the Add Spaces field, enter the name of the space or spaces that you want to share the objects to (or click to select the spaces in a list and then click Select.

  4. Click Share to grant the other spaces Read access to the objects.

    If you have selected a single space, the Shared with list is updated to include these spaces.
  5. Click Close to close the Share dialog.

    Objects that are shared to other spaces display a (Share) icon after their business name in the Data Builder start page and Repository Explorer. You can click this icon to open the Share dialog, review the spaces the object is shared to, and, if appropriate, stop sharing it.

Review Objects Shared With Your Space

You can see the objects shared with your space:
  • In the Repository Explorer (see Repository Explorer).

  • In the Data Builder start page:

    • If you have access to the source space, then you can open the shared object in its editor.

    • If you do not have access to the source space, then it is listed without a link. You cannot open it, but you can use it as a source in your data builder objects.

  • In the Source Browser in any Data Builder editor (see Using the Source Browser).

Unshare an Object

To stop sharing an object, expand the Shared with list, select the spaces you want to stop sharing it with, and click Unshare.