I_MfgOrderType

DDL: I_MFGORDERTYPE Type: view_entity BASIC Package: VDM_PP_SFC

Manufacturing Order Type

I_MfgOrderType is a Basic CDS View (Dimension) that provides data about "Manufacturing Order Type" in SAP S/4HANA. It reads from 1 data source (I_OrderType) and exposes 4 fields with key field ManufacturingOrderType. It has 2 associations to related views. Part of development package VDM_PP_SFC.

Data Sources (1)

SourceAliasJoin Type
I_OrderType typ from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_MfgOrderTypeText _Text $projection.ManufacturingOrderType = _Text.ManufacturingOrderType
[0..1] I_MfgOrderCategory _MfgOrderCategory $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory

Annotations (18)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.technicalName IPPMFGORDERTYPE view
Analytics.internalName #LOCAL view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ManufacturingOrderType view
ObjectModel.sapObjectNodeType.name ManufacturingOrderType 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 Manufacturing Order Type view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrderType
ManufacturingOrderCategory
_MfgOrderCategory _MfgOrderCategory
_Text _Text
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.technicalName: 'IPPMFGORDERTYPE'
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE]
@ObjectModel.representativeKey: 'ManufacturingOrderType'
@ObjectModel.semanticKey: ['ManufacturingOrderType']
@ObjectModel.sapObjectNodeType.name: 'ManufacturingOrderType'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Manufacturing Order Type'

define view entity I_MfgOrderType
  as select from I_OrderType as typ
    association [0..*] to I_MfgOrderTypeText as _Text             on $projection.ManufacturingOrderType = _Text.ManufacturingOrderType
    association [0..1] to I_MfgOrderCategory as _MfgOrderCategory on $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory
{
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}  
      @ObjectModel.text.association: '_Text'
  key cast(typ.OrderType     as manufacturingordertype     preserving type) as ManufacturingOrderType,
      @ObjectModel.foreignKey.association: '_MfgOrderCategory'
      cast(typ.OrderCategory as manufacturingordercategory preserving type) as ManufacturingOrderCategory,

      // Associations

      _MfgOrderCategory,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Text
}
  where (typ.OrderCategory = '10' or  //Manufacturing orders only

         typ.OrderCategory = '40');