C_Draftlifecyclelog
Draft Lifecycle Log
C_Draftlifecyclelog is a Consumption CDS View that provides data about "Draft Lifecycle Log" in SAP S/4HANA. It reads from 1 data source (I_Draftlifecyclelog) and exposes 6 fields with key fields DraftEntityType, DraftUUID, LogNumber. It has 2 associations to related views. Part of development package SADL_GW_DRAFT_ADMINISTRATION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Draftlifecyclelog | Document | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_DraftAdministrativeData | _Parent | Document.DraftUUID = _Parent.DraftUUID and Document.DraftEntityType = _Parent.DraftEntityType |
| [1..1] | C_Draftlifecycleadmindata | _Root | Document.DraftEntityType = _Root.DraftEntityType |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDRAFT_LOG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Draft Lifecycle Log | 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 | |
| ObjectModel.usageType.serviceQuality | C | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.dataClass | TRANSACTIONAL | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DraftEntityType | I_Draftlifecyclelog | DraftEntityType | |
| KEY | DraftUUID | I_Draftlifecyclelog | DraftUUID | |
| KEY | LogNumber | I_Draftlifecyclelog | LogNumber | |
| ObjectKey | I_Draftlifecyclelog | ObjectKey | ||
| _Parent | _Parent | |||
| _Root | _Root |
@AbapCatalog.sqlViewName: 'CSDRAFT_LOG'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Draft Lifecycle Log'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@UI.headerInfo: {
typeName: 'Draft Administrative Data',
typeNamePlural: 'Draft Administrative Data',
title: {
type: #STANDARD,
label: 'Draft AdministrativeData',
value: 'DraftEntityType'
}
}
@ObjectModel.usageType.serviceQuality: 'C'
@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.dataClass: 'TRANSACTIONAL'
define view C_Draftlifecyclelog
as select from I_Draftlifecyclelog as Document
association [1..1] to C_DraftAdministrativeData as _Parent on Document.DraftUUID = _Parent.DraftUUID
and Document.DraftEntityType = _Parent.DraftEntityType
association [1..1] to C_Draftlifecycleadmindata as _Root on Document.DraftEntityType = _Root.DraftEntityType
{
@UI.lineItem: {
position: 0,
importance: #HIGH,
label: 'Draft Entity Type',
exclude: true
}
@UI.identification: {
position: 0,
label: 'Draft Entity Type'
}
@UI.hidden: true
@UI.facet: [{
id: 'GeneralInformation',
purpose: #STANDARD,
type: #COLLECTION,
label: 'General Information',
position: 10
},
{ id: 'Log',
label: 'Application Log',
parentId: 'GeneralInformation',
type: #IDENTIFICATION_REFERENCE,
position: 10
}
]
key Document.DraftEntityType as DraftEntityType,
@UI.lineItem: {
position: 10,
importance: #HIGH,
label: 'Draft UUID',
exclude: true
}
@UI.identification: {
position: 10,
label: 'Draft UUID'
}
@UI.hidden: true
key Document.DraftUUID as DraftUUID,
@UI.lineItem: {
position: 20,
importance: #HIGH,
label: 'Log Number'
}
@UI.identification: {
position: 20,
label: 'Log Number'
}
@Search: {
defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #HIGH
}
key Document.LogNumber as LogNumber,
@UI.lineItem: {
position: 30,
importance: #HIGH,
label: 'Object Key'
}
@UI.identification: {
position: 30,
label: 'Object Key'
}
Document.ObjectKey as ObjectKey,
@ObjectModel.association.type: [ #TO_COMPOSITION_PARENT ]
_Parent,
@ObjectModel.association.type: [ #TO_COMPOSITION_ROOT ]
_Root
}
Learn More
- 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 Annotations — A Complete Guide
- 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