C_SubstanceVH

DDL: C_SUBSTANCEVH SQL: CSUBVH Type: view CONSUMPTION

Substance Value Help

C_SubstanceVH is a Consumption CDS View that provides data about "Substance Value Help" in SAP S/4HANA. It reads from 1 data source (I_SubstanceTP) and exposes 20 fields with key field SubstanceUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubstanceTP Substance from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SubstanceText _SubstanceText $projection.SubstanceUUID = _SubstanceText.SubstanceUUID

Annotations (13)

NameValueLevelField
EndUserText.label Substance Value Help view
AbapCatalog.sqlViewName CSUBVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID I_SubstanceTP SubstanceUUID Substance
ListedSubstanceUUID I_SubstanceTP ListedSubstanceUUID Listed Substance
SubstanceName I_SubstanceTP SubstanceName Substance Name
SubstanceInternalName I_SubstanceTP SubstanceInternalName Internal Name
CustListedSubstanceDfltName
CntntListedSubstanceDfltName
CompanySubstanceName I_SubstanceTP CompanySubstanceName Substance Name
CustListedSubstance
CntntListedSubstance
ECNumber
CustECNumber
CntntECNumber
CASNumber
CustCASNumber
CntntCASNumber
CustMolecularFormula
CntntMolecularFormula
ResponsibleUnit I_SubstanceTP ResponsibleUnit Responsible Unit
Specification I_SubstanceTP 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_SubstanceVH.
-- 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: CSUBVH

CREATE VIEW C_SubstanceVH AS
SELECT
  Substance.SubstanceUUID AS SubstanceUUID,
  Substance.ListedSubstanceUUID AS ListedSubstanceUUID,
  Substance.SubstanceName AS SubstanceName,
  Substance.SubstanceInternalName AS SubstanceInternalName,
  Substance._ListedSubstance.CustListedSubstanceDfltName AS CustListedSubstanceDfltName,
  Substance._ListedSubstance.CntntListedSubstanceDfltName AS CntntListedSubstanceDfltName,
  Substance.CompanySubstanceName AS CompanySubstanceName,
  Substance._ListedSubstance.CustListedSubstance AS CustListedSubstance,
  Substance._ListedSubstance.CntntListedSubstance AS CntntListedSubstance,
  Substance._ListedSubstance.ECNumber AS ECNumber,
  Substance._ListedSubstance.CustECNumber AS CustECNumber,
  Substance._ListedSubstance.CntntECNumber AS CntntECNumber,
  Substance._ListedSubstance.CASNumber AS CASNumber,
  Substance._ListedSubstance.CustCASNumber AS CustCASNumber,
  Substance._ListedSubstance.CntntCASNumber AS CntntCASNumber,
  Substance._ListedSubstance.CustMolecularFormula AS CustMolecularFormula,
  Substance._ListedSubstance.CntntMolecularFormula AS CntntMolecularFormula,
  Substance.ResponsibleUnit AS ResponsibleUnit,
  Substance.Specification AS Specification
FROM I_SubstanceTP AS Substance
LEFT OUTER JOIN I_SubstanceText AS _SubstanceText ON SubstanceUUID = _SubstanceText.SubstanceUUID  -- association [0..*]
;