R_DangerousGoodsClassfctnDetTP

DDL: R_DANGEROUSGOODSCLASSFCTNDETTP Type: view_entity TRANSACTIONAL

DG Classification Detail - TP

R_DangerousGoodsClassfctnDetTP is a Transactional CDS View that provides data about "DG Classification Detail - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltDngrsGdsBscDets) and exposes 40 fields with key field CmplRqRsltDngrsGdsBscDetsUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltDngrsGdsBscDets DangerousGoodsClassfctnDetail from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ClassifiedAsDangerousGood _ClassifiedAsDangerousGood _ClassifiedAsDangerousGood.ClassifiedAsDangerousGood = $projection.ClassifiedAsDangerousGood
[0..1] I_DangerousGdsClassOrDivision _DangerousGdsClassOrDivision _DangerousGdsClassOrDivision.DangerousGoodsClass = $projection.DangerousGoodsClass
[0..1] I_DangerousGoodsPackingGroup _DangerousGoodsPackingGroup _DangerousGoodsPackingGroup.DangerousGoodsPackingGroup = $projection.DangerousGoodsPackingGroup
[0..1] I_CmplRqVersDngrsGdsPart1Item _CmplRqVersDngrsGdsPart1Item $projection.ProdCmplncDngrsGdsIdnNmbr = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsIdnNumber and $projection.ProdCmplncDngrsGdsIdnNmbrType = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsIdnNumberType and $projection.DangerousGoodsPackingGroup = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsPackingGroup and $projection.DangerousGoodsListItemVariant = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsListItemVariant and $projection.CmplRqVersUUID = _CmplRqVersDngrsGdsPart1Item.CmplRqVersUUID

Annotations (10)

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

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsBscDetsUUID I_CmplRqRsltDngrsGdsBscDets CmplRqRsltDngrsGdsBscDetsUUID NodeID
CmplRqRsltUUID I_CmplRqRsltDngrsGdsBscDets CmplRqRsltUUID SDS Assessment
CmplRqVersUUID I_CmplRqRsltDngrsGdsBscDets CmplRqVersUUID NodeID
ClassifiedAsDangerousGood I_CmplRqRsltDngrsGdsBscDets ClassifiedAsDangerousGood Classified As
ProdCmplncDngrsGdsIdnNmbrType I_CmplRqRsltDngrsGdsBscDets DangerousGoodsIdnNumberType Number Prefix
ProdCmplncDngrsGdsIdnNmbr I_CmplRqRsltDngrsGdsBscDets DangerousGoodsIdnNumber Number
DangerousGoodsClass I_CmplRqRsltDngrsGdsBscDets DangerousGoodsClass Class/Division
DangerousGoodsPackingGroup I_CmplRqRsltDngrsGdsBscDets DangerousGoodsPackingGroup Packing Group
DngrsGdsPackingInstructionText I_CmplRqRsltDngrsGdsBscDets PackingInstruction Instructions for Packer
DngrsGoodDescForDocsTmplText DngrsGoodDescForDocsTmplText Template for Descriptions for Documents
DangerousGoodsListItemVariant DangerousGoodsListItemVariant Variant
DngrsGdsQualifgWordPrefix DngrsGdsQualifgWordPrefix Prefix
DngrsGdsQualifgWordSuffix DngrsGdsQualifgWordSuffix Suffix
DngrsGdsTechName1SubstUUID DngrsGdsTechName1SubstUUID Technical Name 1
DngrsGdsTechName2SubstUUID DngrsGdsTechName2SubstUUID Technical Name 2
DngrsGdsTechName3SubstUUID DngrsGdsTechName3SubstUUID Technical Name 3
DngrsGdsTechName1PosOnSrce DngrsGdsTechName1PosOnSrce Position 1 on List
DngrsGdsTechName2PosOnSrce DngrsGdsTechName2PosOnSrce Position 2 on List
DngrsGdsTechName3PosOnSrce DngrsGdsTechName3PosOnSrce Position 3 on List
ProdIsEnvironmentalHazardous ProdIsEnvironmentalHazardous Product is Environmentally Hazardous
DngrsGdsMarnPlltnt1SubstUUID DngrsGdsMarnPlltnt1SubstUUID Marine Pollutant Name 1
DngrsGdsMarnPlltnt2SubstUUID DngrsGdsMarnPlltnt2SubstUUID Marine Pollutant Name 2
ProductIsMarinePollutant ProductIsMarinePollutant Product Is Marine Pollutant
ProductIsToxicByInhalation ProductIsToxicByInhalation Product Is Toxic by Inhalation
DngrsGdsRptblQty1SubstUUID DngrsGdsRptblQty1SubstUUID Reportable Quantity Name 1
DngrsGdsRptblQty2SubstUUID DngrsGdsRptblQty2SubstUUID Reportable Quantity Name 2
ReportableQtyIsPrintedOnDoc ReportableQtyIsPrintedOnDoc Print Reportable Quantity Names
ToxicByInhalationHazardZone ToxicByInhalationHazardZone Inhalation Hazard Zone
BasicClassfctnIsOverwritten BasicClassfctnIsOverwritten Basic Classification is Overwritten
DngrsGdsDescTmplIsOverwritten DngrsGdsDescTmplIsOverwritten Description Template is Overwritten
EnclosureVariant EnclosureVariant Enclosure Variant
SpecialProvisionOrExemptionTxt SpecialProvisionOrExemptionTxt Special Provision / Exemption
DngrsGdsIsIgnoredLblFrmRgln DngrsGdsIsIgnoredLblFrmRgln Ignore Labels from Regulation
AddlPlcdIsIgnoredLblFrmRgln AddlPlcdIsIgnoredLblFrmRgln Ignore Placards from Regulation
_ClassifiedAsDangerousGood _ClassifiedAsDangerousGood
_CmplRqVersDngrsGdsPart1Item _CmplRqVersDngrsGdsPart1Item
_DangerousGdsClassOrDivision _DangerousGdsClassOrDivision
_DangerousGoodsPackingGroup _DangerousGoodsPackingGroup
_EnclosureVariant _EnclosureVariant
_DangerousGoodsClassification _DangerousGoodsClassification

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_DangerousGoodsClassfctnDetTP.
-- 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_DangerousGoodsClassfctnDetTP AS
SELECT
  DangerousGoodsClassfctnDetail.CmplRqRsltDngrsGdsBscDetsUUID AS CmplRqRsltDngrsGdsBscDetsUUID,
  DangerousGoodsClassfctnDetail.CmplRqRsltUUID AS CmplRqRsltUUID,
  DangerousGoodsClassfctnDetail.CmplRqVersUUID AS CmplRqVersUUID,
  DangerousGoodsClassfctnDetail.ClassifiedAsDangerousGood AS ClassifiedAsDangerousGood,
  DangerousGoodsClassfctnDetail.DangerousGoodsIdnNumberType AS ProdCmplncDngrsGdsIdnNmbrType,
  DangerousGoodsClassfctnDetail.DangerousGoodsIdnNumber AS ProdCmplncDngrsGdsIdnNmbr,
  DangerousGoodsClassfctnDetail.DangerousGoodsClass AS DangerousGoodsClass,
  DangerousGoodsClassfctnDetail.DangerousGoodsPackingGroup AS DangerousGoodsPackingGroup,
  DangerousGoodsClassfctnDetail.PackingInstruction AS DngrsGdsPackingInstructionText,
  DngrsGoodDescForDocsTmplText,
  DangerousGoodsListItemVariant,
  DngrsGdsQualifgWordPrefix,
  DngrsGdsQualifgWordSuffix,
  DngrsGdsTechName1SubstUUID,
  DngrsGdsTechName2SubstUUID,
  DngrsGdsTechName3SubstUUID,
  DngrsGdsTechName1PosOnSrce,
  DngrsGdsTechName2PosOnSrce,
  DngrsGdsTechName3PosOnSrce,
  ProdIsEnvironmentalHazardous,
  DngrsGdsMarnPlltnt1SubstUUID,
  DngrsGdsMarnPlltnt2SubstUUID,
  ProductIsMarinePollutant,
  ProductIsToxicByInhalation,
  DngrsGdsRptblQty1SubstUUID,
  DngrsGdsRptblQty2SubstUUID,
  ReportableQtyIsPrintedOnDoc,
  ToxicByInhalationHazardZone,
  BasicClassfctnIsOverwritten,
  DngrsGdsDescTmplIsOverwritten,
  EnclosureVariant,
  SpecialProvisionOrExemptionTxt,
  DngrsGdsIsIgnoredLblFrmRgln,
  AddlPlcdIsIgnoredLblFrmRgln
FROM I_CmplRqRsltDngrsGdsBscDets AS DangerousGoodsClassfctnDetail
LEFT OUTER JOIN I_ClassifiedAsDangerousGood AS _ClassifiedAsDangerousGood ON _ClassifiedAsDangerousGood.ClassifiedAsDangerousGood = ClassifiedAsDangerousGood  -- association [0..1]
LEFT OUTER JOIN I_DangerousGdsClassOrDivision AS _DangerousGdsClassOrDivision ON _DangerousGdsClassOrDivision.DangerousGoodsClass = DangerousGoodsClass  -- association [0..1]
LEFT OUTER JOIN I_DangerousGoodsPackingGroup AS _DangerousGoodsPackingGroup ON _DangerousGoodsPackingGroup.DangerousGoodsPackingGroup = DangerousGoodsPackingGroup  -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersDngrsGdsPart1Item AS _CmplRqVersDngrsGdsPart1Item ON ProdCmplncDngrsGdsIdnNmbr = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsIdnNumber AND ProdCmplncDngrsGdsIdnNmbrType = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsIdnNumberType AND DangerousGoodsPackingGroup = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsPackingGroup AND DangerousGoodsListItemVariant = _CmplRqVersDngrsGdsPart1Item.DangerousGoodsListItemVariant AND CmplRqVersUUID = _CmplRqVersDngrsGdsPart1Item.CmplRqVersUUID  -- association [0..1]
;