I_DRAFTADMIN_DATA

DDL: I_DRAFTADMIN_DATA SQL: SDRAFT_ADMIN_DT Type: view

Draft Administration Data

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

Data Sources (1)

SourceAliasJoin Type
sdraft_admin sdraft_admin from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_DraftAccessTypeText _DraftAccessTypeText $projection.DraftAccessType = _DraftAccessTypeText.DraftAccessType
[0..*] I_DRAFTADMIN_COLLABORATION_USR _CollaborationUser

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName SDRAFT_ADMIN_DT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.type #CLIENT_DEPENDENT view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Draft Administration Data view
Search.searchable true view
Metadata.allowExtensions true view

Fields (14)

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
DraftAccessTypeDescription _DraftAccessTypeText Text User Group
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
_CollaborationUser _CollaborationUser
_DraftAccessTypeText _DraftAccessTypeText

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_DRAFTADMIN_DATA.
-- 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_DT

CREATE VIEW I_DRAFTADMIN_DATA 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,
  _DraftAccessTypeText.Text AS DraftAccessTypeDescription,
  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
FROM sdraft_admin
LEFT OUTER JOIN I_DraftAccessTypeText AS _DraftAccessTypeText ON DraftAccessType = _DraftAccessTypeText.DraftAccessType  -- association [0..*]
LEFT OUTER JOIN I_DRAFTADMIN_COLLABORATION_USR AS _CollaborationUser ON /* condition not available in parsed metadata */  -- association [0..*]
;