P_US_AllRptblQtyCFR
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)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.SubstanceListItmThresholdUoM = _UnitOfMeasure.UnitOfMeasure |
| [0..*] | I_UnitOfMeasureText | _UnitOfMeasureText | $projection.SubstanceListItmThresholdUoM = _UnitOfMeasureText.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA