I_DraftAdministrativeData

DDL: I_DRAFTADMINISTRATIVEDATA SQL: SDRAFT_ADMIN_CDS Type: view

Draft Administration Data

I_DraftAdministrativeData is a CDS View that provides data about "Draft Administration Data" in SAP S/4HANA. It reads from 2 data sources (sdraft_admin, sdraft_admin_cc) and exposes 23 fields with key fields DraftUUID, DraftEntityType, DraftEntityType. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
sdraft_admin sdraft_admin from
sdraft_admin_cc sdraft_admin_cc union_all

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_DraftAdministrativeUser DraftAdministrativeUser $projection.DraftUUID = DraftAdministrativeUser.DraftUUID and $projection.DraftEntityType = DraftAdministrativeUser.DraftEntityType

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName SDRAFT_ADMIN_CDS view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Draft Administration Data view
Search.searchable true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID sdraft_admin draft_key UUID
KEY DraftEntityType sdraft_admin draft_entity Entity Name
CreationDateTime sdraft_admin created_at Uploaded On
CreatedByUser sdraft_admin created_by Version Created By
LastChangeDateTime sdraft_admin last_changed_at Timestamp
LastChangedByUser sdraft_admin last_changed_by Username
DraftAccessType sdraft_admin access_type Draft Access Type
ProcessingStartDateTime sdraft_admin in_process_since Time Stamp
InProcessByUser sdraft_admin in_process_by Draft In Process By
DraftIsKeptByUser sdraft_admin kept_by_user Draft Is Kept By User
EnqueueStartDateTime sdraft_admin enqueue_since Time Stamp
draft_keyasDraftUUID
KEY DraftEntityType sdraft_admin_cc draft_entity Entity Name
CreationDateTime sdraft_admin_cc created_at Uploaded On
CreatedByUser sdraft_admin_cc created_by Version Created By
LastChangeDateTime sdraft_admin_cc last_changed_at Timestamp
LastChangedByUser sdraft_admin_cc last_changed_by Username
DraftAccessType sdraft_admin_cc access_type Draft Access Type
ProcessingStartDateTime sdraft_admin_cc in_process_since Time Stamp
InProcessByUser sdraft_admin_cc in_process_by Draft In Process By
DraftIsKeptByUser sdraft_admin_cc kept_by_user Draft Is Kept By User
EnqueueStartDateTime sdraft_admin_cc enqueue_since Time Stamp
DraftAdministrativeUser DraftAdministrativeUser

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 I_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: SDRAFT_ADMIN_CDS

CREATE VIEW I_DraftAdministrativeData AS
SELECT
  sdraft_admin.draft_key AS DraftUUID,
  sdraft_admin.draft_entity AS DraftEntityType,
  sdraft_admin.created_at AS CreationDateTime,
  sdraft_admin.created_by AS CreatedByUser,
  sdraft_admin.last_changed_at AS LastChangeDateTime,
  sdraft_admin.last_changed_by AS LastChangedByUser,
  sdraft_admin.access_type AS DraftAccessType,
  sdraft_admin.in_process_since AS ProcessingStartDateTime,
  sdraft_admin.in_process_by AS InProcessByUser,
  sdraft_admin.kept_by_user AS DraftIsKeptByUser,
  sdraft_admin.enqueue_since AS EnqueueStartDateTime,
  DraftAdministrativeUser AS draft_keyasDraftUUID,
  DraftAdministrativeUser
FROM sdraft_admin
LEFT OUTER JOIN I_DraftAdministrativeUser AS DraftAdministrativeUser ON DraftUUID = DraftAdministrativeUser.DraftUUID AND DraftEntityType = DraftAdministrativeUser.DraftEntityType  -- association [0..*]
-- UNION ALL with additional select branch(es): sdraft_admin_cc
;