I_PRODSPECCMPSTNTYPESPECTYPE

CDS View

Available Spec Types for Cmpstn Types

I_PRODSPECCMPSTNTYPESPECTYPE is a CDS View in S/4HANA. Available Spec Types for Cmpstn Types. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
A_ProdSpecCmpstnTypeSpecType view from COMPOSITE Available Spec Types by Composition Type
@AbapCatalog.sqlViewName: 'IPRSPTYBYCMPTYP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@Metadata.ignorePropagatedAnnotations: true

@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.sizeCategory: #S

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

@EndUserText.label: 'Available Spec Types for Cmpstn Types'
define view I_ProdSpecCmpstnTypeSpecType
  as select from I_SpecCstmCmpstnDefinition    as compositionDefinition
    inner join   I_SpecValAssgmtType           as vat     on compositionDefinition.ProdSpecCmpstnHdrValAssgmtType = vat.SpecValAssgmtType
    inner join   I_SpecValAssgmtTypeToSpecType as vatSpec on vatSpec.SpecValAssgmtType = vat.SpecValAssgmtType
  association [1..1] to I_ProdSpecCompositionTypeAll as _ProdSpecCompositionTypeAll on $projection.ProdSpecCompositionType = _ProdSpecCompositionTypeAll.ProdSpecCompositionType


{
  key ProdSpecCompositionType,
  key SpecificationType,
      _ProdSpecCompositionTypeAll
}
where
     vat.SpecValAssgmtCategory = 'B'
  or vat.SpecValAssgmtCategory = 'C'
union select from I_SpecCstmCmpstnDefinition as compositionDefinition
  inner join      I_SpecValAssgmtType        as vat on compositionDefinition.ProdSpecCmpstnHdrValAssgmtType = vat.SpecValAssgmtType
association [1..1] to I_ProdSpecCompositionTypeAll as _ProdSpecCompositionTypeAll on $projection.ProdSpecCompositionType = _ProdSpecCompositionTypeAll.ProdSpecCompositionType

{
  key ProdSpecCompositionType,
  key ProdSpecCmpstnSpecType as SpecificationType,
      _ProdSpecCompositionTypeAll
}
where
     vat.SpecValAssgmtCategory = 'RMS_N'
  or vat.SpecValAssgmtCategory = 'RMS_D'