C_US_UpaDaGdsClfnCFRDetsTP

DDL: C_US_UPADAGDSCLFNCFRDETSTP SQL: CUPDGCLCFRDETS Type: view CONSUMPTION

Unpackaged DG Classfctn Details (49CFR)

C_US_UpaDaGdsClfnCFRDetsTP is a Consumption CDS View that provides data about "Unpackaged DG Classfctn Details (49CFR)" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltDngrsGdsBscDetsTP) and exposes 58 fields with key field CmplRqRsltDngrsGdsBscDetsUUID. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltDngrsGdsBscDetsTP I_CmplRqRsltDngrsGdsBscDetsTP from

Associations (17)

CardinalityTargetAliasCondition
[1..1] C_US_UpaDaGdsClfnCFRTP _CmplRqRslt $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID
[0..*] C_US_UpaDaGdsClfnCFRSgrgtnTP _CmplRqRsltDngrsGdsSgrgtn $projection.CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltDngrsGdsSgrgtn.CmplRqRsltDngrsGdsBscDetsUUID
[0..*] C_US_UpaDaGdClfnCFRVesselStwg _DngrsGdsBscClfnVesselStwg $projection.CmplRqRsltDngrsGdsBscDetsUUID = _DngrsGdsBscClfnVesselStwg.CmplRqRsltDngrsGdsBscDetsUUID
[1..*] C_US_UpaDaGdsClfnRglnCFR _UpaDaGdsClfnRglnVH $projection.CmplRqVersUUID = _UpaDaGdsClfnRglnVH.CmplRqVersUUID
[1..1] C_US_UpaDaGdsClfnRglnCFR _UpaDaGdsClfnRgln $projection.ProdCmplncDngrsGdsIdnNmbr = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsIdnNmbr and $projection.ProdCmplncDngrsGdsIdnNmbrType = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsIdnNmbrType and $projection.ProdCmplncDngrsGdsPackingGroup = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsPackingGroup and $projection.DangerousGoodsListItemVariant = _UpaDaGdsClfnRgln.DangerousGoodsListItemVariant and $projection.CmplRqVersUUID = _UpaDaGdsClfnRgln.CmplRqVersUUID
[1..*] C_UpaDaGdsClfnWordPrefix _UpaDaGdsClfnWordPrefixVH $projection.CmplRqVersUUID = _UpaDaGdsClfnWordPrefixVH.CmplRqVersUUID
[0..1] C_UpaDaGdsClfnWordPrefix _UpaDaGdsClfnWordPrefix $projection.CmplRqVersUUID = _UpaDaGdsClfnWordPrefix.CmplRqVersUUID and $projection.DngrsGdsQualifgWordPrefix = _UpaDaGdsClfnWordPrefix.DngrsGdsQualifgWordPrefix
[1..*] C_UpaDaGdsClfnWordSuffix _UpaDaGdsClfnWordSuffixVH $projection.CmplRqVersUUID = _UpaDaGdsClfnWordSuffixVH.CmplRqVersUUID
[0..1] C_UpaDaGdsClfnWordSuffix _UpaDaGdsClfnWordSuffix $projection.CmplRqVersUUID = _UpaDaGdsClfnWordSuffix.CmplRqVersUUID and $projection.DngrsGdsQualifgWordSuffix = _UpaDaGdsClfnWordSuffix.DngrsGdsQualifgWordSuffix
[0..*] C_US_AnlytlCmpstnMarnPlltntCFR _AnlytlCmpstnMarnPlltnt $projection.CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnMarnPlltnt.CmplRqRsltDngrsGdsBscDetsUUID
[0..*] C_US_AllMarnPlltntCFR _AllMarnPlltnt $projection.CmplRqVersUUID = _AllMarnPlltnt.CmplRqVersUUID
[0..*] C_CmplRqVersSegregationGroupVH _SegregationGroupForProductVH $projection.CmplRqVersUUID = _SegregationGroupForProductVH.CmplRqVersUUID
[0..*] I_DngrsGdsVesselStowageOtherVH _DngrsGdsVesselStowageOtherVH $projection.ComplianceRequirement = _DngrsGdsVesselStowageOtherVH.ComplianceRequirement
[0..*] C_US_AnlytlCmpstnRptblQtyCFR _AnlytlCmpstnRptblQty $projection.CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnRptblQty.CmplRqRsltDngrsGdsBscDetsUUID
[0..*] C_US_AllRptblQtyCFR _AllRptblQty $projection.CmplRqVersUUID = _AllRptblQty.CmplRqVersUUID
[0..*] I_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt $projection.ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood
[0..*] I_UpaDaGdsClfnHazardZoneText _ToxicByInhalationHzdZoneTxt $projection.ToxicByInhalationHazardZone = _ToxicByInhalationHzdZoneTxt.ToxicByInhalationHazardZone

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CUPDGCLCFRDETS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Unpackaged DG Classfctn Details (49CFR) view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsBscDetsUUID CmplRqRsltDngrsGdsBscDetsUUID NodeID
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
CmplRqVersUUID CmplRqVersUUID NodeID
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
ComplianceRequirement ComplianceRequirement Compliance Requirement
ClassifiedAsDangerousGood ClassifiedAsDangerousGood Classified As
ProdCmplncDngrsGdsIdnNmbr DangerousGoodsIdnNumber Number
ProdCmplncDngrsGdsIdnNmbrType DangerousGoodsIdnNumberType Number Prefix
ProdCmplncDngrsGdsPackingGroup DangerousGoodsPackingGroup Packing Group
DangerousGoodsIdnNumber DangerousGoodsIdnNumber Number
DangerousGoodsIdnNumberType DangerousGoodsIdnNumberType Number Prefix
DangerousGoodsPackingGroup DangerousGoodsPackingGroup Packing Group
DangerousGoodsListItemVariant DangerousGoodsListItemVariant Variant
IdnNmbrIsOnOrganicPrxdList
IdnNmbrIsOnSelfReactvSubstList
DngrsGdsQualifgWordPrefix DngrsGdsQualifgWordPrefix Prefix
DngrsGdsQualifgWordPrefixText _UpaDaGdsClfnWordPrefix DngrsGdsQualifgWordPrefixText
DngrsGdsQualifgWordSuffix DngrsGdsQualifgWordSuffix Suffix
DngrsGdsQualifgWordSuffixText _UpaDaGdsClfnWordSuffix DngrsGdsQualifgWordSuffixText
DngrsGdsTechName1SubstUUID DngrsGdsTechName1SubstUUID Technical Name 1
DngrsGdsTechName1SubstName
DngrsGdsTechName2SubstUUID DngrsGdsTechName2SubstUUID Technical Name 2
DngrsGdsTechName2SubstName
DngrsGdsTechName3SubstUUID DngrsGdsTechName3SubstUUID Technical Name 3
DngrsGdsTechName3SubstName
DngrsGdsTechName1PosOnSrce DngrsGdsTechName1PosOnSrce Position 1 on List
DngrsGdsTechName2PosOnSrce DngrsGdsTechName2PosOnSrce Position 2 on List
DngrsGdsTechName3PosOnSrce DngrsGdsTechName3PosOnSrce Position 3 on List
ProductIsMarinePollutant ProductIsMarinePollutant Product Is Marine Pollutant
DngrsGdsMarnPlltnt1SubstUUID DngrsGdsMarnPlltnt1SubstUUID Marine Pollutant Name 1
DngrsGdsMarnPlltnt1SubstName
DngrsGdsMarnPlltnt2SubstUUID DngrsGdsMarnPlltnt2SubstUUID Marine Pollutant Name 2
DngrsGdsMarnPlltnt2SubstName
DngrsGdsRptblQty1SubstUUID DngrsGdsRptblQty1SubstUUID Reportable Quantity Name 1
DngrsGdsRptblQty1SubstName
DngrsGdsRptblQty2SubstUUID DngrsGdsRptblQty2SubstUUID Reportable Quantity Name 2
DngrsGdsRptblQty2SubstName
DngrsGdsVesselStowageOtherTxt
ReportableQtyIsPrintedOnDoc ReportableQtyIsPrintedOnDoc Print Reportable Quantity Names
ToxicByInhalationHazardZone ToxicByInhalationHazardZone Inhalation Hazard Zone
_CmplRqRslt _CmplRqRslt
_CmplRqRsltDngrsGdsSgrgtn _CmplRqRsltDngrsGdsSgrgtn
_DngrsGdsBscClfnVesselStwg _DngrsGdsBscClfnVesselStwg
_UpaDaGdsClfnRglnVH _UpaDaGdsClfnRglnVH
_UpaDaGdsClfnRgln _UpaDaGdsClfnRgln
_UpaDaGdsClfnWordPrefixVH _UpaDaGdsClfnWordPrefixVH
_UpaDaGdsClfnWordPrefix _UpaDaGdsClfnWordPrefix
_UpaDaGdsClfnWordSuffixVH _UpaDaGdsClfnWordSuffixVH
_UpaDaGdsClfnWordSuffix _UpaDaGdsClfnWordSuffix
_AnlytlCmpstnMarnPlltnt _AnlytlCmpstnMarnPlltnt
_AllMarnPlltnt _AllMarnPlltnt
_SegregationGroupForProductVH _SegregationGroupForProductVH
_DngrsGdsVesselStowageOtherVH _DngrsGdsVesselStowageOtherVH
_AnlytlCmpstnRptblQty _AnlytlCmpstnRptblQty
_AllRptblQty _AllRptblQty
_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt
_ToxicByInhalationHzdZoneTxt _ToxicByInhalationHzdZoneTxt

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_US_UpaDaGdsClfnCFRDetsTP.
-- 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: CUPDGCLCFRDETS

CREATE VIEW C_US_UpaDaGdsClfnCFRDetsTP AS
SELECT
  CmplRqRsltDngrsGdsBscDetsUUID,
  CmplRqRsltUUID,
  CmplRqVersUUID,
  CreatedByUser,
  LastChangedByUser,
  ComplianceRequirement,
  ClassifiedAsDangerousGood,
  DangerousGoodsIdnNumber AS ProdCmplncDngrsGdsIdnNmbr,
  DangerousGoodsIdnNumberType AS ProdCmplncDngrsGdsIdnNmbrType,
  DangerousGoodsPackingGroup AS ProdCmplncDngrsGdsPackingGroup,
  DangerousGoodsIdnNumber,
  DangerousGoodsIdnNumberType,
  DangerousGoodsPackingGroup,
  DangerousGoodsListItemVariant,
  cast( ' ' as boolean preserving type ) AS IdnNmbrIsOnOrganicPrxdList,
  cast( ' ' as boolean preserving type ) AS IdnNmbrIsOnSelfReactvSubstList,
  DngrsGdsQualifgWordPrefix,
  _UpaDaGdsClfnWordPrefix.DngrsGdsQualifgWordPrefixText AS DngrsGdsQualifgWordPrefixText,
  DngrsGdsQualifgWordSuffix,
  _UpaDaGdsClfnWordSuffix.DngrsGdsQualifgWordSuffixText AS DngrsGdsQualifgWordSuffixText,
  DngrsGdsTechName1SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsTechName1SubstName,
  DngrsGdsTechName2SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsTechName2SubstName,
  DngrsGdsTechName3SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsTechName3SubstName,
  DngrsGdsTechName1PosOnSrce,
  DngrsGdsTechName2PosOnSrce,
  DngrsGdsTechName3PosOnSrce,
  ProductIsMarinePollutant,
  DngrsGdsMarnPlltnt1SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsMarnPlltnt1SubstName,
  DngrsGdsMarnPlltnt2SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsMarnPlltnt2SubstName,
  DngrsGdsRptblQty1SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsRptblQty1SubstName,
  DngrsGdsRptblQty2SubstUUID,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS DngrsGdsRptblQty2SubstName,
  cast ('' as dngrsgdsvesselstowageothertxt ) AS DngrsGdsVesselStowageOtherTxt,
  ReportableQtyIsPrintedOnDoc,
  ToxicByInhalationHazardZone
FROM I_CmplRqRsltDngrsGdsBscDetsTP
LEFT OUTER JOIN C_US_UpaDaGdsClfnCFRTP AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_US_UpaDaGdsClfnCFRSgrgtnTP AS _CmplRqRsltDngrsGdsSgrgtn ON CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltDngrsGdsSgrgtn.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_US_UpaDaGdClfnCFRVesselStwg AS _DngrsGdsBscClfnVesselStwg ON CmplRqRsltDngrsGdsBscDetsUUID = _DngrsGdsBscClfnVesselStwg.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_US_UpaDaGdsClfnRglnCFR AS _UpaDaGdsClfnRglnVH ON CmplRqVersUUID = _UpaDaGdsClfnRglnVH.CmplRqVersUUID  -- association [1..*]
LEFT OUTER JOIN C_US_UpaDaGdsClfnRglnCFR AS _UpaDaGdsClfnRgln ON ProdCmplncDngrsGdsIdnNmbr = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsIdnNmbr AND ProdCmplncDngrsGdsIdnNmbrType = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsIdnNmbrType AND ProdCmplncDngrsGdsPackingGroup = _UpaDaGdsClfnRgln.ProdCmplncDngrsGdsPackingGroup AND DangerousGoodsListItemVariant = _UpaDaGdsClfnRgln.DangerousGoodsListItemVariant AND CmplRqVersUUID = _UpaDaGdsClfnRgln.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN C_UpaDaGdsClfnWordPrefix AS _UpaDaGdsClfnWordPrefixVH ON CmplRqVersUUID = _UpaDaGdsClfnWordPrefixVH.CmplRqVersUUID  -- association [1..*]
LEFT OUTER JOIN C_UpaDaGdsClfnWordPrefix AS _UpaDaGdsClfnWordPrefix ON CmplRqVersUUID = _UpaDaGdsClfnWordPrefix.CmplRqVersUUID AND DngrsGdsQualifgWordPrefix = _UpaDaGdsClfnWordPrefix.DngrsGdsQualifgWordPrefix  -- association [0..1]
LEFT OUTER JOIN C_UpaDaGdsClfnWordSuffix AS _UpaDaGdsClfnWordSuffixVH ON CmplRqVersUUID = _UpaDaGdsClfnWordSuffixVH.CmplRqVersUUID  -- association [1..*]
LEFT OUTER JOIN C_UpaDaGdsClfnWordSuffix AS _UpaDaGdsClfnWordSuffix ON CmplRqVersUUID = _UpaDaGdsClfnWordSuffix.CmplRqVersUUID AND DngrsGdsQualifgWordSuffix = _UpaDaGdsClfnWordSuffix.DngrsGdsQualifgWordSuffix  -- association [0..1]
LEFT OUTER JOIN C_US_AnlytlCmpstnMarnPlltntCFR AS _AnlytlCmpstnMarnPlltnt ON CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnMarnPlltnt.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_US_AllMarnPlltntCFR AS _AllMarnPlltnt ON CmplRqVersUUID = _AllMarnPlltnt.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqVersSegregationGroupVH AS _SegregationGroupForProductVH ON CmplRqVersUUID = _SegregationGroupForProductVH.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN I_DngrsGdsVesselStowageOtherVH AS _DngrsGdsVesselStowageOtherVH ON ComplianceRequirement = _DngrsGdsVesselStowageOtherVH.ComplianceRequirement  -- association [0..*]
LEFT OUTER JOIN C_US_AnlytlCmpstnRptblQtyCFR AS _AnlytlCmpstnRptblQty ON CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnRptblQty.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_US_AllRptblQtyCFR AS _AllRptblQty ON CmplRqVersUUID = _AllRptblQty.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN I_ClassifiedAsDangerousGoodTxt AS _ClassifiedAsDangerousGoodTxt ON ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood  -- association [0..*]
LEFT OUTER JOIN I_UpaDaGdsClfnHazardZoneText AS _ToxicByInhalationHzdZoneTxt ON ToxicByInhalationHazardZone = _ToxicByInhalationHzdZoneTxt.ToxicByInhalationHazardZone  -- association [0..*]
;