I_MaterialPlanningUsageText

DDL: I_MATERIALPLANNINGUSAGETEXT Type: view_entity BASIC Package: ODATA_MM_CCTR_MAINTAIN

Material planning usage - Text

I_MaterialPlanningUsageText is a Basic CDS View that provides data about "Material planning usage - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields MRPSourcingControl, Language. It has 1 association to related views. Part of development package ODATA_MM_CCTR_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Material planning usage - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey MRPSourcingControl view
Search.searchable true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MRPSourcingControl
KEY Language
DomainValue dd07t domvalue_l
MRPSourcingControlName dd07t ddtext
_MaterialPlanningUsage _MaterialPlanningUsage
_Language _Language
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Material planning usage - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { usageType:{ serviceQuality: #X,
                            sizeCategory: #S,
                            dataClass: #MIXED },
                dataCategory:#TEXT  ,
                supportedCapabilities: [ #SEARCHABLE_ENTITY, #LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ],
                representativeKey: 'MRPSourcingControl'}
@Search.searchable: true
@VDM.viewType: #BASIC
define view entity I_MaterialPlanningUsageText
  as select from dd07t

  association        to parent I_MaterialPlanningUsage as _MaterialPlanningUsage on $projection.MRPSourcingControl = _MaterialPlanningUsage.MRPSourcingControl

  association [0..1] to I_Language                     as _Language              on $projection.Language = _Language.Language

{
      @ObjectModel.foreignKey.association: '_MaterialPlanningUsage'
      @ObjectModel.text.element: ['MRPSourcingControlName']

  key cast (cast(substring(dd07t.domvalue_l ,1,1) as abap.char( 1 ) ) as autet ) as MRPSourcingControl,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type )                          as Language,
      @Consumption.hidden: true
      dd07t.domvalue_l                                                           as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @Semantics.text: true
      dd07t.ddtext                                                               as MRPSourcingControlName,
      _MaterialPlanningUsage,
      _Language
}
where
      domname        = 'AUTET'
  and dd07t.as4local = 'A'
  and dd07t.as4vers  = '0000'
  and dd07t.ddlanguage = $session.system_language