C_PCStRctHzDePrdsListVH

DDL: C_PCSTRCTHZDEPRDSLISTVH Type: view_entity CONSUMPTION

Decomposition Product

C_PCStRctHzDePrdsListVH is a Consumption CDS View that provides data about "Decomposition Product" in SAP S/4HANA. It reads from 1 data source (I_Substance) and exposes 20 fields with key field SubstanceUUID.

Data Sources (1)

SourceAliasJoin Type
I_Substance I_Substance from

Annotations (11)

NameValueLevelField
EndUserText.label Decomposition Product view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey SubstanceUUID view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID SubstanceUUID Substance
ListedSubstanceUUID ListedSubstanceUUID Listed Substance
SubstanceInternalName SubstanceInternalName Internal Name
CustListedSubstanceDfltName _ListedSubstance CustListedSubstanceDfltName
CntntListedSubstanceDfltName _ListedSubstance CntntListedSubstanceDfltName
CompanySubstanceName
CustListedSubstance _ListedSubstance CustListedSubstance
CntntListedSubstance _ListedSubstance CntntListedSubstance
ECNumber _ListedSubstance ECNumber EC Number
CustECNumber _ListedSubstance CustECNumber
CntntECNumber _ListedSubstance CntntECNumber
CASNumber _ListedSubstance CASNumber CAS Number
CustCASNumber _ListedSubstance CustCASNumber
CntntCASNumber _ListedSubstance CntntCASNumber
CustMolecularFormula _ListedSubstance CustMolecularFormula
CntntMolecularFormula _ListedSubstance CntntMolecularFormula
ResponsibleUnitName
ResponsibleUnit ResponsibleUnit Responsible Unit
Specification Specification
_SubstanceText _SubstanceText

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 C_PCStRctHzDePrdsListVH.
-- 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.

CREATE VIEW C_PCStRctHzDePrdsListVH AS
SELECT
  SubstanceUUID,
  ListedSubstanceUUID,
  SubstanceInternalName,
  _ListedSubstance.CustListedSubstanceDfltName AS CustListedSubstanceDfltName,
  _ListedSubstance.CntntListedSubstanceDfltName AS CntntListedSubstanceDfltName,
  _SubstanceText[1:Language = $session.system_language].SubstanceName AS CompanySubstanceName,
  _ListedSubstance.CustListedSubstance AS CustListedSubstance,
  _ListedSubstance.CntntListedSubstance AS CntntListedSubstance,
  _ListedSubstance.ECNumber AS ECNumber,
  _ListedSubstance.CustECNumber AS CustECNumber,
  _ListedSubstance.CntntECNumber AS CntntECNumber,
  _ListedSubstance.CASNumber AS CASNumber,
  _ListedSubstance.CustCASNumber AS CustCASNumber,
  _ListedSubstance.CntntCASNumber AS CntntCASNumber,
  _ListedSubstance.CustMolecularFormula AS CustMolecularFormula,
  _ListedSubstance.CntntMolecularFormula AS CntntMolecularFormula,
  _RespUnitForProductStewardship._Text[1:Language = $session.system_language].ResponsibleUnitName AS ResponsibleUnitName,
  ResponsibleUnit,
  cast( Specification as ehfnd_internal_nr_nc preserving type ) AS Specification
FROM I_Substance
;