C_Draftlifecyclelog

DDL: C_DRAFTLIFECYCLELOG SQL: CSDRAFT_LOG Type: view CONSUMPTION

Draft Lifecycle Log

C_Draftlifecyclelog is a Consumption CDS View that provides data about "Draft Lifecycle Log" in SAP S/4HANA. It reads from 1 data source (I_Draftlifecyclelog) and exposes 6 fields with key fields DraftEntityType, DraftUUID, LogNumber. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Draftlifecyclelog Document from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_DraftAdministrativeData _Parent Document.DraftUUID = _Parent.DraftUUID and Document.DraftEntityType = _Parent.DraftEntityType
[1..1] C_Draftlifecycleadmindata _Root Document.DraftEntityType = _Root.DraftEntityType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSDRAFT_LOG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Draft Lifecycle Log view
VDM.viewType #CONSUMPTION view
Search.searchable true view
UI.headerInfo.typeName Draft Administrative Data view
UI.headerInfo.typeNamePlural Draft Administrative Data view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.label Draft AdministrativeData view
UI.headerInfo.title.value DraftEntityType view
ObjectModel.usageType.serviceQuality C view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.dataClass TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DraftEntityType I_Draftlifecyclelog DraftEntityType Entity Name
KEY DraftUUID I_Draftlifecyclelog DraftUUID UUID
KEY LogNumber I_Draftlifecyclelog LogNumber UUID
ObjectKey I_Draftlifecyclelog ObjectKey Object Key
_Parent _Parent
_Root _Root

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 C_Draftlifecyclelog.
-- 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.
-- SQL view name: CSDRAFT_LOG

CREATE VIEW C_Draftlifecyclelog AS
SELECT
  Document.DraftEntityType AS DraftEntityType,
  Document.DraftUUID AS DraftUUID,
  Document.LogNumber AS LogNumber,
  Document.ObjectKey AS ObjectKey
FROM I_Draftlifecyclelog AS Document
LEFT OUTER JOIN C_DraftAdministrativeData AS _Parent ON Document.DraftUUID = _Parent.DraftUUID AND Document.DraftEntityType = _Parent.DraftEntityType  -- association [1..1]
LEFT OUTER JOIN C_Draftlifecycleadmindata AS _Root ON Document.DraftEntityType = _Root.DraftEntityType  -- association [1..1]
;