I_PRODSPECCOMPONENT

CDS View

Product Spec Composition Components

I_PRODSPECCOMPONENT is a CDS View in S/4HANA. Product Spec Composition Components. It contains 1 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
A_ProdSpecComponent view from COMPOSITE Components for Product Specification Compositions
I_ProdSpecComponentBaseUoM view inner COMPOSITE Prod Specification Component Base UoM

Fields (1)

KeyField CDS FieldsUsed in Views
KEY ProdSpecComponentInternalID ProdSpecComponentInternalID 1
@AbapCatalog.sqlViewName: 'IPRODSPECOMP'
@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: 'Product Spec Composition Components'

define view I_ProdSpecComponent
  as select distinct from  I_ProdSpecCmpstnTypeSpecType as compositionSpecType
    inner join             I_Specification              as spec        on compositionSpecType.SpecificationType = spec.SpecificationType
    left outer to one join I_SpecificationLastChange    as lastchanged on spec.SpecificationInternalID = lastchanged.SpecificationInternalID

  association [1..*] to I_Specification                as _Specification                on $projection.ProdSpecComponentInternalID = _Specification.SpecificationInternalID
  association [0..*] to I_ProdSpecComponentDescription as _ProdSpecComponentDescription on $projection.ProdSpecComponentInternalID = _ProdSpecComponentDescription.ProdSpecComponentInternalID
  association [0..1] to I_ProdSpecComponentBaseUoM     as _ProdSpecComponentBaseUoM     on $projection.ProdSpecComponentInternalID = _ProdSpecComponentBaseUoM.ProdSpecComponentInternalID
  association [0..1] to I_SpecificationLastChange      as _SpecificationLastChange      on $projection.ProdSpecComponentInternalID = _SpecificationLastChange.SpecificationInternalID

{
  key cast(spec.SpecificationInternalID as /plmb/spc_component_int_id preserving type ) as ProdSpecComponentInternalID,
      cast(spec.Specification as /plmb/spc_component_id preserving type )               as ProdSpecComponent,
      spec.SpecificationType,

      cast(max(spec.SpecificationIsDeleted)  as esedelflg )                             as SpecificationIsDeleted,
      cast(lastchanged.SpecificationLastChangeDate as /plmb/spc_changed_on )            as SpecificationLastChangeDate,

      _Specification,
      _ProdSpecComponentDescription,
      _ProdSpecComponentBaseUoM,
      _SpecificationLastChange,
      spec._LogAccMObjectTypeActive,
      spec._LogAccMObjSecureIDAssgmt,
      spec._LogAccMObjectUserAuthzn
}
group by
  spec.SpecificationInternalID,
  spec.Specification,
  spec.SpecificationType,
  lastchanged.SpecificationLastChangeDate
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODSPECCMPSTNTYPESPECTYPE",
"I_SPECIFICATION",
"I_SPECIFICATIONLASTCHANGE"
],
"ASSOCIATED":
[
"I_LOGACCMOBJECTTYPEACTIVE",
"I_LOGACCMOBJECTUSERAUTHZN",
"I_LOGACCMOBJSECUREIDASSGMT",
"I_PRODSPECCOMPONENTBASEUOM",
"I_PRODSPECCOMPONENTDESCRIPTION",
"I_SPECIFICATION",
"I_SPECIFICATIONLASTCHANGE"
],
"BASE":
[
"I_SPECIFICATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/