I_ProdSpecPrptyCharcValue

DDL: I_PRODSPECPRPTYCHARCVALUE SQL: IPDSPCPRPCHVALUE Type: view COMPOSITE Package: VDM_PLMB_SPC_PROP_CUST_OP

Product Specification Property Value by Characteristic

I_ProdSpecPrptyCharcValue is a Composite CDS View that provides data about "Product Specification Property Value by Characteristic" in SAP S/4HANA. It reads from 3 data sources (I_ClfnObjectCharcValue, I_SpecCstmPropertyCharcAssgmt, I_ProdSpecPropertyHeader) and exposes 13 fields with key fields ProdSpecPrptyDefID, ProdSpecPrptyHeader, ProdSpecPrptyHdrChangeState, CharcInternalID, ClfnCharcValuePositionNumber. It has 3 associations to related views. Part of development package VDM_PLMB_SPC_PROP_CUST_OP.

Data Sources (3)

SourceAliasJoin Type
I_ClfnObjectCharcValue charvalue inner
I_SpecCstmPropertyCharcAssgmt cust inner
I_ProdSpecPropertyHeader property from

Associations (3)

CardinalityTargetAliasCondition
[1..*] I_ProductSpecification _ProductSpecification _ProductSpecification.ProductSpecificationInternalID = $projection.ProductSpecificationInternalID
[1..1] I_ProdSpecNonHistoric _ProdSpecNonHistoric _ProdSpecNonHistoric.ProductSpecificationInternalID = $projection.ProductSpecificationInternalID
[1..*] I_ProdSpecPropertyHeader _ProdSpecPropertyHeader _ProdSpecPropertyHeader.ProdSpecPrptyDefID = $projection.ProdSpecPrptyDefID and _ProdSpecPropertyHeader.ProdSpecPrptyHeader = $projection.ProdSpecPrptyHeader

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPDSPCPRPCHVALUE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Product Specification Property Value by Characteristic view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ProdSpecPrptyDefID I_SpecCstmPropertyCharcAssgmt ProdSpecPrptyDefID Property Def. ID
KEY ProdSpecPrptyHeader ProdSpecPrptyHeader
KEY ProdSpecPrptyHdrChangeState ProdSpecPrptyHdrChangeState
KEY CharcInternalID I_ClfnObjectCharcValue CharcInternalID Characteristic Internal ID
KEY ClfnCharcValuePositionNumber I_ClfnObjectCharcValue CharcValuePositionNumber
ProductSpecificationInternalID ProductSpecificationInternalID
ProdSpecPropertyCharacteristic
ProdSpecPrptyCharcValue
ProdSpecPrptyCharcLowrLmtQty
ProdSpecPrptyCharcUprLmtQty
_ProdSpecNonHistoric _ProdSpecNonHistoric
_ProductSpecification _ProductSpecification
_ProdSpecPropertyHeader _ProdSpecPropertyHeader

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ProdSpecPrptyCharcValue.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IPDSPCPRPCHVALUE

CREATE VIEW I_ProdSpecPrptyCharcValue AS
SELECT
  cust.ProdSpecPrptyDefID AS ProdSpecPrptyDefID,
  ProdSpecPrptyHeader,
  ProdSpecPrptyHdrChangeState,
  charvalue.CharcInternalID AS CharcInternalID,
  charvalue.CharcValuePositionNumber AS ClfnCharcValuePositionNumber,
  ProductSpecificationInternalID,
  cast( charvalue._Characteristic.Characteristic as /plmb/spc_prop_char_name preserving type ) AS ProdSpecPropertyCharacteristic,
  cast( charvalue.CharcValue as /plmb/spc_prop_char_value preserving type ) AS ProdSpecPrptyCharcValue,
  cast(charvalue.CharcFromNumericValue as /plmb/spc_prop_char_from_nval preserving type) AS ProdSpecPrptyCharcLowrLmtQty,
  cast(charvalue.CharcToNumericValue as /plmb/spc_prop_char_to_nval preserving type) AS ProdSpecPrptyCharcUprLmtQty
FROM I_ProdSpecPropertyHeader AS property
INNER JOIN I_ClfnObjectCharcValue AS charvalue ON /* join condition not captured in parsed metadata */
INNER JOIN I_SpecCstmPropertyCharcAssgmt AS cust ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductSpecification AS _ProductSpecification ON _ProductSpecification.ProductSpecificationInternalID = ProductSpecificationInternalID  -- association [1..*]
LEFT OUTER JOIN I_ProdSpecNonHistoric AS _ProdSpecNonHistoric ON _ProdSpecNonHistoric.ProductSpecificationInternalID = ProductSpecificationInternalID  -- association [1..1]
LEFT OUTER JOIN I_ProdSpecPropertyHeader AS _ProdSpecPropertyHeader ON _ProdSpecPropertyHeader.ProdSpecPrptyDefID = ProdSpecPrptyDefID AND _ProdSpecPropertyHeader.ProdSpecPrptyHeader = ProdSpecPrptyHeader  -- association [1..*]
;