P_US_AllRptblQtyCFR

DDL: P_US_ALLRPTBLQTYCFR SQL: PDGRQALLCFR Type: view COMPOSITE

P_US_AllRptblQtyCFR is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_CmplRqVersSubstanceList, I_ListedSubstanceSAP, P_US_RptblQtyNameLogonLangCFR, P_US_AllRptblQtyGrpItemSubSAP) and exposes 12 fields with key fields SubstanceUUID, CmplRqVersUUID. It has 2 associations to related views.

Data Sources (4)

SourceAliasJoin Type
I_CmplRqVersSubstanceList I_CmplRqVersSubstanceList from
I_ListedSubstanceSAP I_ListedSubstanceSAP inner
P_US_RptblQtyNameLogonLangCFR P_US_RptblQtyNameLogonLangCFR inner
P_US_AllRptblQtyGrpItemSubSAP ThresholdList inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.SubstanceListItmThresholdUoM = _UnitOfMeasure.UnitOfMeasure
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.SubstanceListItmThresholdUoM = _UnitOfMeasureText.UnitOfMeasure

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PDGRQALLCFR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID P_US_AllRptblQtyGrpItemSubSAP SubstanceUUID Substance
KEY CmplRqVersUUID P_US_AllRptblQtyGrpItemSubSAP CmplRqVersUUID NodeID
SubstanceName P_US_RptblQtyNameLogonLangCFR SubstanceName Substance Name
SubstanceNameInternal P_US_RptblQtyNameLogonLangCFR SubstanceNameInternal
ListedSubstanceGroupName P_US_RptblQtyNameLogonLangCFR ListedSubstanceGroupName
SubstanceListItmThreshold P_US_AllRptblQtyGrpItemSubSAP SubstanceListItmThreshold Threshold
SubstanceListItmThresholdUoM
CASNumber I_ListedSubstanceSAP CASNumber CAS Number
ECNumber I_ListedSubstanceSAP ECNumber EC Number
ResponsibleUnit P_US_AllRptblQtyGrpItemSubSAP ResponsibleUnit Responsible Unit
_UnitOfMeasure _UnitOfMeasure
_UnitOfMeasureText _UnitOfMeasureText

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 P_US_AllRptblQtyCFR.
-- 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: PDGRQALLCFR

CREATE VIEW P_US_AllRptblQtyCFR AS
SELECT
  ThresholdList.SubstanceUUID AS SubstanceUUID,
  ThresholdList.CmplRqVersUUID AS CmplRqVersUUID,
  P_US_RptblQtyNameLogonLangCFR.SubstanceName AS SubstanceName,
  P_US_RptblQtyNameLogonLangCFR.SubstanceNameInternal AS SubstanceNameInternal,
  P_US_RptblQtyNameLogonLangCFR.ListedSubstanceGroupName AS ListedSubstanceGroupName,
  ThresholdList.SubstanceListItmThreshold AS SubstanceListItmThreshold,
  cast ( ThresholdList.SubstanceListItmThresholdUoM as ehfnd_unit_code_nce preserving type) AS SubstanceListItmThresholdUoM,
  I_ListedSubstanceSAP.CASNumber AS CASNumber,
  I_ListedSubstanceSAP.ECNumber AS ECNumber,
  ThresholdList.ResponsibleUnit AS ResponsibleUnit
FROM I_CmplRqVersSubstanceList
INNER JOIN P_US_AllRptblQtyGrpItemSubSAP AS ThresholdList ON /* join condition not captured in parsed metadata */
INNER JOIN I_ListedSubstanceSAP ON /* join condition not captured in parsed metadata */
INNER JOIN P_US_RptblQtyNameLogonLangCFR ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON SubstanceListItmThresholdUoM = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON SubstanceListItmThresholdUoM = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
;