Test_catalog2

DDL: TEST_CATALOG2 Type: view_entity Package: SWB_RAP_TEST_OBJ

view on catalog for bdef tests

Test_catalog2 is a CDS View that provides data about "view on catalog for bdef tests" in SAP S/4HANA. It reads from 1 data source (test_catalog_2) and exposes 4 fields with key fields CatalogId, IsbnOfBook. It has 1 association to related views. Part of development package SWB_RAP_TEST_OBJ.

Data Sources (1)

SourceAliasJoin Type
test_catalog_2 catalog from

Associations (1)

CardinalityTargetAliasCondition
[1..1] test_books2 _ContainedBooks $projection.IsbnOfBook = _ContainedBooks.isbn

Annotations (2)

NameValueLevelField
EndUserText.label view on catalog for bdef tests view
AccessControl.authorizationCheck #CHECK view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CatalogId catalog_id UUID
KEY IsbnOfBook isbn_of_book UUID
Description description Well Code Des.
_ContainedBooks _ContainedBooks

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view Test_catalog2.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW Test_catalog2 AS
SELECT
  catalog_id AS CatalogId,
  isbn_of_book AS IsbnOfBook,
  Description
FROM test_catalog_2 AS catalog
LEFT OUTER JOIN test_books2 AS _ContainedBooks ON IsbnOfBook = _ContainedBooks.isbn  -- association [1..1]
;