I_SCRL_STRUCTURE_TP

DDL: I_SCRL_STRUCTURE_TP Type: view

CRL: Structure interface view

I_SCRL_STRUCTURE_TP is a CDS View that provides data about "CRL: Structure interface view" in SAP S/4HANA. It reads from 1 data source (scrl_structure) and exposes 7 fields with key fields LibraryID, VersionNumber, StructureID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
scrl_structure scrl_structure from

Associations (2)

CardinalityTargetAliasCondition
[1] I_SCRL_LIBRARY_TP _Library _Library.LibraryID = $projection.LibraryID and _Library.VersionNumber = $projection.VersionNumber
[0..*] I_SCRL_COMPONENT_TP _Component _Component.LibraryID = $projection.LibraryID and _Component.VersionNumber = $projection.VersionNumber and _Component.StructureID = $projection.StructureID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName I_V_SCRL_STRC_TP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CRL: Structure interface view view
ClientHandling.type #CLIENT_INDEPENDENT view
ObjectModel.compositionRoot false view
ObjectModel.writeDraftPersistence SCRL_D_STRUCTURE view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY LibraryID library_id Library ID
KEY VersionNumber version_number Version Number
KEY StructureID structure_id Structure ID
StructureIDForEdit structure_id Structure ID
Description description Well Code Des.
_Library _Library
_Component _Component

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 I_SCRL_STRUCTURE_TP.
-- 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 I_SCRL_STRUCTURE_TP AS
SELECT
  library_id AS LibraryID,
  version_number AS VersionNumber,
  structure_id AS StructureID,
  structure_id AS StructureIDForEdit,
  Description
FROM scrl_structure
LEFT OUTER JOIN I_SCRL_LIBRARY_TP AS _Library ON _Library.LibraryID = LibraryID AND _Library.VersionNumber = VersionNumber  -- association [1]
LEFT OUTER JOIN I_SCRL_COMPONENT_TP AS _Component ON _Component.LibraryID = LibraryID AND _Component.VersionNumber = VersionNumber AND _Component.StructureID = StructureID  -- association [0..*]
;