C_DraftAdministrativeData

DDL: C_DRAFTADMINISTRATIVEDATA SQL: CSDRAFT_ADMIN Type: view CONSUMPTION

Draft Administrative Data

C_DraftAdministrativeData is a Consumption CDS View that provides data about "Draft Administrative Data" in SAP S/4HANA. It reads from 1 data source (I_DraftAdministrativeData) and exposes 16 fields with key fields DraftEntityType, DraftUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DraftAdministrativeData Document from

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_Draftlifecyclelog _Sdraft_Log _Sdraft_Log.DraftEntityType = $projection.DraftEntityType and _Sdraft_Log.DraftUUID = $projection.DraftUUID
[1..1] C_Draftlifecycleadmindata _Root Document.DraftEntityType = _Root.DraftEntityType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSDRAFT_ADMIN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Draft Administrative Data 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
OData.publish false view
UI.presentationVariant.text text view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY DraftEntityType I_DraftAdministrativeData DraftEntityType Entity Name
KEY DraftUUID I_DraftAdministrativeData DraftUUID UUID
ObjectKey
CreatedByUser I_DraftAdministrativeData CreatedByUser User Name
CreatedByUserDescription I_DraftAdministrativeData CreatedByUserDescription Description
CreationDateTime I_DraftAdministrativeData CreationDateTime Timestamp
LastChangedByUser I_DraftAdministrativeData LastChangedByUser User Name
LastChangedByUserDescription I_DraftAdministrativeData LastChangedByUserDescription Description
LastChangeDateTime I_DraftAdministrativeData LastChangeDateTime Timestamp
InProcessByUser I_DraftAdministrativeData InProcessByUser Draft In Process By
InProcessByUserDescription I_DraftAdministrativeData InProcessByUserDescription
ProcessingStartDateTime I_DraftAdministrativeData ProcessingStartDateTime Time Stamp
EnqueueStartDateTime I_DraftAdministrativeData EnqueueStartDateTime Time Stamp
DraftAccessType I_DraftAdministrativeData DraftAccessType Draft Access Type
_Sdraft_Log _Sdraft_Log
_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_DraftAdministrativeData.
-- 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_ADMIN

CREATE VIEW C_DraftAdministrativeData AS
SELECT
  Document.DraftEntityType AS DraftEntityType,
  Document.DraftUUID AS DraftUUID,
  cast( '' as text255 ) AS ObjectKey,
  Document.CreatedByUser AS CreatedByUser,
  Document.CreatedByUserDescription AS CreatedByUserDescription,
  Document.CreationDateTime AS CreationDateTime,
  Document.LastChangedByUser AS LastChangedByUser,
  Document.LastChangedByUserDescription AS LastChangedByUserDescription,
  Document.LastChangeDateTime AS LastChangeDateTime,
  Document.InProcessByUser AS InProcessByUser,
  Document.InProcessByUserDescription AS InProcessByUserDescription,
  Document.ProcessingStartDateTime AS ProcessingStartDateTime,
  Document.EnqueueStartDateTime AS EnqueueStartDateTime,
  Document.DraftAccessType AS DraftAccessType
FROM I_DraftAdministrativeData AS Document
LEFT OUTER JOIN C_Draftlifecyclelog AS _Sdraft_Log ON _Sdraft_Log.DraftEntityType = DraftEntityType AND _Sdraft_Log.DraftUUID = DraftUUID  -- association [0..*]
LEFT OUTER JOIN C_Draftlifecycleadmindata AS _Root ON Document.DraftEntityType = _Root.DraftEntityType  -- association [1..1]
;