P_CABusinessLockReasonMultText

DDL: P_CABUSINESSLOCKREASONMULTTEXT Type: view_entity BASIC

Multiple Reasons for Lock Reason - Text

P_CABusinessLockReasonMultText is a Basic CDS View that provides data about "Multiple Reasons for Lock Reason - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields CABusinessLockReasonEnhanced, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Multiple Reasons for Lock Reason - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey CABusinessLockReasonEnhanced view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CABusinessLockReasonEnhanced
KEY Language
CABusinessLockReasonName
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'Multiple Reasons for Lock Reason - Text'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: { representativeKey: 'CABusinessLockReasonEnhanced',
                usageType: { serviceQuality: #A,
                             sizeCategory: #S,
                             dataClass: #CUSTOMIZING } }
                             
@VDM.viewType: #BASIC
@VDM.private:true 

define view entity P_CABusinessLockReasonMultText 
  as select from dd07t 
  
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
  
{
  key cast( left( dd07t.domvalue_l,2 ) as lockrenh_kk preserving type ) as CABusinessLockReasonEnhanced,
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key cast( ddlanguage as spras preserving type)                     as Language,

      @Semantics.text
      cast ( ddtext as lockr_txt_kk )                                as CABusinessLockReasonName,
      
      _Language
      
}

where
      domname  = 'LOCKR_MULT_KK'
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/