C_DraftAdministrativeData
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)
| Source | Alias | Join Type |
|---|---|---|
| I_DraftAdministrativeData | Document | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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