R_SpecCompositionDateIndep

DDL: R_SPECCOMPOSITIONDATEINDEP SQL: RSPCCMPDATEINDEP Type: view COMPOSITE Package: VDM_PLMB_SPC_VA

Spec Value Assignment Instance with Comp Date Independent

R_SpecCompositionDateIndep is a Composite CDS View that provides data about "Spec Value Assignment Instance with Comp Date Independent" in SAP S/4HANA. It reads from 4 data sources (I_SpecValAssgmtItem, I_SpecValAssgmtHeader, I_SpecValAssgmtUsage, I_SpecValAssgmt) and exposes 39 fields with key fields SpecValAssgmtHdr, SpecValAssgmt, ComponentSpecificationIntID, SpecificationInternalID, SpecValAssgmtChangeState. It has 1 association to related views. Part of development package VDM_PLMB_SPC_VA.

Data Sources (4)

SourceAliasJoin Type
I_SpecValAssgmtItem comp inner
I_SpecValAssgmtHeader header from
I_SpecValAssgmtUsage usage inner
I_SpecValAssgmt va inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SpecificationForKeyDate _SpecificationForKeyDate $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName RSPCCMPDATEINDEP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Spec Value Assignment Instance with Comp Date Independent view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY SpecValAssgmtHdr I_SpecValAssgmtHeader SpecValAssgmtHdr
KEY SpecValAssgmt I_SpecValAssgmt SpecValAssgmt
KEY ComponentSpecificationIntID I_SpecValAssgmtItem ComponentSpecificationIntID
KEY SpecificationInternalID I_SpecValAssgmtHeader SpecificationInternalID
KEY SpecValAssgmtChangeState I_SpecValAssgmt SpecValAssgmtChangeState
KEY SpecificationRating I_SpecValAssgmtUsage SpecificationRating
KEY SpecificationValidityArea I_SpecValAssgmtUsage SpecificationValidityArea
SpecValAssgmtType I_SpecValAssgmtHeader SpecValAssgmtType
SpecValAssgmtHdrIsDeleted I_SpecValAssgmtHeader SpecValAssgmtHdrIsDeleted
SpecValAssgmtValidityStartDate I_SpecValAssgmt SpecValAssgmtValidityStartDate
SpecValAssgmtValidityEndDate I_SpecValAssgmt SpecValAssgmtValidityEndDate
SpecValAssgmtChangeNumber I_SpecValAssgmt SpecValAssgmtChangeNumber
SpecValAssgmtCreationDate I_SpecValAssgmt SpecValAssgmtCreationDate
SpecValAssgmtCreatedByUser I_SpecValAssgmt SpecValAssgmtCreatedByUser
SpecValAssgmtLastChangeDate I_SpecValAssgmt SpecValAssgmtLastChangeDate
SpecValAssgmtLastChangedByUser I_SpecValAssgmt SpecValAssgmtLastChangedByUser
SpecValAssgmtSortSequence I_SpecValAssgmt SpecValAssgmtSortSequence
SpecValAssgmtUnitRefDimension I_SpecValAssgmt SpecValAssgmtUnitRefDimension
SpecValAssgmtIsInhtncSource I_SpecValAssgmt SpecValAssgmtIsInhtncSource
InhtdSpecValAssgmtIsTmpChgd I_SpecValAssgmt InhtdSpecValAssgmtIsTmpChgd
InhtdSpecValAssgmtIsPermChgd I_SpecValAssgmt InhtdSpecValAssgmtIsPermChgd
SpecInheritanceTemplate I_SpecValAssgmt SpecInheritanceTemplate
SpecValAssgmtInheritanceParent I_SpecValAssgmt SpecValAssgmtInheritanceParent
SpecValAssgmtInheritanceRoot I_SpecValAssgmt SpecValAssgmtInheritanceRoot
SpecValAssgmtRootSpecIntID I_SpecValAssgmt SpecValAssgmtRootSpecIntID
SpecValAssgmtIsDeleted I_SpecValAssgmt SpecValAssgmtIsDeleted
SpecValAssgmtUsageIsExcluded I_SpecValAssgmtUsage SpecValAssgmtUsageIsExcluded
SpecValAssgmtUsageIsRelevant I_SpecValAssgmtUsage SpecValAssgmtUsageIsRelevant
CompSpecComponentType I_SpecValAssgmtItem CompSpecComponentType
SpecValAssgmtItem I_SpecValAssgmtItem SpecValAssgmtItem
SpecValAssgmtItemChangeState I_SpecValAssgmtItem SpecValAssgmtItemChangeState
CompSpecQuantity I_SpecValAssgmtItem CompSpecQuantity
CompSpecUnit I_SpecValAssgmtItem CompSpecUnit
CompSpecExceptionCode I_SpecValAssgmtItem CompSpecExceptionCode
CompSpecLowerLimitOperator I_SpecValAssgmtItem CompSpecLowerLimitOperator
CompSpecLowerLimit I_SpecValAssgmtItem CompSpecLowerLimit
CompSpecUpperLimitOperator I_SpecValAssgmtItem CompSpecUpperLimitOperator
CompSpecUpperLimit I_SpecValAssgmtItem CompSpecUpperLimit
_SpecificationForKeyDate _SpecificationForKeyDate
@AbapCatalog.sqlViewName: 'RSPCCMPDATEINDEP'
@AbapCatalog.compiler.compareFilter: true

@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #COMPOSITE

@EndUserText.label: 'Spec Value Assignment Instance with Comp Date Independent'
define view R_SpecCompositionDateIndep
  as select from I_SpecValAssgmtHeader as header
    inner join   I_SpecValAssgmt       as va    on  header.SpecificationInternalID = va.SpecificationInternalID
                                                and header.SpecValAssgmtHdr        = va.SpecValAssgmtHdr
    inner join   I_SpecValAssgmtUsage  as usage on  va.SpecValAssgmt                  = usage.MasterTableElementInternalID
                                                and header.SpecificationInternalID    = usage.SpecificationInternalID
                                                and va.SpecValAssgmtValidityStartDate = usage.SpecValAssgmtUsgeValdtyStrtDte
                                                and va.SpecValAssgmtValidityEndDate   = usage.SpecValAssgmtUsgeValdtyEndDte
    inner join   I_SpecValAssgmtItem   as comp  on  header.SpecificationInternalID    = comp.SpecificationInternalID
                                                and va.SpecValAssgmt                  = comp.SpecValAssgmt
                                                and va.SpecValAssgmtValidityStartDate = comp.SpecValAssgmtItemValdtyStrtDte
                                                and va.SpecValAssgmtValidityEndDate   = comp.SpecValAssgmtItemValdtyEndDte

  association [0..1] to I_SpecificationForKeyDate as _SpecificationForKeyDate on $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID
{

  key header.SpecValAssgmtHdr,
  key va.SpecValAssgmt,
  key comp.ComponentSpecificationIntID,
  key header.SpecificationInternalID,
  key va.SpecValAssgmtChangeState,
  key usage.SpecificationRating,
  key usage.SpecificationValidityArea,

      header.SpecValAssgmtType,

      header.SpecValAssgmtHdrIsDeleted,

      va.SpecValAssgmtValidityStartDate,
      va.SpecValAssgmtValidityEndDate,
      va.SpecValAssgmtChangeNumber,
      va.SpecValAssgmtCreationDate,
      va.SpecValAssgmtCreatedByUser,
      va.SpecValAssgmtLastChangeDate,
      va.SpecValAssgmtLastChangedByUser,

      va.SpecValAssgmtSortSequence,
      va.SpecValAssgmtUnitRefDimension,
      va.SpecValAssgmtIsInhtncSource,
      va.InhtdSpecValAssgmtIsTmpChgd,
      va.InhtdSpecValAssgmtIsPermChgd,
      va.SpecInheritanceTemplate,
      va.SpecValAssgmtInheritanceParent,
      va.SpecValAssgmtInheritanceRoot,
      va.SpecValAssgmtRootSpecIntID,

      va.SpecValAssgmtIsDeleted,

      usage.SpecValAssgmtUsageIsExcluded,
      usage.SpecValAssgmtUsageIsRelevant,

      comp.CompSpecComponentType,
      comp.SpecValAssgmtItem,
      comp.SpecValAssgmtItemChangeState,

      comp.CompSpecQuantity,
      comp.CompSpecUnit,
      comp.CompSpecExceptionCode,
      comp.CompSpecLowerLimitOperator,
      comp.CompSpecLowerLimit,
      comp.CompSpecUpperLimitOperator,
      comp.CompSpecUpperLimit,

      _SpecificationForKeyDate

}
where
      va.SpecValAssgmtInheritanceRoot =  '00000000000000000000'
  and comp.SpecValAssgmtItemIsDeleted <> 'X'