C_SftyDataShtRelatedAssmt
SDS Related Assmt for unpackaged prods
C_SftyDataShtRelatedAssmt is a Consumption CDS View that provides data about "SDS Related Assmt for unpackaged prods" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 21 fields with key fields ChmlCmplncInfoUUID, SubstanceUUID, CmplRqVersUUID, CmplRqRsltUUID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRslt | CmplRqRslt | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmplRqVersEnhanced | _CmplRqVers | $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- |
| [1..1] | I_ChmlCmplncInfo | _ChmlCmplncInfo | $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --required to show a draft-indicator |
| [1..1] | C_CmplRqRsltDraftAdminvData | _DraftAdministrativeData | $projection.CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID |
| [0..1] | I_BusinessUserBasic | _ProcessorUser | $projection.Processor = _ProcessorUser.BusinessPartner -- Determines the full name of the business user who has released the CRR |
| [0..1] | I_BusinessUserBasic | _ReleasedByUser | $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCCCRRSDSRELASSM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | SDS Related Assmt for unpackaged prods | 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: Related Assessment | view | |
| UI.headerInfo.typeNamePlural | Safety Data Sheet: Related Assessments | view | |
| UI.headerInfo.title.value | CmplRqVersName | view | |
| Search.searchable | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| KEY | SubstanceUUID | SubstanceUUID | Substance | |
| 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 | ||
| CmplRqRsltProcessingStatus | CmplRqRsltProcessingStatus | Processing Status | ||
| Processor | Processor | User Name | ||
| CmplRqRsltPrelimProcessorName | ||||
| ReleasedByUser | ReleasedByUser | Released By | ||
| ReleasedByUserName | ||||
| CmplRqRsltProcessorName | ||||
| char30asSemanticObjectAction | ||||
| _CmplRqVers | _CmplRqVers | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _DraftAdministrativeData | _DraftAdministrativeData | |||
| _ReleasedByUser | _ReleasedByUser |
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_SftyDataShtRelatedAssmt.
-- 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: CCCCRRSDSRELASSM
CREATE VIEW C_SftyDataShtRelatedAssmt AS
SELECT
ChmlCmplncInfoUUID,
SubstanceUUID,
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,
CmplRqRsltProcessingStatus,
Processor,
cast(_ProcessorUser.PersonFullName as ehpma_processor_name preserving type) AS CmplRqRsltPrelimProcessorName,
ReleasedByUser,
cast(_ReleasedByUser.PersonFullName as ehpma_processor_name preserving type) AS ReleasedByUserName,
cast( '' as ehpma_processor_name ) AS CmplRqRsltProcessorName
FROM I_CmplRqRslt AS CmplRqRslt
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- association [0..1]
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 I_BusinessUserBasic AS _ProcessorUser ON Processor = _ProcessorUser.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _ReleasedByUser ON ReleasedByUser = _ReleasedByUser.BusinessPartner -- 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