I_LockReason

DDL: I_LOCKREASON Type: view_entity BASIC

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)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_LockReasonText _LockReasonText

Annotations (15)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/