I_ProdSpecNonHistoric

DDL: I_PRODSPECNONHISTORIC SQL: IPRODSPECNONHIS Type: view COMPOSITE Package: VDM_PLMB_SPC_BAS_OP

Product Specification Non Historic

I_ProdSpecNonHistoric is a Composite CDS View that provides data about "Product Specification Non Historic" in SAP S/4HANA. It reads from 2 data sources (I_ProdSpecType, I_SpecificationLastChange) and exposes 13 fields with key field ProductSpecificationInternalID. It has 9 associations to related views. Part of development package VDM_PLMB_SPC_BAS_OP.

Data Sources (2)

SourceAliasJoin Type
I_ProdSpecType _ProdSpecType inner
I_SpecificationLastChange _SpecificationLastChange inner

Associations (9)

CardinalityTargetAliasCondition
[1..*] I_ProductSpecification _ProductSpecification $projection.ProductSpecificationInternalID = _ProductSpecification.ProductSpecificationInternalID
[0..*] I_ProdSpecDescNonHistoric _ProdSpecDescNonHistoric $projection.ProductSpecificationInternalID = _ProdSpecDescNonHistoric.ProductSpecificationInternalID
[0..*] I_PrSpAllgnCmpstnHdrNonHist _PrSpAllgnCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _PrSpAllgnCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_ProdSpecStdCmpstnHdrNonHist _ProdSpecStdCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _ProdSpecStdCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_PrSpNtrntCmpstnHdrNonHist _PrSpNtrntCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _PrSpNtrntCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_ProdSpecCmpstnHdrNonHist _ProdSpecCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _ProdSpecCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_PrSpQtytvCmpstnHdrNonHist _PrSpQtytvCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _PrSpQtytvCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_PrSpQltatvCmpstnHdrNonHist _PrSpQltatvCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _PrSpQltatvCmpstnHdrNonHist.ProductSpecificationInternalID
[0..*] I_ProdSpecLstgCmpstnHdrNonHist _ProdSpecLstgCmpstnHdrNonHist $projection.ProductSpecificationInternalID = _ProdSpecLstgCmpstnHdrNonHist.ProductSpecificationInternalID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRODSPECNONHIS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Product Specification Non Historic view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ProductSpecificationInternalID _Specification SpecificationInternalID
ProductSpecification
ProdSpecType _Specification SpecificationType
ProdSpecRootLastChgDteTmeTxt I_SpecificationLastChange SpecLastChangeDateTime
_ProductSpecification _ProductSpecification
_ProdSpecDescNonHistoric _ProdSpecDescNonHistoric
_PrSpAllgnCmpstnHdrNonHist _PrSpAllgnCmpstnHdrNonHist
_ProdSpecStdCmpstnHdrNonHist _ProdSpecStdCmpstnHdrNonHist
_PrSpNtrntCmpstnHdrNonHist _PrSpNtrntCmpstnHdrNonHist
_ProdSpecCmpstnHdrNonHist _ProdSpecCmpstnHdrNonHist
_PrSpQtytvCmpstnHdrNonHist _PrSpQtytvCmpstnHdrNonHist
_PrSpQltatvCmpstnHdrNonHist _PrSpQltatvCmpstnHdrNonHist
_ProdSpecLstgCmpstnHdrNonHist _ProdSpecLstgCmpstnHdrNonHist
@AbapCatalog.sqlViewName: 'IPRODSPECNONHIS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #PRIVILEGED_ONLY

@ClientHandling.algorithm: #SESSION_VARIABLE

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

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

@EndUserText.label: 'Product Specification Non Historic'
define view I_ProdSpecNonHistoric
  as select distinct from I_Specification           as _Specification
    inner join            I_ProdSpecType            as _ProdSpecType            on _Specification.SpecificationType = _ProdSpecType.SpecificationType
    inner join            I_SpecificationLastChange as _SpecificationLastChange on _Specification.SpecificationInternalID = _SpecificationLastChange.SpecificationInternalID

  // Association to historical views

  association [1..*] to I_ProductSpecification         as _ProductSpecification         on $projection.ProductSpecificationInternalID = _ProductSpecification.ProductSpecificationInternalID

  // Association to non-historical views

  association [0..*] to I_ProdSpecDescNonHistoric      as _ProdSpecDescNonHistoric      on $projection.ProductSpecificationInternalID = _ProdSpecDescNonHistoric.ProductSpecificationInternalID

  association [0..*] to I_PrSpAllgnCmpstnHdrNonHist    as _PrSpAllgnCmpstnHdrNonHist    on $projection.ProductSpecificationInternalID = _PrSpAllgnCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_ProdSpecStdCmpstnHdrNonHist  as _ProdSpecStdCmpstnHdrNonHist  on $projection.ProductSpecificationInternalID = _ProdSpecStdCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_PrSpNtrntCmpstnHdrNonHist    as _PrSpNtrntCmpstnHdrNonHist    on $projection.ProductSpecificationInternalID = _PrSpNtrntCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_ProdSpecCmpstnHdrNonHist     as _ProdSpecCmpstnHdrNonHist     on $projection.ProductSpecificationInternalID = _ProdSpecCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_PrSpQtytvCmpstnHdrNonHist    as _PrSpQtytvCmpstnHdrNonHist    on $projection.ProductSpecificationInternalID = _PrSpQtytvCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_PrSpQltatvCmpstnHdrNonHist   as _PrSpQltatvCmpstnHdrNonHist   on $projection.ProductSpecificationInternalID = _PrSpQltatvCmpstnHdrNonHist.ProductSpecificationInternalID

  association [0..*] to I_ProdSpecLstgCmpstnHdrNonHist as _ProdSpecLstgCmpstnHdrNonHist on $projection.ProductSpecificationInternalID = _ProdSpecLstgCmpstnHdrNonHist.ProductSpecificationInternalID

{
  key _Specification.SpecificationInternalID                                  as ProductSpecificationInternalID,

      cast( Specification as /plmb/spc_prod_spec_ext_id_api preserving type ) as ProductSpecification,

      _Specification.SpecificationType                                        as ProdSpecType,

      _SpecificationLastChange.SpecLastChangeDateTime                         as ProdSpecRootLastChgDteTmeTxt,
      // Associations

      _ProductSpecification,
      _ProdSpecDescNonHistoric,
      _PrSpAllgnCmpstnHdrNonHist,
      _ProdSpecStdCmpstnHdrNonHist,
      _PrSpNtrntCmpstnHdrNonHist,
      _ProdSpecCmpstnHdrNonHist,
      _PrSpQtytvCmpstnHdrNonHist,
      _PrSpQltatvCmpstnHdrNonHist,
      _ProdSpecLstgCmpstnHdrNonHist
}