P_CADunningLockReasonSpace

DDL: P_CADUNNINGLOCKREASONSPACE Type: view_entity BASIC Package: ODATA_O2C_FICA_DUNRUNEXC_ANA

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)

SourceAliasJoin Type
dd07t dd07t from

Annotations (8)

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

KeyFieldSource TableSource FieldDescription
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 = ''