S_SCME_EXTENSION_C

DDL: S_SCME_EXTENSION_C Type: view

CME: Extension consumption view

S_SCME_EXTENSION_C is a CDS View that provides data about "CME: Extension consumption view" in SAP S/4HANA. It reads from 1 data source (I_SCME_EXTENSION_TP) and exposes 21 fields with key fields ExtensionID, VersionNumber. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SCME_EXTENSION_TP I_SCME_EXTENSION_TP from

Associations (8)

CardinalityTargetAliasCondition
[1..1] S_SCME_USER _CreateUser _CreateUser.Name = $projection.CreatedBy
[1..1] S_SCME_USER _ChangeUser _ChangeUser.Name = $projection.LastChangedBy
[1..1] S_SCME_PUBLISH_STATE_TEXT _PublishState _PublishState.Code = $projection.PublishState and _PublishState.Language = $session.system_language
[1..1] S_SCME_LANGUAGE_TEXT _OriginalLanguage _OriginalLanguage.LanguageKey = $projection.OriginalLanguage and _OriginalLanguage.Language = $session.system_language
[0..*] S_SCME_ANNOTATION_C _Annotation _Annotation.ExtensionID = $projection.ExtensionID and _Annotation.VersionNumber = $projection.VersionNumber
[0..*] S_SCME_ANNOTATION_C _ViewAnnotation _ViewAnnotation.ExtensionID = $projection.ExtensionID and _ViewAnnotation.VersionNumber = $projection.VersionNumber and _ViewAnnotation.ScopeForEdit = 'VIEW'
[0..*] S_SCME_ANNOTATION_C _ParameterAnnotation _ParameterAnnotation.ExtensionID = $projection.ExtensionID and _ParameterAnnotation.VersionNumber = $projection.VersionNumber and _ParameterAnnotation.ScopeForEdit = 'PARAMETER'
[0..*] S_SCME_ANNOTATION_C _FieldAnnotation _FieldAnnotation.ExtensionID = $projection.ExtensionID and _FieldAnnotation.VersionNumber = $projection.VersionNumber and _FieldAnnotation.ScopeForEdit = 'FIELD'

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName S_V_SCME_EXT_C view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CME: Extension consumption view view
ClientHandling.type #CLIENT_INDEPENDENT view
Search.searchable true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ExtensionID ExtensionID UI Ext ID
KEY VersionNumber VersionNumber Version Number
Name Name Zone name
ConsumerDomain ConsumerDomain Domain
SourceView SourceView View
PublishState PublishState Publish State
OriginalLanguage OriginalLanguage Original Language
OriginalRelease OriginalRelease Release
CreatedBy CreatedBy User Name
CreatedOn CreatedOn Time Stamp
LastChangedBy LastChangedBy User Name
LastChangedOn LastChangedOn Time Stamp
ETag ETag Update Token
_CreateUser _CreateUser
_ChangeUser _ChangeUser
_PublishState _PublishState
_OriginalLanguage _OriginalLanguage
_Annotation _Annotation
_ViewAnnotation _ViewAnnotation
_ParameterAnnotation _ParameterAnnotation
_FieldAnnotation _FieldAnnotation

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_SCME_EXTENSION_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_SCME_EXTENSION_C AS
SELECT
  ExtensionID,
  VersionNumber,
  Name,
  ConsumerDomain,
  SourceView,
  PublishState,
  OriginalLanguage,
  OriginalRelease,
  CreatedBy,
  CreatedOn,
  LastChangedBy,
  LastChangedOn,
  ETag
FROM I_SCME_EXTENSION_TP
LEFT OUTER JOIN S_SCME_USER AS _CreateUser ON _CreateUser.Name = CreatedBy  -- association [1..1]
LEFT OUTER JOIN S_SCME_USER AS _ChangeUser ON _ChangeUser.Name = LastChangedBy  -- association [1..1]
LEFT OUTER JOIN S_SCME_PUBLISH_STATE_TEXT AS _PublishState ON _PublishState.Code = PublishState AND _PublishState.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN S_SCME_LANGUAGE_TEXT AS _OriginalLanguage ON _OriginalLanguage.LanguageKey = OriginalLanguage AND _OriginalLanguage.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN S_SCME_ANNOTATION_C AS _Annotation ON _Annotation.ExtensionID = ExtensionID AND _Annotation.VersionNumber = VersionNumber  -- association [0..*]
LEFT OUTER JOIN S_SCME_ANNOTATION_C AS _ViewAnnotation ON _ViewAnnotation.ExtensionID = ExtensionID AND _ViewAnnotation.VersionNumber = VersionNumber AND _ViewAnnotation.ScopeForEdit = 'VIEW'  -- association [0..*]
LEFT OUTER JOIN S_SCME_ANNOTATION_C AS _ParameterAnnotation ON _ParameterAnnotation.ExtensionID = ExtensionID AND _ParameterAnnotation.VersionNumber = VersionNumber AND _ParameterAnnotation.ScopeForEdit = 'PARAMETER'  -- association [0..*]
LEFT OUTER JOIN S_SCME_ANNOTATION_C AS _FieldAnnotation ON _FieldAnnotation.ExtensionID = ExtensionID AND _FieldAnnotation.VersionNumber = VersionNumber AND _FieldAnnotation.ScopeForEdit = 'FIELD'  -- association [0..*]
;