P_CADunningLockReasonSpace
Dun Lock Reason for No Lock Reason
P_CADunningLockReasonSpace is a Basic CDS View that provides data about "Dun Lock Reason for No Lock Reason" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 2 fields with key field CADunningLockReason. Part of development package ODATA_O2C_FICA_DUNRUNEXC_ANA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Dun Lock Reason for No Lock Reason | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADunningLockReason | |||
| CADunningLockReasonName | dd07t | ddtext |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Dun Lock Reason for No Lock Reason'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #S,
dataClass: #META
}
@VDM: { private: true,
viewType: #BASIC }
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view entity P_CADunningLockReasonSpace
as select from dd07t
{
key cast( '' as mansp_kk preserving type ) as CADunningLockReason,
//Because of cast into DTE with lower length SADL converts this into rtrim (substr)
//which later whilst using @Search is falling into runtime error
// cast( substring ( dd07t.ddtext, 1, 50 ) as tx008_kk preserving type ) as CADunningLockReasonName
// cast( dd07t.ddtext as tx008_kk ) as CADunningLockReasonName
@Semantics.text: true
dd07t.ddtext as CADunningLockReasonName
}
where
dd07t.domname = 'DUN_LOCK_NO_RSN_TEXT_KK'
and dd07t.ddlanguage = $session.system_language
and dd07t.as4local = 'A'
and dd07t.domvalue_l = ''
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