C_UpaDaGdsClfnIMDGDetsTP

DDL: C_UPADAGDSCLFNIMDGDETSTP SQL: CUPDGCLIMDGDETS Type: view CONSUMPTION

Unpackaged DG Classfctn Details (IMDG)

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

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltDngrsGdsBscDetsTP I_CmplRqRsltDngrsGdsBscDetsTP from

Associations (14)

CardinalityTargetAliasCondition
[1..1] C_UpaDaGdsClfnIMDGTP _CmplRqRslt $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID
[0..*] C_UpaDaGdsClfnIMDGSgrgtnGrpTP _CmplRqRsltDngrsGdsSgrgtn $projection.CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltDngrsGdsSgrgtn.CmplRqRsltDngrsGdsBscDetsUUID
[0..*] C_UpaDaGdsClfnIMDGSgrgtnCodeTP _CmplRqRsltSegregationCode $projection.CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltSegregationCode.CmplRqRsltDngrsGdsBscDetsUUID
[1..*] C_UpaDaGdsClfnRglnIMDG _UpaDaGdsClfnRglnVH $projection.CmplRqVersUUID = _UpaDaGdsClfnRglnVH.CmplRqVersUUID
[1..1] C_UpaDaGdsClfnRglnIMDG _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_AnlytlCmpstnMarnPlltntIMDG _AnlytlCmpstnMarnPlltnt $projection.CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnMarnPlltnt.cmplrqrsltdngrsgdsbscdetsuuid
[0..*] C_AllMarnPlltntIMDG _AllMarnPlltnt $projection.CmplRqVersUUID = _AllMarnPlltnt.CmplRqVersUUID
[0..*] C_CmplRqVersSegregationGroupVH _SegregationGroupForProductVH $projection.CmplRqVersUUID = _SegregationGroupForProductVH.CmplRqVersUUID
[0..*] C_DngrsGdsSegregationCodeVH _SegregationCodeForProductVH $projection.ComplianceRequirement = _SegregationCodeForProductVH.ComplianceRequirement
[0..*] I_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt $projection.ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CUPDGCLIMDGDETS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Unpackaged DG Classfctn Details (IMDG) 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 (48)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsBscDetsUUID CmplRqRsltDngrsGdsBscDetsUUID NodeID
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
CmplRqVersUUID CmplRqVersUUID NodeID
ComplianceRequirement ComplianceRequirement Compliance Requirement
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
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
_CmplRqRslt _CmplRqRslt
_CmplRqRsltDngrsGdsSgrgtn _CmplRqRsltDngrsGdsSgrgtn
_CmplRqRsltSegregationCode _CmplRqRsltSegregationCode
_UpaDaGdsClfnRglnVH _UpaDaGdsClfnRglnVH
_UpaDaGdsClfnRgln _UpaDaGdsClfnRgln
_UpaDaGdsClfnWordPrefixVH _UpaDaGdsClfnWordPrefixVH
_UpaDaGdsClfnWordPrefix _UpaDaGdsClfnWordPrefix
_UpaDaGdsClfnWordSuffixVH _UpaDaGdsClfnWordSuffixVH
_UpaDaGdsClfnWordSuffix _UpaDaGdsClfnWordSuffix
_AnlytlCmpstnMarnPlltnt _AnlytlCmpstnMarnPlltnt
_AllMarnPlltnt _AllMarnPlltnt
_SegregationCodeForProductVH _SegregationCodeForProductVH
_SegregationGroupForProductVH _SegregationGroupForProductVH
_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt

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_UpaDaGdsClfnIMDGDetsTP.
-- 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: CUPDGCLIMDGDETS

CREATE VIEW C_UpaDaGdsClfnIMDGDetsTP AS
SELECT
  CmplRqRsltDngrsGdsBscDetsUUID,
  CmplRqRsltUUID,
  CmplRqVersUUID,
  ComplianceRequirement,
  CreatedByUser,
  LastChangedByUser,
  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
FROM I_CmplRqRsltDngrsGdsBscDetsTP
LEFT OUTER JOIN C_UpaDaGdsClfnIMDGTP AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_UpaDaGdsClfnIMDGSgrgtnGrpTP AS _CmplRqRsltDngrsGdsSgrgtn ON CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltDngrsGdsSgrgtn.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_UpaDaGdsClfnIMDGSgrgtnCodeTP AS _CmplRqRsltSegregationCode ON CmplRqRsltDngrsGdsBscDetsUUID = _CmplRqRsltSegregationCode.CmplRqRsltDngrsGdsBscDetsUUID  -- association [0..*]
LEFT OUTER JOIN C_UpaDaGdsClfnRglnIMDG AS _UpaDaGdsClfnRglnVH ON CmplRqVersUUID = _UpaDaGdsClfnRglnVH.CmplRqVersUUID  -- association [1..*]
LEFT OUTER JOIN C_UpaDaGdsClfnRglnIMDG 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_AnlytlCmpstnMarnPlltntIMDG AS _AnlytlCmpstnMarnPlltnt ON CmplRqRsltDngrsGdsBscDetsUUID = _AnlytlCmpstnMarnPlltnt.cmplrqrsltdngrsgdsbscdetsuuid  -- association [0..*]
LEFT OUTER JOIN C_AllMarnPlltntIMDG AS _AllMarnPlltnt ON CmplRqVersUUID = _AllMarnPlltnt.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqVersSegregationGroupVH AS _SegregationGroupForProductVH ON CmplRqVersUUID = _SegregationGroupForProductVH.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN C_DngrsGdsSegregationCodeVH AS _SegregationCodeForProductVH ON ComplianceRequirement = _SegregationCodeForProductVH.ComplianceRequirement  -- association [0..*]
LEFT OUTER JOIN I_ClassifiedAsDangerousGoodTxt AS _ClassifiedAsDangerousGoodTxt ON ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood  -- association [0..*]
;