I_MfgBillOfOperationsChgSt

DDL: I_MFGBILLOFOPERATIONSCHGST SQL: IMFGBILLOFOPERCS Type: view BASIC

Manufacturing Bill of Operations Change State

I_MfgBillOfOperationsChgSt is a Basic CDS View (Dimension) that provides data about "Manufacturing Bill of Operations Change State" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperationsChangeState) and exposes 66 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BOOInternalVersionCounter. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillOfOperationsChangeState plko from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MfgBillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IMFGBILLOFOPERCS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true 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 BOOInternalVersionCounter view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Manufacturing Bill of Operations Change State view

Fields (66)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BillOfOperationsChangeState BillOfOperationsType
KEY BillOfOperationsGroup I_BillOfOperationsChangeState BillOfOperationsGroup
KEY BillOfOperationsVariant I_BillOfOperationsChangeState BillOfOperationsVariant
KEY BOOInternalVersionCounter I_BillOfOperationsChangeState BOOInternalVersionCounter
CreationDate
CreatedByUser I_BillOfOperationsChangeState CreatedByUser
LastChangeDate I_BillOfOperationsChangeState LastChangeDate
LastChangedByUser I_BillOfOperationsChangeState LastChangedByUser
ChangedDateTime I_BillOfOperationsChangeState ChangedDateTime
ChangeNumber
ValidityStartDate I_BillOfOperationsChangeState ValidityStartDate
ValidityEndDate I_BillOfOperationsChangeState ValidityEndDate
LastReorganizationDate
LastUsageDate I_BillOfOperationsChangeState LastUsageDate
NumberOfUsages I_BillOfOperationsChangeState NumberOfUsages
BillOfOperationsDateTime I_BillOfOperationsChangeState BillOfOperationsDateTime
IsDeleted I_BillOfOperationsChangeState IsDeleted
IsImplicitlyDeleted I_BillOfOperationsChangeState IsImplicitlyDeleted
IsMarkedForDeletion I_BillOfOperationsChangeState IsMarkedForDeletion
ReplacedBillOfOperations I_BillOfOperationsChangeState ReplacedBillOfOperations
BillOfOperationsDesc I_BillOfOperationsChangeState BillOfOperationsDesc
LongTextLanguageCode I_BillOfOperationsChangeState LongTextLanguageCode
WorkCenterTypeCode I_BillOfOperationsChangeState WorkCenterTypeCode
WorkCenterInternalID I_BillOfOperationsChangeState WorkCenterInternalID
Plant I_BillOfOperationsChangeState Plant
BillOfOperationsUsage I_BillOfOperationsChangeState BillOfOperationsUsage
BillOfOperationsStatus I_BillOfOperationsChangeState BillOfOperationsStatus
BillOfOperationsProfile I_BillOfOperationsChangeState BillOfOperationsProfile
ResponsiblePlannerGroup I_BillOfOperationsChangeState ResponsiblePlannerGroup
LineHierarchyInternalID I_BillOfOperationsChangeState LineHierarchyInternalID
InspSubsetFieldCombination I_BillOfOperationsChangeState InspSubsetFieldCombination
InspectionPartialLot I_BillOfOperationsChangeState InspectionPartialLot
SmplDrawingProcedure I_BillOfOperationsChangeState SmplDrawingProcedure
SmplDrawingProcedureVersion I_BillOfOperationsChangeState SmplDrawingProcedureVersion
InspectionLotDynamicLevel I_BillOfOperationsChangeState InspectionLotDynamicLevel
InspLotDynamicRule I_BillOfOperationsChangeState InspLotDynamicRule
InspExternalNumberingOfValues I_BillOfOperationsChangeState InspExternalNumberingOfValues
BillOfOperationsUnit I_BillOfOperationsChangeState BillOfOperationsUnit
MinimumLotSizeQuantity I_BillOfOperationsChangeState MinimumLotSizeQuantity
MaximumLotSizeQuantity I_BillOfOperationsChangeState MaximumLotSizeQuantity
OperationReferenceQuantity I_BillOfOperationsChangeState OperationReferenceQuantity
OperationUnit I_BillOfOperationsChangeState OperationUnit
OpQtyToBaseQtyNmrtr I_BillOfOperationsChangeState OpQtyToBaseQtyNmrtr
OpQtyToBaseQtyDnmntr I_BillOfOperationsChangeState OpQtyToBaseQtyDnmntr
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsStatus _BillOfOperationsStatus
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsUnit _BillOfOperationsUnit
_BillOfOperationsUsage _BillOfOperationsUsage
_ChangeMaster _ChangeMaster
_CreatedByUser _CreatedByUser
_InspExtNumbering _InspExtNumbering
_InspLotDynamicRule _InspLotDynamicRule
_InspPartialLotAssignment _InspPartialLotAssignment
_InspSubsetFieldCombination _InspSubsetFieldCombination
_InspectionLotDynamicLevel _InspectionLotDynamicLevel
_LastChangedByUser _LastChangedByUser
_LineHierarchy _LineHierarchy
_LongTextLanguage _LongTextLanguage
_Plant _Plant
_ResponsiblePlannerGroup _ResponsiblePlannerGroup
_SampleDrawingProcedure _SampleDrawingProcedure
_SmplDrwgProcedureVersion _SmplDrwgProcedureVersion
_WorkCenter _WorkCenter
_WorkCenterType _WorkCenterType
@AbapCatalog.sqlViewName: 'IMFGBILLOFOPERCS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_CreatedByUser', '_LastChangedByUser'] 
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@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, #EXTRACTION_DATA_SOURCE]
@ObjectModel.representativeKey: 'BOOInternalVersionCounter'
@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER }
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Manufacturing Bill of Operations Change State'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MfgBillOfOperationsChgSt
  as select from I_BillOfOperationsChangeState as plko

  -- to root, to parent
  association [1..1] to I_MfgBillOfOperations as _BillOfOperations   on  $projection.BillOfOperationsType    = _BillOfOperations.BillOfOperationsType
                                                                     and $projection.BillOfOperationsGroup   = _BillOfOperations.BillOfOperationsGroup
                                                                     and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
{
      @ObjectModel.foreignKey.association: '_BillOfOperationsType'
  key plko.BillOfOperationsType,
      @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
  key plko.BillOfOperationsGroup,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_MfgBillOfOperationsStdVH', element: 'BillOfOperationsVariant' } } ]
      @ObjectModel.foreignKey.association: '_BillOfOperations'
  key plko.BillOfOperationsVariant,
      @ObjectModel.text.element: 'BillOfOperationsDesc'
  key plko.BOOInternalVersionCounter,

      // Administration 

      -- Administrative Data
      @Semantics.systemDate.createdAt: true
      plko.CreationDate,
      @Semantics.user.createdBy: true
      plko.CreatedByUser,
      @Semantics.systemDate.lastChangedAt: true
      plko.LastChangeDate,
      @Semantics.user.lastChangedBy: true
      plko.LastChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true      
      plko.ChangedDateTime,
      -- Validity
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ChangeMasterStdVH', element: 'ChangeNumber' } } ]
      @ObjectModel.foreignKey.association: '_ChangeMaster'
      plko.ChangeNumber,
      @Semantics.businessDate.from: true
      plko.ValidityStartDate,
      @Semantics.businessDate.to: true
      plko.ValidityEndDate,
      -- Additional Data
      plko.LastReorganizationDate,
      plko.LastUsageDate,
      plko.NumberOfUsages,
      plko.BillOfOperationsDateTime,

      // Attributes

      plko.IsDeleted,
      plko.IsImplicitlyDeleted,
      plko.IsMarkedForDeletion,
      plko.ReplacedBillOfOperations,

      //  Header data

      @Semantics.text: true
      plko.BillOfOperationsDesc,
      @ObjectModel.foreignKey.association: '_LongTextLanguage'
      plko.LongTextLanguageCode,
      @ObjectModel.foreignKey.association: '_WorkCenterType'
      plko.WorkCenterTypeCode,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_WorkCenterStdVH', element: 'WorkCenterInternalID' } } ]
      @ObjectModel.foreignKey.association: '_WorkCenter'
      plko.WorkCenterInternalID,
      @ObjectModel.foreignKey.association: '_Plant'
      plko.Plant,
      @ObjectModel.foreignKey.association: '_BillOfOperationsUsage'
      plko.BillOfOperationsUsage,
      @ObjectModel.foreignKey.association: '_BillOfOperationsStatus'
      plko.BillOfOperationsStatus,
      plko.BillOfOperationsProfile,
      @ObjectModel.foreignKey.association: '_ResponsiblePlannerGroup'
      plko.ResponsiblePlannerGroup,
      @ObjectModel.foreignKey.association: '_LineHierarchy'
      plko.LineHierarchyInternalID,

      // Quality Management

      @ObjectModel.foreignKey.association: '_InspSubsetFieldCombination'
      plko.InspSubsetFieldCombination,
      @ObjectModel.foreignKey.association: '_InspPartialLotAssignment'
      plko.InspectionPartialLot,
      @ObjectModel.foreignKey.association: '_SampleDrawingProcedure'
      plko.SmplDrawingProcedure,
      @ObjectModel.foreignKey.association: '_SmplDrwgProcedureVersion'
      plko.SmplDrawingProcedureVersion,
      @ObjectModel.foreignKey.association: '_InspectionLotDynamicLevel'
      plko.InspectionLotDynamicLevel,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_InspLotDynamicRuleStdVH', element: 'InspLotDynamicRule' } } ]
      @ObjectModel.foreignKey.association: '_InspLotDynamicRule'
      plko.InspLotDynamicRule,
      @ObjectModel.foreignKey.association: '_InspExtNumbering'
      plko.InspExternalNumberingOfValues,

      // Quantities and UoM

      @Semantics.unitOfMeasure: true
      plko.BillOfOperationsUnit,
      @Semantics.quantity.unitOfMeasure: 'BillOfOperationsUnit'
      @DefaultAggregation: #MIN
      plko.MinimumLotSizeQuantity,
      @Semantics.quantity.unitOfMeasure: 'BillOfOperationsUnit'
      @DefaultAggregation: #MAX
      plko.MaximumLotSizeQuantity,

      // Default values of Activity

      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      plko.OperationReferenceQuantity,
      @Semantics.unitOfMeasure: true
      plko.OperationUnit,
      plko.OpQtyToBaseQtyNmrtr,
      plko.OpQtyToBaseQtyDnmntr,

      // Associations

      _BillOfOperations,
      _BillOfOperationsGroup,
      _BillOfOperationsStatus,
      _BillOfOperationsType,
      _BillOfOperationsUnit,
      _BillOfOperationsUsage,
      _ChangeMaster,
      _CreatedByUser,
      _InspExtNumbering,
      _InspLotDynamicRule,
      _InspPartialLotAssignment,
      _InspSubsetFieldCombination,
      _InspectionLotDynamicLevel,
      _LastChangedByUser,
      _LineHierarchy,
      _LongTextLanguage,
      _Plant,
      _ResponsiblePlannerGroup,
      _SampleDrawingProcedure,
      _SmplDrwgProcedureVersion,
      _WorkCenter,
      @Consumption.hidden: true
      _WorkCenterType
}
where plko.BillOfOperationsType = '2'  // Recipe

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

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

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLOFOPERATIONSCHANGESTATE"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONSGROUP",
"I_BILLOFOPERATIONSSTATUS",
"I_BILLOFOPERATIONSTYPE",
"I_BILLOFOPERATIONSUSAGE",
"I_CHANGEMASTER",
"I_INSPECTIONLOTDYNAMICLEVEL",
"I_INSPEXTNUMBERINGOFVALUES",
"I_INSPLOTDYNAMICRULE",
"I_INSPPARTIALLOTASSIGNMENT",
"I_INSPSUBSETFIELDCOMBINATION",
"I_LANGUAGE",
"I_LINEHIERARCHY",
"I_MFGBILLOFOPERATIONS",
"I_PLANT",
"I_RESPONSIBLEPLANNERGROUP",
"I_SAMPLEDRAWINGPROCEDURE",
"I_SMPLDRWGPROCEDUREVERSION",
"I_UNITOFMEASURE",
"I_USER",
"I_WORKCENTER",
"I_WORKCENTERTYPE"
],
"BASE":
[
"I_BILLOFOPERATIONSCHANGESTATE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/