I_UnpackagedDangerousGood

DDL: I_UNPACKAGEDDANGEROUSGOOD SQL: UPDG Type: view COMPOSITE

Unpackaged Dangerous Good

I_UnpackagedDangerousGood is a Composite CDS View that provides data about "Unpackaged Dangerous Good" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 30 fields with key field ChmlCmplncInfoUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo ChemicalComplianceInfo from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_DangerousGoodsClassification _Classification $projection.ChmlCmplncInfoUUID = _Classification.ChmlCmplncInfoUUID
[0..1] I_PackagedDangerousGood _PackagedDangerousGood $projection.ChmlCmplncInfoUUID = _PackagedDangerousGood.UnpckgdChmlCmplncInfoUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName UPDG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Unpackaged Dangerous Good view
VDM.viewType #COMPOSITE view
Metadata.allowExtensions false view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
CreationUTCDateTime CreationUTCDateTime Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeUTCDateTime LastChangeUTCDateTime Time Stamp
LastChangedByUser LastChangedByUser User Name
ProdStewardshipRespUnit ProdStewardshipRespUnit Responsible Unit
DngrsGdsRespUnit DngrsGdsRespUnit Responsible Unit for Dangerous Goods
ChmlCmplncInfoType ChmlCmplncInfoType Type of Chemical Compliance Information
ChmlCmplncInternalName ChmlCmplncInternalName Internal Name
ChemicalComplianceInfo Specification
ChmlCmplncProdIsResearched ChmlCmplncProdIsResearched R&D Sample
MaterialIsBaseProduct MaterialIsBaseProduct Is Base Product
MaterialIsSold MaterialIsSold Is Sold
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsProduced MaterialIsProduced Is Produced
_Classification _Classification
_PackagedDangerousGood _PackagedDangerousGood
_Application _Application
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_MarketCoverage _MarketCoverage
_MarketRequest _MarketRequest
_MaterialAssignment _MaterialAssignment
_PrimaryMaterial _PrimaryMaterial
_ProductAssignment _ProductAssignment
_PurposeAssignment _PurposeAssignment
_RespUnitForDangerousGoods _RespUnitForDangerousGoods
_RespUnitForProductStewardship _RespUnitForProductStewardship
_SuplrMatlAssignment _SuplrMatlAssignment

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 I_UnpackagedDangerousGood.
-- 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: UPDG

CREATE VIEW I_UnpackagedDangerousGood AS
SELECT
  ChmlCmplncInfoUUID,
  CreationUTCDateTime,
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  ProdStewardshipRespUnit,
  DngrsGdsRespUnit,
  ChmlCmplncInfoType,
  ChmlCmplncInternalName,
  cast( Specification as ehfnd_internal_nr preserving type ) AS ChemicalComplianceInfo,
  ChmlCmplncProdIsResearched,
  MaterialIsBaseProduct,
  MaterialIsSold,
  MaterialIsTransported,
  MaterialIsSourced,
  MaterialIsProduced
FROM I_ChmlCmplncInfo AS ChemicalComplianceInfo
LEFT OUTER JOIN I_DangerousGoodsClassification AS _Classification ON ChmlCmplncInfoUUID = _Classification.ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN I_PackagedDangerousGood AS _PackagedDangerousGood ON ChmlCmplncInfoUUID = _PackagedDangerousGood.UnpckgdChmlCmplncInfoUUID  -- association [0..1]
;