C_SftyDataShtRelatedAssmt

DDL: C_SFTYDATASHTRELATEDASSMT SQL: CCCCRRSDSRELASSM Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_CmplRqRslt CmplRqRslt from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;