Skip to content

juriadasek/TEST_JA_CYCLIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CDS views for testing cyclic dependency

Inspired by: ABAP CDS - Cyclical Dependencies

The example in the link above contains 3 CDS views which depend on each other by association. This is not a problem, because AbapGit can pull and activate them. However one of the CDS view was alter so that there is a cyclic dependency which is not discovered by syntax checker. Everything is activated in the origin system, but it cannot be pulled, nor activated in the target system using AbapGit.

This repo contains following CDS views:

  • zja_test_view1: has assocation which is dependent on zja_test_view2
  • zja_test_view2: has assocation which is dependent on zja_test_view3. It also has cyclic dependency created by union with zja_test_view1 (Note 1)
  • zja_test_view3: has assocation which is dependent on zja_test_view1

Note 1: I had to use union, because when I directly use zja_test_view1 in the first select, then the cyclic dependency is discovered by syntax check: "Recursive View Definitions are not supported".

About

Cyclic CDS dependency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published