I_MfgBillOfOperations

DDL: I_MFGBILLOFOPERATIONS SQL: IMFGBILLOFOPER Type: view BASIC

Manufacturing Bill of Operations

I_MfgBillOfOperations is a Basic CDS View (Dimension) that provides data about "Manufacturing Bill of Operations" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperations) and exposes 15 fields with key fields BillOfOperationsType, BillOfOperationsGroup. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillOfOperations plkz from

Associations (3)

CardinalityTargetAliasCondition
[1..*] I_MfgBillOfOperationsChgSt _BillOfOperationsChangeState $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant -- to child: Sequences
[1..*] I_MfgBillOfOperationsSequence _BillOfOperationsSequence $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant -- to child: Material to BOO assignment
[1..*] I_MfgBOOMaterialAssignment _BOOMaterialAssignment $projection.BillOfOperationsType = _BOOMaterialAssignment.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOMaterialAssignment.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOMaterialAssignment.BillOfOperationsVariant

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IMFGBILLOFOPER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey BillOfOperationsVariant view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Manufacturing Bill of Operations view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BillOfOperations BillOfOperationsType
KEY BillOfOperationsGroup I_BillOfOperations BillOfOperationsGroup
BillOfOperationsVariant
LastUsageDate I_BillOfOperations LastUsageDate
NumberOfUsages I_BillOfOperations NumberOfUsages
HasChangeNumber I_BillOfOperations HasChangeNumber
HasParameterEffectivity I_BillOfOperations HasParameterEffectivity
LastChangeDate I_BillOfOperations LastChangeDate
LastChangeTime I_BillOfOperations LastChangeTime
LastChangedByUser I_BillOfOperations LastChangedByUser
_BillOfOperationsChangeState _BillOfOperationsChangeState
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsSequence _BillOfOperationsSequence
_BillOfOperationsType _BillOfOperationsType
_BOOMaterialAssignment _BOOMaterialAssignment
@AbapCatalog.sqlViewName: 'IMFGBILLOFOPER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
@ObjectModel.representativeKey: 'BillOfOperationsVariant'
@ObjectModel.semanticKey: ['BillOfOperationsType', 'BillOfOperationsGroup', 'BillOfOperationsVariant']
@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Manufacturing Bill of Operations'

define view I_MfgBillOfOperations
  as select from I_BillOfOperations as plkz
  
  -- to child: Change State of Root
  association [1..*] to I_MfgBillOfOperationsChgSt    as _BillOfOperationsChangeState on  $projection.BillOfOperationsType    = _BillOfOperationsChangeState.BillOfOperationsType
                                                                                      and $projection.BillOfOperationsGroup   = _BillOfOperationsChangeState.BillOfOperationsGroup
                                                                                      and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant
  -- to child: Sequences
  association [1..*] to I_MfgBillOfOperationsSequence as _BillOfOperationsSequence    on  $projection.BillOfOperationsType    = _BillOfOperationsSequence.BillOfOperationsType
                                                                                      and $projection.BillOfOperationsGroup   = _BillOfOperationsSequence.BillOfOperationsGroup
                                                                                      and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant
  -- to child: Material to BOO assignment
  association [1..*] to I_MfgBOOMaterialAssignment    as _BOOMaterialAssignment       on  $projection.BillOfOperationsType    = _BOOMaterialAssignment.BillOfOperationsType
                                                                                      and $projection.BillOfOperationsGroup   = _BOOMaterialAssignment.BillOfOperationsGroup
                                                                                      and $projection.BillOfOperationsVariant = _BOOMaterialAssignment.BillOfOperationsVariant
{
      // Key

      @ObjectModel.foreignKey.association: '_BillOfOperationsType'
  key plkz.BillOfOperationsType,
      @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
  key plkz.BillOfOperationsGroup,
      -- representative key
  key plkz.BillOfOperationsVariant,

      // Attributes

      plkz.LastUsageDate,
      plkz.NumberOfUsages,
      plkz.HasChangeNumber,
      plkz.HasParameterEffectivity,

      // Administrative Data

      @Semantics.systemDate.lastChangedAt: true
      plkz.LastChangeDate,
      @Semantics.systemTime.lastChangedAt: true
      plkz.LastChangeTime,
      @Semantics.user.lastChangedBy: true
      plkz.LastChangedByUser, 

      // Associations 

      _BillOfOperationsChangeState,
      _BillOfOperationsGroup,
      _BillOfOperationsSequence,
      _BillOfOperationsType,
      _BOOMaterialAssignment
}
where plkz.BillOfOperationsType = '2'  // Recipe

   or plkz.BillOfOperationsType = 'N'  // Standard routing

   or plkz.BillOfOperationsType = 'S'; // Reference operation set

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLOFOPERATIONS"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONSGROUP",
"I_BILLOFOPERATIONSTYPE",
"I_MFGBILLOFOPERATIONSCHGST",
"I_MFGBILLOFOPERATIONSSEQUENCE",
"I_MFGBOOMATERIALASSIGNMENT"
],
"BASE":
[
"I_BILLOFOPERATIONS"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/