R_CmplRqRsltGHSClfnTP

DDL: R_CMPLRQRSLTGHSCLFNTP Type: view_entity TRANSACTIONAL

GHS Classification - TP

R_CmplRqRsltGHSClfnTP is a Transactional CDS View that provides data about "GHS Classification - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltGHSClfn) and exposes 25 fields with key field GHSClassificationUUID. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltGHSClfn I_CmplRqRsltGHSClfn from

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_ProdCmplncPhrs _GHSClfnHazardClassPhrs $projection.GHSClfnHazardClassUUID = _GHSClfnHazardClassPhrs.ProdCmplncPhrsUUID
[0..1] I_ProdCmplncPhrs _GHSClfnHazardCategoryPhrs $projection.GHSClfnHazardCategoryUUID = _GHSClfnHazardCategoryPhrs.ProdCmplncPhrsUUID
[0..1] I_ProdCmplncPhrs _GHSClfnRouteOfExposurePhrs $projection.GHSClfnRouteOfExposureUUID = _GHSClfnRouteOfExposurePhrs.ProdCmplncPhrsUUID
[0..1] I_ProdCmplncPhrs _GHSClfnClassfctnProcedPhrs $projection.GHSClfnClassfctnProcedUUID = _GHSClfnClassfctnProcedPhrs.ProdCmplncPhrsUUID
[0..1] I_ProdCmplncPhrs _GHSClfnHazardStatement1Phrs $projection.GHSClfnHazardStatement1UUID = _GHSClfnHazardStatement1Phrs.ProdCmplncPhrsUUID
[0..1] I_ProdCmplncPhrs _GHSClfnHazardStatement2Phrs $projection.GHSClfnHazardStatement2UUID = _GHSClfnHazardStatement2Phrs.ProdCmplncPhrsUUID
[0..*] R_CmplRqRsltGHSClfnAddlInfoTP _CmplRqRsltGHSClfnAddlInfo
[0..*] R_CmplRqRsltGHSClfnAddlStmntTP _CmplRqRsltGHSClfnAddlStmnt
[0..*] R_CmplRqRsltGHSClfnTgtOrgan1TP _CmplRqRsltGHSClfnTgtOrgan
[0..*] R_CmplRqRsltGHSClfnTgtOrgan2TP _CmplRqRsltGHSClfnTgtOrgan2

Annotations (8)

NameValueLevelField
EndUserText.label GHS Classification - TP view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY GHSClassificationUUID GHSClassificationUUID GHS Classification
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
GHSClfnHazardClassUUID GHSClfnHazardClassUUID Hazard Class
GHSClfnHazardCategoryUUID GHSClfnHazardCategoryUUID Hazard Category
GHSClfnRouteOfExposureUUID GHSClfnRouteOfExposureUUID Route of Exposure
GHSClfnHazardStatement1UUID GHSClfnHazardStatement1UUID Hazard Statements
GHSClfnHazardStatement2UUID GHSClfnHazardStatement2UUID Hazard Statements
GHSClfnClassfctnProcedUUID GHSClfnClassfctnProcedUUID Classification Procedure
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_CmplRqRsltGHSClfnAddlInfo _CmplRqRsltGHSClfnAddlInfo
_CmplRqRsltGHSClfnAddlStmnt _CmplRqRsltGHSClfnAddlStmnt
_CmplRqRsltGHSClfnAssmt _CmplRqRsltGHSClfnAssmt
_CmplRqRsltGHSClfnTgtOrgan _CmplRqRsltGHSClfnTgtOrgan
_CmplRqRsltGHSClfnTgtOrgan2 _CmplRqRsltGHSClfnTgtOrgan2
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_GHSClfnHazardClassPhrs _GHSClfnHazardClassPhrs
_GHSClfnHazardCategoryPhrs _GHSClfnHazardCategoryPhrs
_GHSClfnRouteOfExposurePhrs _GHSClfnRouteOfExposurePhrs
_GHSClfnClassfctnProcedPhrs _GHSClfnClassfctnProcedPhrs
_GHSClfnHazardStatement1Phrs _GHSClfnHazardStatement1Phrs
_GHSClfnHazardStatement2Phrs _GHSClfnHazardStatement2Phrs

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 R_CmplRqRsltGHSClfnTP.
-- 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 R_CmplRqRsltGHSClfnTP AS
SELECT
  GHSClassificationUUID,
  CmplRqRsltUUID,
  GHSClfnHazardClassUUID,
  GHSClfnHazardCategoryUUID,
  GHSClfnRouteOfExposureUUID,
  GHSClfnHazardStatement1UUID,
  GHSClfnHazardStatement2UUID,
  GHSClfnClassfctnProcedUUID,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_CmplRqRsltGHSClfn
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnHazardClassPhrs ON GHSClfnHazardClassUUID = _GHSClfnHazardClassPhrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnHazardCategoryPhrs ON GHSClfnHazardCategoryUUID = _GHSClfnHazardCategoryPhrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnRouteOfExposurePhrs ON GHSClfnRouteOfExposureUUID = _GHSClfnRouteOfExposurePhrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnClassfctnProcedPhrs ON GHSClfnClassfctnProcedUUID = _GHSClfnClassfctnProcedPhrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnHazardStatement1Phrs ON GHSClfnHazardStatement1UUID = _GHSClfnHazardStatement1Phrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncPhrs AS _GHSClfnHazardStatement2Phrs ON GHSClfnHazardStatement2UUID = _GHSClfnHazardStatement2Phrs.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN R_CmplRqRsltGHSClfnAddlInfoTP AS _CmplRqRsltGHSClfnAddlInfo ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CmplRqRsltGHSClfnAddlStmntTP AS _CmplRqRsltGHSClfnAddlStmnt ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CmplRqRsltGHSClfnTgtOrgan1TP AS _CmplRqRsltGHSClfnTgtOrgan ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CmplRqRsltGHSClfnTgtOrgan2TP AS _CmplRqRsltGHSClfnTgtOrgan2 ON /* condition not available in parsed metadata */  -- association [0..*]
;