Symptom
- Importing a transport package with 'Deploy after import' option, the package includes one data flow but does not include the data flow's depandant source views, despite this, the import and deployment still succeeds.
- Opening the data flow shows status Deployed, but a message indicates the source view is missing. Running the data flow fails due to the missing source view.
Environment
SAP Datasphere
Reproducing the Issue
- In transport source system, Transport-> Packages, create and export package that contains a data flow but does not include its dependent source view.
- In transport target system, Transport-> Import, import the package into the target system with 'Deploy after import' enabled.
- Observe that the import and deployment of data flow complete successfully.
- Open the data flow, its status shows Deployed, but a message indicates the source view is missing and running the data flow fails.
Cause
As per design, data flow can reference both Datasphere internal artifacts (such as views and tables) and external non-Datasphere sources(such as non-SAP databases, OData services, etc.). While the dependency check at transport time could only cover the DSP-internal sources and could not validate the external ones. Therefore data flow explicitly permits unresolved sources at transport time by design, and validate their dependencies and sources only at runtime (when the data flow is run). As a result, import and deployment of data flow can succeed even if its dependent source objects are missing in the target system.
This behavior is specific to data flows. Data flows are the exception because of the availability of reaching outside of Datasphere to external sources. For other object types, dependencies are checked during transport in the normal way.
Resolution
When creating export packages, ensure to include all data flow dependencies in the same package. The export dialog auto-selects dependencies, please avoid manually deselecting required objects.
If dependencies are managed in separate packages, ensure the target system already contains the required dependent artifacts in compatible versions before importing and deploying the data flow package.
See Also
Keywords
data flow, deployment success, missing source view, transport package, dependencies, deploy after import, runtime validation, unresolved dependencies, import succeeded, Deployed status, dependency check, external sources, data flow run fails, package export, Datasphere , KBA , DS-MD-REPO , Repository Backend , DS-DI-DF , Data Flow Runtime , Problem
SAP Knowledge Base Article - Public