I_CmplRqVersSubstListGrpSubst
Substance Group per Substance List
I_CmplRqVersSubstListGrpSubst is a Basic CDS View that provides data about "Substance Group per Substance List" in SAP S/4HANA. It reads from 3 data sources (ehfndv_req_grsub, I_LstdSubstWthVarAndGrp, I_CmplRqVersThldListItm) and exposes 13 fields with key fields CmplRqVersUUID, SubstanceListUUID, ListedSubstanceGroup, SubstanceListUUID, ListedSubstanceGroup. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ehfndv_req_grsub | GroupSubstance | union |
| I_LstdSubstWthVarAndGrp | ListedSubstance | inner |
| I_CmplRqVersThldListItm | ThresholdList | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmplRqVers | _CmplRqVers | $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- |
| [0..1] | I_CmplRqVersSubstanceList | _SubstList | $projection.SubstanceListUUID = _SubstList.SubstanceListUUID -- |
| [0..1] | I_ListedSubstanceDefaultName | _DefaultName | $projection.ListedSubstanceGroup = _DefaultName.ListedSubstance |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICRVLSTGRPSUB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Substance Group per Substance List | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqVersUUID | I_CmplRqVersThldListItm | CmplRqVersUUID | NodeID |
| KEY | SubstanceListUUID | I_CmplRqVersThldListItm | SubstanceListUUID | Substance List |
| KEY | ListedSubstanceGroup | I_CmplRqVersThldListItm | ListedSubstance | Group of Substances |
| CmplRqVers | ||||
| _CmplRqVers | _CmplRqVers | |||
| _SubstList | _SubstList | |||
| cmplrqversuuidasCmplRqVersUUID | ||||
| KEY | SubstanceListUUID | ehfndv_req_grsub | substancelistuuid | Substance List |
| KEY | ListedSubstanceGroup | ehfndv_req_grsub | listedsubstancegroup | Group of Substances |
| CmplRqVers | ||||
| _CmplRqVers | _CmplRqVers | |||
| _SubstList | _SubstList | |||
| _DefaultName | _DefaultName |
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_CmplRqVersSubstListGrpSubst.
-- 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: ICRVLSTGRPSUB
CREATE VIEW I_CmplRqVersSubstListGrpSubst AS
SELECT
ThresholdList.CmplRqVersUUID AS CmplRqVersUUID,
ThresholdList.SubstanceListUUID AS SubstanceListUUID,
ThresholdList.ListedSubstance AS ListedSubstanceGroup,
cast(ThresholdList.CmplRqVers as ehfnd_crv_id) AS CmplRqVers
FROM I_CmplRqVersThldListItm AS ThresholdList
INNER JOIN I_LstdSubstWthVarAndGrp AS ListedSubstance ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqVers AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersSubstanceList AS _SubstList ON SubstanceListUUID = _SubstList.SubstanceListUUID -- association [0..1]
LEFT OUTER JOIN I_ListedSubstanceDefaultName AS _DefaultName ON ListedSubstanceGroup = _DefaultName.ListedSubstance -- association [0..1]
-- UNION with additional select branch(es): ehfndv_req_grsub
;
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