R_DngrsGdsClassfctnHazardLblTP

DDL: R_DNGRSGDSCLASSFCTNHAZARDLBLTP Type: view_entity TRANSACTIONAL

DG Classification Hazard Label - TP

R_DngrsGdsClassfctnHazardLblTP is a Transactional CDS View that provides data about "DG Classification Hazard Label - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltLblForPckgs) and exposes 14 fields with key field CmplRqRsltDngrsGdsLblUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltLblForPckgs I_CmplRqRsltLblForPckgs from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_RgtyGrphc _RgtyGrphc _RgtyGrphc.RgtyGrphcUUID = $projection.DngrsGoodsHazardLabelUUID
[0..1] I_DangerousGoodsHazardLabel _DangerousGoodsHazardLabel _DangerousGoodsHazardLabel.dngrsgoodshazardlabeluuid = $projection.DngrsGoodsHazardLabelUUID

Annotations (10)

NameValueLevelField
EndUserText.label DG Classification Hazard Label - TP view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name DngrsGdsClassfctnHazardLabel view
ObjectModel.representativeKey CmplRqRsltDngrsGdsLblUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsLblUUID CmplRqRsltDngrsGdsLblUUID Dangerous Goods Labeling
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
Product _DangerousGoodsClassification Product Product Sold
ComplianceRequirement _DangerousGoodsClassification ComplianceRequirement Compliance Requirement
CmplRqRsltProcessingStatus _DangerousGoodsClassification CmplRqRsltProcessingStatus Processing Status
DngrsGoodsHazardLabelUUID Graphic UUID
DangerousGoodsHazardLabel
DngrsGdsRgtyGrphcOriginType DngrsGdsRgtyGrphcOriginType Dangerous Goods Graphic Origin Type
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_DangerousGoodsClassification _DangerousGoodsClassification
_DangerousGoodsHazardLabel _DangerousGoodsHazardLabel

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_DngrsGdsClassfctnHazardLblTP.
-- 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_DngrsGdsClassfctnHazardLblTP AS
SELECT
  CmplRqRsltDngrsGdsLblUUID,
  CmplRqRsltUUID,
  _DangerousGoodsClassification.Product AS Product,
  _DangerousGoodsClassification.ComplianceRequirement AS ComplianceRequirement,
  _DangerousGoodsClassification.CmplRqRsltProcessingStatus AS CmplRqRsltProcessingStatus,
  cast( RgtyGrphcUUID as dngrsgoodshazardlabeluuid preserving type ) AS DngrsGoodsHazardLabelUUID,
  cast ( _RgtyGrphc.RgtyGrphc as dangerousgoodshazardlabel preserving type ) AS DangerousGoodsHazardLabel,
  DngrsGdsRgtyGrphcOriginType,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_CmplRqRsltLblForPckgs
LEFT OUTER JOIN I_RgtyGrphc AS _RgtyGrphc ON _RgtyGrphc.RgtyGrphcUUID = DngrsGoodsHazardLabelUUID  -- association [0..1]
LEFT OUTER JOIN I_DangerousGoodsHazardLabel AS _DangerousGoodsHazardLabel ON _DangerousGoodsHazardLabel.dngrsgoodshazardlabeluuid = DngrsGoodsHazardLabelUUID  -- association [0..1]
;