S_SCRL_COMPONENT_C

DDL: S_SCRL_COMPONENT_C Type: view Package: S_CRL_MODEL

CRL: Component consumption view

S_SCRL_COMPONENT_C is a CDS View that provides data about "CRL: Component consumption view" in SAP S/4HANA. It reads from 1 data source (I_SCRL_COMPONENT_TP) and exposes 14 fields with key fields LibraryID, VersionNumber, StructureID, ComponentID. It has 3 associations to related views. Part of development package S_CRL_MODEL.

Data Sources (1)

SourceAliasJoin Type
I_SCRL_COMPONENT_TP I_SCRL_COMPONENT_TP from

Associations (3)

CardinalityTargetAliasCondition
[1] S_SCRL_LIBRARY_C _Library _Library.LibraryID = $projection.LibraryID and _Library.VersionNumber = $projection.VersionNumber
[1] S_SCRL_STRUCTURE_C _Structure _Structure.LibraryID = $projection.LibraryID and _Structure.VersionNumber = $projection.VersionNumber and _Structure.StructureID = $projection.StructureID
[1] P_SCRL_COMPONENT_TRANSPORTED _LifecycleStatus _LifecycleStatus.LibraryID = $projection.LibraryID and _LifecycleStatus.StructureID = $projection.StructureID and _LifecycleStatus.ComponentID = $projection.ComponentID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName S_V_SCRL_CPNT_C view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CRL: Component consumption view view
ClientHandling.type #CLIENT_INDEPENDENT view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY LibraryID LibraryID Library ID
KEY VersionNumber VersionNumber Version Number
KEY StructureID StructureID Structure ID
KEY ComponentID ComponentID Pointer Itemiz.
ComponentIDForEdit ComponentIDForEdit Pointer Itemiz.
Description Description Well Code Des.
Type Type Worklist Type
Length Length Text Length
Scale Scale Scale
CodeList CodeList Code List ID
DataSource DataSource Datasurce
Transported _LifecycleStatus Transported Truth Value
_Library _Library
_Structure _Structure

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 S_SCRL_COMPONENT_C.
-- 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 S_SCRL_COMPONENT_C AS
SELECT
  LibraryID,
  VersionNumber,
  StructureID,
  ComponentID,
  ComponentIDForEdit,
  Description,
  Type,
  Length,
  Scale,
  CodeList,
  DataSource,
  _LifecycleStatus.Transported AS Transported
FROM I_SCRL_COMPONENT_TP
LEFT OUTER JOIN S_SCRL_LIBRARY_C AS _Library ON _Library.LibraryID = LibraryID AND _Library.VersionNumber = VersionNumber  -- association [1]
LEFT OUTER JOIN S_SCRL_STRUCTURE_C AS _Structure ON _Structure.LibraryID = LibraryID AND _Structure.VersionNumber = VersionNumber AND _Structure.StructureID = StructureID  -- association [1]
LEFT OUTER JOIN P_SCRL_COMPONENT_TRANSPORTED AS _LifecycleStatus ON _LifecycleStatus.LibraryID = LibraryID AND _LifecycleStatus.StructureID = StructureID AND _LifecycleStatus.ComponentID = ComponentID  -- association [1]
;