I_UsageDecisionCodeText

DDL: I_USAGEDECISIONCODETEXT SQL: IUSGDECCODET Type: view BASIC Package: VDM_QM_INSPECTION

Usage Decision Code - Text

I_UsageDecisionCodeText is a Basic CDS View (Dimension) that provides data about "Usage Decision Code - Text" in SAP S/4HANA. It reads from 1 data source (qpct) and exposes 5 fields with key fields UsageDecisionCodeGroup, UsageDecisionCode, Language. It has 1 association to related views. Part of development package VDM_QM_INSPECTION.

Data Sources (1)

SourceAliasJoin Type
qpct qpct from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UsageDecisionCodeGroup _UsageDecisionCodeGroup $projection.UsageDecisionCodeGroup = _UsageDecisionCodeGroup.UsageDecisionCodeGroup

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IUSGDECCODET view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Usage Decision Code - Text view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey UsageDecisionCode view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY UsageDecisionCodeGroup qpct codegruppe
KEY UsageDecisionCode qpct code
KEY Language sprache
UsageDecisionCodeText
_UsageDecisionCodeGroup _UsageDecisionCodeGroup
@AbapCatalog.sqlViewName: 'IUSGDECCODET'
//@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Usage Decision Code - Text'
@Analytics.dataCategory: #DIMENSION
@Metadata.allowExtensions:true
@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #LANGUAGE_DEPENDENT_TEXT ]
@ObjectModel:{
     usageType: {
        dataClass: #CUSTOMIZING,
        sizeCategory: #M,
        serviceQuality: #A 
},
     dataCategory: #TEXT,
     representativeKey: 'UsageDecisionCode'
}
@Search.searchable: true
@Metadata.ignorePropagatedAnnotations: true
define view I_UsageDecisionCodeText as select from qpct
    association [0..1] to I_UsageDecisionCodeGroup as _UsageDecisionCodeGroup
      on $projection.UsageDecisionCodeGroup = _UsageDecisionCodeGroup.UsageDecisionCodeGroup
{
   @Consumption.valueHelpDefinition: [ 
     { entity:  { name:    'I_UsageDecisionCodeGroupStdVH',
                  element: 'UsageDecisionCodeGroup' }
     }]
   @ObjectModel.foreignKey.association: '_UsageDecisionCodeGroup'
   key qpct.codegruppe as UsageDecisionCodeGroup,
   key qpct.code as UsageDecisionCode,
   @Semantics.language: true
   key sprache as Language,
   @Semantics.text: true
   @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #HIGH }
   cast( kurztext as vdm_qtxt_code preserving type ) as UsageDecisionCodeText,
   
   _UsageDecisionCodeGroup
   
}
where qpct.katalogart = '3' // Usage Decision

  and qpct.version = '000001'