C_ChmCmInCmplRqRsltSftyDataSht
SDS Compliance Requirement Results for UP
C_ChmCmInCmplRqRsltSftyDataSht is a Consumption CDS View that provides data about "SDS Compliance Requirement Results for UP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 20 fields with key fields ChmlCmplncInfoUUID, CmplRqVersUUID, CmplRqRsltUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRslt | CmplRqRslt | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmplRqVersEnhanced | _CmplRqVers | $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- Applicability areas to show the country (used in virtual elements coding for filtering) "remove it after changing virtual element from CRV to CRR !!!!! |
| [0..*] | I_CmplRqVersAppltyArea | _CmplRqVersAppltyArea | $projection.CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID -- Document information to show the language (used in virtual elements coding for filtering) |
| [0..*] | I_CmplRqRsltSftyDataShtDoc | _CmplRqRsltSftyDataShtDoc | $projection.CmplRqRsltUUID = _CmplRqRsltSftyDataShtDoc.CmplRqRsltUUID -- SDS countries (used in virtual elements coding for filtering) |
| [0..*] | I_CmplRqRsltSftyDataShtCntry | _CmplRqRsltSftyDataShtCntry | $projection.CmplRqRsltUUID = _CmplRqRsltSftyDataShtCntry.CmplRqRsltUUID -- |
| [1..1] | I_ChmlCmplncInfo | _ChmlCmplncInfo | $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --required to show a draft-indicator |
| [1..1] | C_CmplRqRsltDraftAdminvData | _DraftAdministrativeData | $projection.CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID |
| [1..1] | P_CChmlCmplConstants | _Constants | _Constants.Constant1 = _Constants.Constant1 |
| [0..1] | I_CmplRqRsltSftyDataShtStsTxt | _CmplRqRsltSftyDataShtStsTxt | _CmplRqRsltSftyDataShtStsTxt.CmplRqRsltCmplncSts = $projection.CmplRqRsltCalculatedStatus and _CmplRqRsltSftyDataShtStsTxt.SAPDataDictionaryDomain = 'EHSDS_CRR_STATUS' and _CmplRqRsltSftyDataShtStsTxt.Language = $session.system_language |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCCCRRSDS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | SDS Compliance Requirement Results for UP | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.headerInfo.typeName | Safety Data Sheet Assessment | view | |
| UI.headerInfo.typeNamePlural | Safety Data Sheet Assessments | view | |
| UI.headerInfo.title.value | CmplRqVersName | view | |
| Search.searchable | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| KEY | CmplRqVersUUID | CmplRqVersUUID | NodeID | |
| KEY | CmplRqRsltUUID | CmplRqRsltUUID | SDS Assessment | |
| CmplRqVersName | ||||
| CmplRqVersNameInCurLang | ||||
| CmplRqVersEnglishName | _CmplRqVers | CmplRqVersEnglishName | ||
| ComplianceRequirement | _CmplRqVers | ComplianceRequirement | Compliance Requirement | |
| CmplRqPattern | _CmplRqVers | CmplRqPattern | Compliance Pattern | |
| CmplRqRsltNavgnLink | CmplRqRsltUUID | SDS Assessment | ||
| CmplRqRsltCalculatedStatus | CmplRqRsltCalculatedStatus | Calculated Compliance Status | ||
| CmplRqRsltCmplncStsTxt | ||||
| CmplRqRsltProcessingStatus | CmplRqRsltProcessingStatus | Processing Status | ||
| CountryName | ||||
| LanguageName | ||||
| _CmplRqVers | _CmplRqVers | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _CmplRqVersAppltyArea | _CmplRqVersAppltyArea | |||
| _CmplRqRsltSftyDataShtDoc | _CmplRqRsltSftyDataShtDoc | |||
| _CmplRqRsltSftyDataShtCntry | _CmplRqRsltSftyDataShtCntry | |||
| _DraftAdministrativeData | _DraftAdministrativeData |
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_ChmCmInCmplRqRsltSftyDataSht.
-- 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: CCCCRRSDS
CREATE VIEW C_ChmCmInCmplRqRsltSftyDataSht AS
SELECT
ChmlCmplncInfoUUID,
CmplRqVersUUID,
CmplRqRsltUUID,
cast( _CmplRqVers.CmplRqVersName as ehfnd_crr_crv_name preserving type ) AS CmplRqVersName,
_CmplRqVers._CmplRqVersTextInCurrentLang.CmplRqVersName AS CmplRqVersNameInCurLang,
_CmplRqVers.CmplRqVersEnglishName AS CmplRqVersEnglishName,
_CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
_CmplRqVers.CmplRqPattern AS CmplRqPattern,
CmplRqRsltUUID AS CmplRqRsltNavgnLink,
CmplRqRsltCalculatedStatus,
cast (_CmplRqRsltSftyDataShtStsTxt.CmplRqRsltCmplncStsTxt as ehsds_crr_doc_status_text ) AS CmplRqRsltCmplncStsTxt,
CmplRqRsltProcessingStatus,
cast( '' as ehfnd_countries_desc) AS CountryName,
cast( '' as ehsds_crr_langu_text ) AS LanguageName
FROM I_CmplRqRslt AS CmplRqRslt
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersAppltyArea AS _CmplRqVersAppltyArea ON CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSftyDataShtDoc AS _CmplRqRsltSftyDataShtDoc ON CmplRqRsltUUID = _CmplRqRsltSftyDataShtDoc.CmplRqRsltUUID -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSftyDataShtCntry AS _CmplRqRsltSftyDataShtCntry ON CmplRqRsltUUID = _CmplRqRsltSftyDataShtCntry.CmplRqRsltUUID -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltDraftAdminvData AS _DraftAdministrativeData ON CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID -- association [1..1]
LEFT OUTER JOIN P_CChmlCmplConstants AS _Constants ON _Constants.Constant1 = _Constants.Constant1 -- association [1..1]
LEFT OUTER JOIN I_CmplRqRsltSftyDataShtStsTxt AS _CmplRqRsltSftyDataShtStsTxt ON _CmplRqRsltSftyDataShtStsTxt.CmplRqRsltCmplncSts = CmplRqRsltCalculatedStatus AND _CmplRqRsltSftyDataShtStsTxt.SAPDataDictionaryDomain = 'EHSDS_CRR_STATUS' AND _CmplRqRsltSftyDataShtStsTxt.Language = $session.system_language -- association [0..1]
;
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