P_SCRL_LBRY_RGSTRY_VRSN_PBLSHD

DDL: P_SCRL_LBRY_RGSTRY_VRSN_PBLSHD Type: view

CRL: Libr. reg. - High. publ. vers. view

P_SCRL_LBRY_RGSTRY_VRSN_PBLSHD is a CDS View that provides data about "CRL: Libr. reg. - High. publ. vers. view" in SAP S/4HANA. It reads from 1 data source (scrl_library) and exposes 2 fields with key field LibraryID.

Data Sources (1)

SourceAliasJoin Type
scrl_library Library from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName P_SCRL_LBRG_P_V view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label CRL: Libr. reg. - High. publ. vers. view view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LibraryID scrl_library library_id Library ID
HighestPublishedVersionNumber

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 P_SCRL_LBRY_RGSTRY_VRSN_PBLSHD.
-- 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 P_SCRL_LBRY_RGSTRY_VRSN_PBLSHD AS
SELECT
  Library.library_id AS LibraryID,
  max(Library.version_number) AS HighestPublishedVersionNumber
FROM scrl_library AS Library
;