P_BasicDescForReldRglnScore
P_BasicDescForReldRglnScore is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CmplRqRslt, I_CmplRqRsltDngrsGdsBscDescT) and exposes 6 fields with key fields ChmlCmplncInfoUUID, CmplRqRsltUUID, Language, LanguageEthen10else0endasFallbackScore.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRslt | I_CmplRqRslt | from |
| I_CmplRqRsltDngrsGdsBscDescT | I_CmplRqRsltDngrsGdsBscDescT | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PDGBDSCFRRS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | I_CmplRqRslt | ChmlCmplncInfoUUID | Chemical Compliance Information PP |
| KEY | CmplRqRsltUUID | I_CmplRqRslt | CmplRqRsltUUID | SDS Assessment |
| KEY | Language | I_CmplRqRsltDngrsGdsBscDescT | Language | Report Text Language |
| KEY | LanguageEthen10else0endasFallbackScore | |||
| CmplRqVersUUID | I_CmplRqRslt | CmplRqVersUUID | NodeID | |
| DangerousGoodBasicDescription | I_CmplRqRsltDngrsGdsBscDescT | DangerousGoodBasicDescription | Dangerous Goods Basic Description |
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_BasicDescForReldRglnScore.
-- 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 P_BasicDescForReldRglnScore AS
SELECT
I_CmplRqRslt.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
I_CmplRqRslt.CmplRqRsltUUID AS CmplRqRsltUUID,
I_CmplRqRsltDngrsGdsBscDescT.Language AS Language,
case when I_CmplRqRslt.ComplianceRequirement = 'UNRTDG' and I_CmplRqRsltDngrsGdsBscDescT.Language = $session.system_language then 51 when I_CmplRqRslt.ComplianceRequirement = 'UNRTDG' and I_CmplRqRsltDngrsGdsBscDescT.Language = 'E' then 50 when I_CmplRqRslt.ComplianceRequirement = 'IMDG-Code' and I_CmplRqRsltDngrsGdsBscDescT.Language = 'E' then 40 when I_CmplRqRslt.ComplianceRequirement = 'ADR' and I_CmplRqRsltDngrsGdsBscDescT.Language = $session.system_language then 31 when I_CmplRqRslt.ComplianceRequirement = 'ADR' and I_CmplRqRsltDngrsGdsBscDescT.Language = 'E' then 30 when I_CmplRqRslt.ComplianceRequirement = '49 CFR' and I_CmplRqRsltDngrsGdsBscDescT.Language = $session.system_language then 21 when I_CmplRqRsltDngrsGdsBscDescT.Language = 'E' then 10 else 0 end as FallbackScore AS LanguageEthen10else0endasFallbackScore,
I_CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
I_CmplRqRsltDngrsGdsBscDescT.DangerousGoodBasicDescription AS DangerousGoodBasicDescription
FROM I_CmplRqRslt
INNER JOIN I_CmplRqRsltDngrsGdsBscDescT ON /* join condition not captured in parsed metadata */
;
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