P_SCME_REGISTRY

DDL: P_SCME_REGISTRY Type: view Package: S_CME_MODEL

CME Registry

P_SCME_REGISTRY is a CDS View that provides data about "CME Registry" in SAP S/4HANA. It reads from 5 data sources (scme_extension, P_SCME_REGISTRY_VERSION_DLTD, P_SCME_REGISTRY_DRAFT_AVAIL, P_SCME_REGISTRY_VERSION_PBLSHD, P_SCME_REGISTRY_EXTENSION) and exposes 4 fields with key field ExtensionID. Part of development package S_CME_MODEL.

Data Sources (5)

SourceAliasJoin Type
scme_extension CurrentVersion left_outer
P_SCME_REGISTRY_VERSION_DLTD DeletedStatus left_outer
P_SCME_REGISTRY_DRAFT_AVAIL DraftStatus left_outer
P_SCME_REGISTRY_VERSION_PBLSHD PublishedStatus left_outer
P_SCME_REGISTRY_EXTENSION Registry from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName P_SCME_RG_V view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #CLIENT_INDEPENDENT view
EndUserText.label CME Registry view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ExtensionID P_SCME_REGISTRY_EXTENSION ExtensionID UI Ext ID
IsDraftAvailable P_SCME_REGISTRY_DRAFT_AVAIL IsDraftAvailable
HighestPublishedVersionNumber P_SCME_REGISTRY_VERSION_PBLSHD HighestPublishedVersionNumber
HighestDeletedVersionNumber P_SCME_REGISTRY_VERSION_DLTD HighestDeletedVersionNumber

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_SCME_REGISTRY.
-- 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_SCME_REGISTRY AS
SELECT
  Registry.ExtensionID AS ExtensionID,
  DraftStatus.IsDraftAvailable AS IsDraftAvailable,
  PublishedStatus.HighestPublishedVersionNumber AS HighestPublishedVersionNumber,
  DeletedStatus.HighestDeletedVersionNumber AS HighestDeletedVersionNumber
FROM P_SCME_REGISTRY_EXTENSION AS Registry
LEFT OUTER JOIN scme_extension AS CurrentVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SCME_REGISTRY_DRAFT_AVAIL AS DraftStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SCME_REGISTRY_VERSION_PBLSHD AS PublishedStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SCME_REGISTRY_VERSION_DLTD AS DeletedStatus ON /* join condition not captured in parsed metadata */
;