I_MfgOrderType

DDL: I_MFGORDERTYPE SQL: IPPMFGORDERTYPE Type: view BASIC

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.

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 (19)

NameValueLevelField
AbapCatalog.sqlViewName IPPMFGORDERTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE 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
@AbapCatalog.sqlViewName: 'IPPMFGORDERTYPE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@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]
@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'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view 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');