I_DRAFTADMIN_DATA
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)
| Source | Alias | Join Type |
|---|---|---|
| sdraft_admin | sdraft_admin | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DraftAccessTypeText | _DraftAccessTypeText | $projection.DraftAccessType = _DraftAccessTypeText.DraftAccessType |
| [0..*] | I_DRAFTADMIN_COLLABORATION_USR | _CollaborationUser | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA