I_MRPQuantityDistributionKey

DDL: I_MRPQUANTITYDISTRIBUTIONKEY SQL: IMRPQTYDISTRKEY Type: view BASIC

Quantity Distribution Key in MRP

I_MRPQuantityDistributionKey is a Basic CDS View (Dimension) that provides data about "Quantity Distribution Key in MRP" in SAP S/4HANA. It reads from 1 data source (t437v) and exposes 6 fields with key fields Plant, QuantityDistributionKey. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t437v t437v from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_MRPQuantityDistrKeyText _Text $projection.Plant = _Text.Plant and $projection.QuantityDistributionKey = _Text.QuantityDistributionKey

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName IMRPQTYDISTRKEY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey QuantityDistributionKey view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Quantity Distribution Key in MRP view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Plant werks
KEY QuantityDistributionKey vertl
fnartasDistributionType
functasDistributionFunction
_Plant _Plant
_Text _Text
@AbapCatalog.sqlViewName: 'IMRPQTYDISTRKEY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.buffering: {status: #ACTIVE, type: #GENERIC, numberOfKeyFields: 001}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'QuantityDistributionKey'
@ObjectModel.semanticKey: ['Plant', 'QuantityDistributionKey']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Quantity Distribution Key in MRP'

define view I_MRPQuantityDistributionKey
  as select from t437v

  association [1..1] to I_Plant                   as _Plant on  $projection.Plant = _Plant.Plant
  association [0..*] to I_MRPQuantityDistrKeyText as _Text  on  $projection.Plant                   = _Text.Plant
                                                            and $projection.QuantityDistributionKey = _Text.QuantityDistributionKey
{
      // Key

      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @ObjectModel.foreignKey.association: '_Plant'
  key werks as Plant,
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
      @ObjectModel.text.association: '_Text'
  key vertl as QuantityDistributionKey,

--    @ObjectModel.foreignKey.association: '_DistributionType'
      fnart as DistributionType,
--    @ObjectModel.foreignKey.association: '_DistributionFunction'
      funct as DistributionFunction,

      // Associations

      _Plant,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Text
};