I_SCRL_LIBRARY_TP

DDL: I_SCRL_LIBRARY_TP Type: view

CRL: Library interface view

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

Data Sources (1)

SourceAliasJoin Type
scrl_library scrl_library from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_SCRL_METHOD_TP _Method _Method.LibraryID = $projection.LibraryID and _Method.VersionNumber = $projection.VersionNumber
[0..*] I_SCRL_STRUCTURE_TP _Structure _Structure.LibraryID = $projection.LibraryID and _Structure.VersionNumber = $projection.VersionNumber
[0..*] I_SCRL_TABLE_TP _Table _Table.LibraryID = $projection.LibraryID and _Table.VersionNumber = $projection.VersionNumber
[0..*] I_SCRL_DATA_TP _Data _Data.LibraryID = $projection.LibraryID and _Data.VersionNumber = $projection.VersionNumber

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName I_V_SCRL_LIB_TP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CRL: Library interface view view
ClientHandling.type #CLIENT_INDEPENDENT view
ObjectModel.compositionRoot true view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence SCRL_D_LIBRARY view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.entityChangeStateId LastChangedOn view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY LibraryID library_id Library ID
KEY VersionNumber version_number Version Number
Name name Zone name
PublishState publish_state Publish State
OriginalLanguage original_language Original Language
OriginalRelease original_release Release
CreatedBy created_by Version Created By
CreatedOn created_on Variant created on
LastChangedBy last_changed_by Username
LastChangedOn last_changed_on Time Stamp
ImplementationClass implementation_class Type Name
ETag Time Stamp
_Method _Method
_Structure _Structure
_Table _Table
_Data _Data

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_LIBRARY_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_LIBRARY_TP AS
SELECT
  library_id AS LibraryID,
  version_number AS VersionNumber,
  Name,
  publish_state AS PublishState,
  original_language AS OriginalLanguage,
  original_release AS OriginalRelease,
  created_by AS CreatedBy,
  created_on AS CreatedOn,
  last_changed_by AS LastChangedBy,
  last_changed_on AS LastChangedOn,
  implementation_class AS ImplementationClass,
  cast ( last_changed_on as abap.char(40) ) AS ETag
FROM scrl_library
LEFT OUTER JOIN I_SCRL_METHOD_TP AS _Method ON _Method.LibraryID = LibraryID AND _Method.VersionNumber = VersionNumber  -- association [0..*]
LEFT OUTER JOIN I_SCRL_STRUCTURE_TP AS _Structure ON _Structure.LibraryID = LibraryID AND _Structure.VersionNumber = VersionNumber  -- association [0..*]
LEFT OUTER JOIN I_SCRL_TABLE_TP AS _Table ON _Table.LibraryID = LibraryID AND _Table.VersionNumber = VersionNumber  -- association [0..*]
LEFT OUTER JOIN I_SCRL_DATA_TP AS _Data ON _Data.LibraryID = LibraryID AND _Data.VersionNumber = VersionNumber  -- association [0..*]
;