I_LockReason
Lock Reason
I_LockReason is a Basic CDS View (Dimension) that provides data about "Lock Reason" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field LockReason. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_LockReasonText | _LockReasonText | |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| ObjectModel.representativeKey | LockReason | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Lock Reason | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LockReason | |||
| DomainValue | dd07l | domvalue_l | ||
| _LockReasonText | _LockReasonText |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics: {
dataCategory: #DIMENSION,
internalName: #LOCAL
}
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions:true
}
@Search.searchable: true
@ObjectModel: {
semanticKey: ['LockReason'],
representativeKey: 'LockReason',
dataCategory: #VALUE_HELP,
resultSet.sizeCategory: #XS,
supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ],
usageType: {
serviceQuality: #A,
dataClass: #META,
sizeCategory: #S
}
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@EndUserText.label: 'Lock Reason'
define root view entity I_LockReason
as select from dd07l
composition [0..*] of I_LockReasonText as _LockReasonText
{
@ObjectModel.text.association: '_LockReasonText'
key cast ( substring( domvalue_l, 1, 2 ) as /s4ppm/tv_lock_reason ) as LockReason,
@Analytics.hidden: true
@Consumption.hidden: true
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
dd07l.domvalue_l as DomainValue,
_LockReasonText
}
where
domname = '/S4PPM/LOCK_REASON'
and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_LOCKREASONTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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