Exporting Objects to a CSN/JSON File

Export the definitions of your tables, views, and other objects to a CSN/JSON file, which can be imported into another space or tenant.

Context

A CSN (Core Data Services Schema Notation) file contains only the definition of the structure of your tables, views, and other objects, and does not contain any data. A CSN file can be imported into another space or another instance of SAP Datasphere. For detailed information about the CSN file format, see Core Data Services Schema Notation (CSN)Information published on SAP site.

The Export to CSN/JSON File button is available in the following editors:

Procedure

  1. In the editor toolbar, click (Export)Start of the navigation path Next navigation step Export to CSN/JSON FileEnd of the navigation path.
  2. If the editor contains unsaved changes, you are prompted to save. Click OK.
    The contents of the editor are exported to <Object_Name>.json and downloaded to your browser:

    Object Type

    Details

    Local Tables

    The definition of a local table without delta capture contains the structure of the table only, and does not have dependencies on any other objects. The definition of a local table with delta capture enabled contains the definition of an additional internal table with the suffix _Delta. When you export a table with delta capture enabled, this table is exported too.

    Remote Tables

    The definition of a remote table contains information about its connection.

    Views

    The definition of a view contains the definitions of all its sources and any used data access controls. When you export a view, these objects are exported too.

    Flows

    The definition of a data flow, replication flow, or transformation flow contains the definitions of all its sources and its target table. When you export a flow, these objects are exported too.

    Intelligent Lookups

    The definition of an intelligent lookup contains the definitions of its input and lookup entities. When you export an intelligent lookup, these entities are exported too.

    Analytic Models

    The definition of an analytic model contains the definitions of its fact and dimension sources. When you export an analytic model, these entities are exported too.

    E/R Models

    The definitions of all the tables and views in the model are exported. The model itself is not exported.

    Data Access Controls

    The definition of a data access control contains the definition of its permissions entity. When you export a data access control, the permissions entity is exported too.

    Task Chains

    The definition of a task chain does not include the objects that it automates. These objects must be selected manually.