I_PackagedDangerousGood
Packaged Dangerous Good
I_PackagedDangerousGood is a Composite CDS View that provides data about "Packaged Dangerous Good" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 18 fields with key field ChmlCmplncInfoUUID. It has 4 associations to related views. Part of development package EHDGM_BO_CRR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncInfo | ChemicalComplianceInfo | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | I_ChmlCmplncInfo | _ChmlCmplncInfo | $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID |
| [0..*] | I_DangerousGoodsClassification | _Classification | $projection.ChmlCmplncInfoUUID = _Classification.ChmlCmplncInfoUUID |
| [0..1] | I_UnpackagedDangerousGood | _UnpackagedDangerousGood | $projection.UnpckgdChmlCmplncInfoUUID = _UnpackagedDangerousGood.ChmlCmplncInfoUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPDG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Packaged 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 (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | I_ChmlCmplncInfo | ChmlCmplncInfoUUID | Chemical Compliance Information PP |
| CreationUTCDateTime | I_ChmlCmplncInfo | CreationUTCDateTime | Time Stamp | |
| CreatedByUser | I_ChmlCmplncInfo | CreatedByUser | User Name | |
| LastChangeUTCDateTime | I_ChmlCmplncInfo | LastChangeUTCDateTime | Time Stamp | |
| LastChangedByUser | I_ChmlCmplncInfo | LastChangedByUser | User Name | |
| DngrsGdsRespUnit | I_ChmlCmplncInfo | DngrsGdsRespUnit | Responsible Unit for Dangerous Goods | |
| ChmlCmplncInternalName | I_ChmlCmplncInfo | ChmlCmplncInternalName | Internal Name | |
| ChemicalComplianceInfo | ||||
| Product | ||||
| UnpckgdChmlCmplncInfoUUID | ProductAssignment | ChmlCmplncProdUUID | Product Assignment | |
| _Product | _Product | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _UnpackagedDangerousGood | _UnpackagedDangerousGood | |||
| _Classification | _Classification | |||
| _CreatedByUser | I_ChmlCmplncInfo | _CreatedByUser | ||
| _LastChangedByUser | I_ChmlCmplncInfo | _LastChangedByUser | ||
| _PrimaryMaterial | I_ChmlCmplncInfo | _PrimaryMaterial | ||
| _RespUnitForDangerousGoods | I_ChmlCmplncInfo | _RespUnitForDangerousGoods |
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_PackagedDangerousGood.
-- 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: PPDG
CREATE VIEW I_PackagedDangerousGood AS
SELECT
ChemicalComplianceInfo.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
ChemicalComplianceInfo.CreationUTCDateTime AS CreationUTCDateTime,
ChemicalComplianceInfo.CreatedByUser AS CreatedByUser,
ChemicalComplianceInfo.LastChangeUTCDateTime AS LastChangeUTCDateTime,
ChemicalComplianceInfo.LastChangedByUser AS LastChangedByUser,
ChemicalComplianceInfo.DngrsGdsRespUnit AS DngrsGdsRespUnit,
ChemicalComplianceInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
cast( ChemicalComplianceInfo.Specification as ehfnd_internal_nr preserving type ) AS ChemicalComplianceInfo,
cast( ChemicalComplianceInfo._PrimaryMaterial.Material as productnumber preserving type ) AS Product,
ProductAssignment.ChmlCmplncProdUUID AS UnpckgdChmlCmplncInfoUUID,
ChemicalComplianceInfo._CreatedByUser AS _CreatedByUser,
ChemicalComplianceInfo._LastChangedByUser AS _LastChangedByUser,
ChemicalComplianceInfo._PrimaryMaterial AS _PrimaryMaterial,
ChemicalComplianceInfo._RespUnitForDangerousGoods AS _RespUnitForDangerousGoods
FROM I_ChmlCmplncInfo AS ChemicalComplianceInfo
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID -- association [1..1]
LEFT OUTER JOIN I_DangerousGoodsClassification AS _Classification ON ChmlCmplncInfoUUID = _Classification.ChmlCmplncInfoUUID -- association [0..*]
LEFT OUTER JOIN I_UnpackagedDangerousGood AS _UnpackagedDangerousGood ON UnpckgdChmlCmplncInfoUUID = _UnpackagedDangerousGood.ChmlCmplncInfoUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA