I_BOOOperationPRTChangeState

DDL: I_BOOOPERATIONPRTCHANGESTATE SQL: IPPBOOOPPRTCS Type: view BASIC Package: VDM_PP_MD_RTG

BOO Operation Production Resource/Tool Change State

I_BOOOperationPRTChangeState is a Basic CDS View (Dimension) that provides data about "BOO Operation Production Resource/Tool Change State" in SAP S/4HANA. It reads from 1 data source (plfh) and exposes 55 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsSequence, BOOOperationInternalID. It has 22 associations to related views. Part of development package VDM_PP_MD_RTG.

Data Sources (1)

SourceAliasJoin Type
plfh plfh from

Associations (22)

CardinalityTargetAliasCondition
[1..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[1..1] I_BillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
[1..1] I_BOOOperationInternalID _BOOOperationInternalID $projection.BillOfOperationsType = _BOOOperationInternalID.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOOperationInternalID.BillOfOperationsGroup and $projection.BOOOperationInternalID = _BOOOperationInternalID.BOOOperationInternalID
[1..1] I_BillOfOperationsSequence _BillOfOperationsSequence $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BillOfOperationsSequence.BillOfOperationsSequence
[1..1] I_BillOfOperationsOperation _BillOfOperationsOperation $projection.BillOfOperationsType = _BillOfOperationsOperation.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsOperation.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsOperation.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BillOfOperationsOperation.BillOfOperationsSequence and $projection.BOOOperationInternalID = _BillOfOperationsOperation.BOOOperationInternalID
[1..1] I_BOOOperationPRTInternalID _BOOOperationPRTInternalID $projection.BillOfOperationsType = _BOOOperationPRTInternalID.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOOperationPRTInternalID.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOOperationPRTInternalID.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BOOOperationPRTInternalID.BillOfOperationsSequence and $projection.BOOOperationInternalID = _BOOOperationPRTInternalID.BOOOperationInternalID and $projection.BOOOperationPRTInternalID = _BOOOperationPRTInternalID.BOOOperationPRTInternalID
[1..1] I_UnitOfMeasure _ProductionResourceToolUnit $projection.ProdnRsceToolStdWorkQtyUnit = _ProductionResourceToolUnit.UnitOfMeasure
[1..1] I_UnitOfMeasure _ProdnResourceToolUsageUnit $projection.ProdnRsceToolUsageQuantityUnit = _ProdnResourceToolUsageUnit.UnitOfMeasure
[1..1] I_ProductionResourceType _ProductionResourceType $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
[1..1] I_ProdnRsceToolMasterData _ProdnRsceToolMasterData $projection.ProductionResourceType = _ProdnRsceToolMasterData.ProductionResourceType and $projection.ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID
[1..1] I_ProdnRsceToolStandardText _ProdnRsceToolStandardText $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode
[0..1] I_ProdnRsceToolControlProfile _ProdnRsceToolControlProfile $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile
[1..1] I_ProdnRsceToolQtyCalcFormula _ProdnRsceToolTotQtyCalcFmla $projection.ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula
[1..1] I_ProdnRsceToolQtyCalcFormula _ProdnRsceToolUsageQtyCalcFmla $projection.ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula
[1..1] I_OperationDateOffsetRefCode _StartDateOffsetReferenceCode $projection.StartDateOffsetReferenceCode = _StartDateOffsetReferenceCode.OperationDateOffsetRefCode
[1..1] I_OperationDateOffsetRefCode _EndDateOffsetReferenceCode $projection.EndDateOffsetReferenceCode = _EndDateOffsetReferenceCode.OperationDateOffsetRefCode
[0..1] I_UnitOfMeasure _StartDateOffsetDurationUnit $projection.StartDateOffsetDurationUnit = _StartDateOffsetDurationUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _EndDateOffsetDurationUnit $projection.EndDateOffsetDurationUnit = _EndDateOffsetDurationUnit.UnitOfMeasure
[1..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_ChangeMaster _ChangeMaster $projection.ChangeNumber = _ChangeMaster.ChangeNumber

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPPBOOOPPRTCS view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey BOOOperationPRTIntVersCounter view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
EndUserText.label BOO Operation Production Resource/Tool Change State view
Metadata.allowExtensions true view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType plfh plnty
KEY BillOfOperationsGroup plfh plnnr
KEY BillOfOperationsVariant plfh plnal
KEY BillOfOperationsSequence plfh plnfl
KEY BOOOperationInternalID plfh plnkn
KEY BOOOperationPRTInternalID plfh pzlfh
zaehlasBOOOperationPRTIntVersCounter
BillOfOperationsVersion plfh versn
ProdnRsceToolItemNumber plfh psnfh
ProductionResourceType plfh objty
ProductionResourceInternalID plfh objid
ProdnRsceToolControlProfile plfh steuf
ProdnRsceToolStandardTextCode plfh ktsch
ProdnRsceToolText plfh txtz1
CreationDate datui
LastChangeDate datuc
ChangeNumber plfh aennr
ValidityStartDate plfh datuv
ValidityEndDate plfh valid_to
IsDeleted plfh loekz
IsImplicitlyDeleted plfh loekz_inherited
ProdnRsceToolStdWorkQtyUnit plfh mgeinh
ProdnRsceToolStandardWorkQty plfh mgvgw
ProdnRsceToolTotQtyCalcFormula plfh mgform
ProdnRsceToolUsageQuantityUnit plfh eweinh
ProdnRsceToolUsageQuantity plfh ewvgw
ProdnRsceToolUsageQtyCalcFmla plfh ewform
StartDateOffsetReferenceCode plfh bzoffb
StartDateOffsetDurationUnit plfh ehoffb
StartDateOffsetDuration plfh offstb
EndDateOffsetReferenceCode plfh bzoffe
EndDateOffsetDurationUnit plfh ehoffe
EndDateOffsetDuration plfh offste
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperations _BillOfOperations
_BOOOperationInternalID _BOOOperationInternalID
_BillOfOperationsOperation _BillOfOperationsOperation
_BillOfOperationsSequence _BillOfOperationsSequence
_BOOOperationPRTInternalID _BOOOperationPRTInternalID
_ProductionResourceType _ProductionResourceType
_ProdnRsceToolMasterData _ProdnRsceToolMasterData
_ProdnRsceToolControlProfile _ProdnRsceToolControlProfile
_ProdnRsceToolTotQtyCalcFmla _ProdnRsceToolTotQtyCalcFmla
_ProdnRsceToolUsageQtyCalcFmla _ProdnRsceToolUsageQtyCalcFmla
_ProdnRsceToolStandardText _ProdnRsceToolStandardText
_ProductionResourceToolUnit _ProductionResourceToolUnit
_ProdnResourceToolUsageUnit _ProdnResourceToolUsageUnit
_StartDateOffsetReferenceCode _StartDateOffsetReferenceCode
_StartDateOffsetDurationUnit _StartDateOffsetDurationUnit
_EndDateOffsetReferenceCode _EndDateOffsetReferenceCode
_EndDateOffsetDurationUnit _EndDateOffsetDurationUnit
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ChangeMaster _ChangeMaster
@AbapCatalog.sqlViewName: 'IPPBOOOPPRTCS'
@AbapCatalog.preserveKey: true 
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_CreatedByUser', '_LastChangedByUser']
@VDM.viewType: #BASIC
@Analytics: {dataCategory: #DIMENSION}
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'BOOOperationPRTIntVersCounter'
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #MASTER }
@Search.searchable: true
@EndUserText.label: 'BOO Operation Production Resource/Tool Change State'
@Metadata.allowExtensions: true

define view I_BOOOperationPRTChangeState
  as select from plfh

  association [1..1] to I_BillOfOperationsType        as _BillOfOperationsType          on  $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
  association [1..1] to I_BillOfOperationsGroup       as _BillOfOperationsGroup         on  $projection.BillOfOperationsType  = _BillOfOperationsGroup.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup

  association [1..1] to I_BillOfOperations            as _BillOfOperations              on  $projection.BillOfOperationsType    = _BillOfOperations.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup   = _BillOfOperations.BillOfOperationsGroup
                                                                                        and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant

  association [1..1] to I_BOOOperationInternalID      as _BOOOperationInternalID        on  $projection.BillOfOperationsType   = _BOOOperationInternalID.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup  = _BOOOperationInternalID.BillOfOperationsGroup
                                                                                        and $projection.BOOOperationInternalID = _BOOOperationInternalID.BOOOperationInternalID

  association [1..1] to I_BillOfOperationsSequence    as _BillOfOperationsSequence      on  $projection.BillOfOperationsType     = _BillOfOperationsSequence.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup    = _BillOfOperationsSequence.BillOfOperationsGroup
                                                                                        and $projection.BillOfOperationsVariant  = _BillOfOperationsSequence.BillOfOperationsVariant
                                                                                        and $projection.BillOfOperationsSequence = _BillOfOperationsSequence.BillOfOperationsSequence

  association [1..1] to I_BillOfOperationsOperation   as _BillOfOperationsOperation     on  $projection.BillOfOperationsType     = _BillOfOperationsOperation.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup    = _BillOfOperationsOperation.BillOfOperationsGroup
                                                                                        and $projection.BillOfOperationsVariant  = _BillOfOperationsOperation.BillOfOperationsVariant
                                                                                        and $projection.BillOfOperationsSequence = _BillOfOperationsOperation.BillOfOperationsSequence
                                                                                        and $projection.BOOOperationInternalID   = _BillOfOperationsOperation.BOOOperationInternalID

  association [1..1] to I_BOOOperationPRTInternalID   as _BOOOperationPRTInternalID     on  $projection.BillOfOperationsType      = _BOOOperationPRTInternalID.BillOfOperationsType
                                                                                        and $projection.BillOfOperationsGroup     = _BOOOperationPRTInternalID.BillOfOperationsGroup
                                                                                        and $projection.BillOfOperationsVariant   = _BOOOperationPRTInternalID.BillOfOperationsVariant
                                                                                        and $projection.BillOfOperationsSequence  = _BOOOperationPRTInternalID.BillOfOperationsSequence
                                                                                        and $projection.BOOOperationInternalID    = _BOOOperationPRTInternalID.BOOOperationInternalID
                                                                                        and $projection.BOOOperationPRTInternalID = _BOOOperationPRTInternalID.BOOOperationPRTInternalID

  association [1..1] to I_UnitOfMeasure               as _ProductionResourceToolUnit    on  $projection.ProdnRsceToolStdWorkQtyUnit = _ProductionResourceToolUnit.UnitOfMeasure
  association [1..1] to I_UnitOfMeasure               as _ProdnResourceToolUsageUnit    on  $projection.ProdnRsceToolUsageQuantityUnit = _ProdnResourceToolUsageUnit.UnitOfMeasure

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
  association [1..1] to I_ProductionResourceType      as _ProductionResourceType        on  $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
  association [1..1] to I_ProdnRsceToolMasterData     as _ProdnRsceToolMasterData       on  $projection.ProductionResourceType       = _ProdnRsceToolMasterData.ProductionResourceType
                                                                                        and $projection.ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID

  association [1..1] to I_ProdnRsceToolStandardText   as _ProdnRsceToolStandardText     on  $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode

  association [0..1] to I_ProdnRsceToolControlProfile as _ProdnRsceToolControlProfile   on  $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile
  association [1..1] to I_ProdnRsceToolQtyCalcFormula as _ProdnRsceToolTotQtyCalcFmla   on  $projection.ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula
  association [1..1] to I_ProdnRsceToolQtyCalcFormula as _ProdnRsceToolUsageQtyCalcFmla on  $projection.ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula

  association [1..1] to I_OperationDateOffsetRefCode  as _StartDateOffsetReferenceCode  on  $projection.StartDateOffsetReferenceCode = _StartDateOffsetReferenceCode.OperationDateOffsetRefCode
  association [1..1] to I_OperationDateOffsetRefCode  as _EndDateOffsetReferenceCode    on  $projection.EndDateOffsetReferenceCode = _EndDateOffsetReferenceCode.OperationDateOffsetRefCode

  association [0..1] to I_UnitOfMeasure               as _StartDateOffsetDurationUnit   on  $projection.StartDateOffsetDurationUnit = _StartDateOffsetDurationUnit.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure               as _EndDateOffsetDurationUnit     on  $projection.EndDateOffsetDurationUnit = _EndDateOffsetDurationUnit.UnitOfMeasure

  association [1..1] to I_User                        as _CreatedByUser                 on  $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User                        as _LastChangedByUser             on  $projection.LastChangedByUser = _LastChangedByUser.UserID
  association [0..1] to I_ChangeMaster                as _ChangeMaster                  on  $projection.ChangeNumber = _ChangeMaster.ChangeNumber

{
           @ObjectModel.foreignKey.association: '_BillOfOperationsType'
  key      plfh.plnty                                                     as   BillOfOperationsType,
           @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
           @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
  key      plfh.plnnr                                                     as   BillOfOperationsGroup,
           @ObjectModel.foreignKey.association: '_BillOfOperations'
  key      plfh.plnal                                                     as   BillOfOperationsVariant,
           @ObjectModel.foreignKey.association: '_BillOfOperationsSequence'
  key      plfh.plnfl                                                     as   BillOfOperationsSequence,
           @ObjectModel.foreignKey.association: '_BOOOperationInternalID'
  key      plfh.plnkn                                                     as   BOOOperationInternalID,
           @ObjectModel.foreignKey.association:  '_BOOOperationPRTInternalID'
  key      plfh.pzlfh                                                     as   BOOOperationPRTInternalID,
           -- Representative key
  key      plfh.zaehl                                                     as   BOOOperationPRTIntVersCounter,

           plfh.versn                                                     as   BillOfOperationsVersion,

           // External key

           plfh.psnfh                                                     as   ProdnRsceToolItemNumber,

           @ObjectModel.foreignKey.association: '_ProductionResourceType'
           plfh.objty                                                     as   ProductionResourceType,
           @ObjectModel.foreignKey.association: '_ProdnRsceToolMasterData'
           plfh.objid                                                     as   ProductionResourceInternalID,
           @ObjectModel.foreignKey.association: '_ProdnRsceToolControlProfile'
           plfh.steuf                                                     as   ProdnRsceToolControlProfile,

           // Text

           @ObjectModel.foreignKey.association: '_ProdnRsceToolStandardText'
           plfh.ktsch                                                     as   ProdnRsceToolStandardTextCode,
           @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
           @Semantics.text: true
           plfh.txtz1                                                     as   ProdnRsceToolText,

           // Admin

           @Semantics.systemDate.createdAt: true
           datui                                                          as   CreationDate,
--         @ObjectModel.foreignKey.association: '_CreatedByUser'
           @Semantics.user.createdBy: true
           cast(plfh.useri as vdm_createdbyuserid preserving type)        as   CreatedByUser,
           @Semantics.systemDate.lastChangedAt: true
           datuc                                                          as   LastChangeDate,
--         @ObjectModel.foreignKey.association: '_LastChangedByUser'
           @Semantics.user.lastChangedBy: true
           cast(plfh.userc as vdm_lastchangedbyuserid preserving type)    as   LastChangedByUser,
           @ObjectModel.foreignKey.association: '_ChangeMaster'
           plfh.aennr                                                     as   ChangeNumber,
           @Semantics.businessDate.from: true
           plfh.datuv                                                     as   ValidityStartDate,
           @Semantics.businessDate.to: true
           plfh.valid_to                                                  as   ValidityEndDate,

           plfh.loekz                                                     as   IsDeleted,
           plfh.loekz_inherited                                           as   IsImplicitlyDeleted,

           @ObjectModel.foreignKey.association: '_ProductionResourceToolUnit'
           @Semantics.unitOfMeasure: true
           plfh.mgeinh                                                    as   ProdnRsceToolStdWorkQtyUnit,
           @Semantics.quantity.unitOfMeasure: 'ProdnRsceToolStdWorkQtyUnit'
           @DefaultAggregation: #SUM
           plfh.mgvgw                                                     as   ProdnRsceToolStandardWorkQty,
           @ObjectModel.foreignKey.association: '_ProdnRsceToolTotQtyCalcFmla'
           plfh.mgform                                                    as   ProdnRsceToolTotQtyCalcFormula,

           @ObjectModel.foreignKey.association: '_ProdnResourceToolUsageUnit'
           @Semantics.unitOfMeasure: true
           plfh.eweinh                                                    as   ProdnRsceToolUsageQuantityUnit,
           @Semantics.quantity.unitOfMeasure: 'ProdnRsceToolUsageQuantityUnit'
           @DefaultAggregation: #SUM
           plfh.ewvgw                                                     as   ProdnRsceToolUsageQuantity,
           @ObjectModel.foreignKey.association: '_ProdnRsceToolUsageQtyCalcFmla'
           plfh.ewform                                                    as   ProdnRsceToolUsageQtyCalcFmla,

           @ObjectModel.foreignKey.association: '_StartDateOffsetReferenceCode'
           plfh.bzoffb                                                    as   StartDateOffsetReferenceCode,
           @ObjectModel.foreignKey.association: '_StartDateOffsetDurationUnit'
           @Semantics.unitOfMeasure: true
           plfh.ehoffb                                                    as   StartDateOffsetDurationUnit,
           @Semantics.quantity.unitOfMeasure: 'StartDateOffsetDurationUnit'
           @DefaultAggregation: #SUM
           plfh.offstb                                                    as   StartDateOffsetDuration,

           @ObjectModel.foreignKey.association: '_EndDateOffsetReferenceCode'
           plfh.bzoffe                                                    as   EndDateOffsetReferenceCode,
           @ObjectModel.foreignKey.association: '_EndDateOffsetDurationUnit'
           @Semantics.unitOfMeasure: true
           plfh.ehoffe                                                    as   EndDateOffsetDurationUnit,
           @Semantics.quantity.unitOfMeasure: 'EndDateOffsetDurationUnit'
           @DefaultAggregation: #SUM
           plfh.offste                                                    as   EndDateOffsetDuration,

           // Associations

           _BillOfOperationsType,
           _BillOfOperationsGroup,
           _BillOfOperations,
           _BOOOperationInternalID,
           _BillOfOperationsOperation,
           _BillOfOperationsSequence,
           _BOOOperationPRTInternalID,

           _ProductionResourceType,
           _ProdnRsceToolMasterData,
           _ProdnRsceToolControlProfile,
           _ProdnRsceToolTotQtyCalcFmla,
           _ProdnRsceToolUsageQtyCalcFmla,
           _ProdnRsceToolStandardText,
           _ProductionResourceToolUnit,
           _ProdnResourceToolUsageUnit,
           _StartDateOffsetReferenceCode,
           _StartDateOffsetDurationUnit,
           _EndDateOffsetReferenceCode,
           _EndDateOffsetDurationUnit,
           _CreatedByUser,
           _LastChangedByUser,
           _ChangeMaster
}