R_PackagedDangerousGoodTP
Packaged Dangerous Good - TP
R_PackagedDangerousGoodTP is a Transactional CDS View that provides data about "Packaged Dangerous Good - TP" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 26 fields with key field ChmlCmplncInfoUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncInfo | ChemicalComplianceInfo | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..*] | R_PckgdDngrsGoodClassfctnTP | _Classification | |
| [0..1] | R_PckgdDngrsGoodEnclrDetailsTP | _EnclosureDetails | |
| [0..*] | R_PckgdDngrsGoodHazardNoteTP | _HazardNote | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Packaged Dangerous Good - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ChmlCmplncInfoUUID | view | |
| ObjectModel.sapObjectNodeType.name | PackagedDangerousGood | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (26)
| 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 | ||||
| RawMaterial | ||||
| ChmlCmplncInfoType | I_ChmlCmplncInfo | ChmlCmplncInfoType | Type of Chemical Compliance Information | |
| ChmlCmplncProdIsResearched | I_ChmlCmplncInfo | ChmlCmplncProdIsResearched | R&D Sample | |
| MaterialIsSold | I_ChmlCmplncInfo | MaterialIsSold | Is Sold | |
| MaterialIsTransported | I_ChmlCmplncInfo | MaterialIsTransported | Is Transported | |
| MaterialIsSourced | I_ChmlCmplncInfo | MaterialIsSourced | Is Purchased | |
| MaterialIsProduced | I_ChmlCmplncInfo | MaterialIsProduced | Is Produced | |
| _CreatedByUser | I_ChmlCmplncInfo | _CreatedByUser | ||
| _LastChangedByUser | I_ChmlCmplncInfo | _LastChangedByUser | ||
| UnpckgdChmlCmplncInfoUUID | ||||
| UnpckgdChemicalComplianceInfo | ||||
| ChmlCmplncInfoUnpckgdProdName | ||||
| UnpackagedProduct | ||||
| _Classification | _Classification | |||
| _EnclosureDetails | _EnclosureDetails | |||
| _HazardNote | _HazardNote | |||
| _Product | _Product |
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_PackagedDangerousGoodTP.
-- 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_PackagedDangerousGoodTP 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_vdm_cci_internal_nr preserving type) AS ChemicalComplianceInfo,
cast(ChemicalComplianceInfo._PrimaryMaterial.Material as ehfnd_product_in_prod_master preserving type) AS Product,
cast(ChemicalComplianceInfo._PrimaryMaterial.Material as ehfnd_cci_raw_material preserving type) AS RawMaterial,
ChemicalComplianceInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType,
ChemicalComplianceInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
ChemicalComplianceInfo.MaterialIsSold AS MaterialIsSold,
ChemicalComplianceInfo.MaterialIsTransported AS MaterialIsTransported,
ChemicalComplianceInfo.MaterialIsSourced AS MaterialIsSourced,
ChemicalComplianceInfo.MaterialIsProduced AS MaterialIsProduced,
ChemicalComplianceInfo._CreatedByUser AS _CreatedByUser,
ChemicalComplianceInfo._LastChangedByUser AS _LastChangedByUser,
cast(ProductAssignment.ChmlCmplncProdUUID as ehfnd_cci_up_uuid preserving type) AS UnpckgdChmlCmplncInfoUUID,
cast(ProductAssignment._ChmlCmplncInfoProduct.Specification as ehfnd_vdm_cci_up_internal_nr preserving type) AS UnpckgdChemicalComplianceInfo,
cast(ProductAssignment._ChmlCmplncInfoProduct.ChmlCmplncInternalName as ehfnd_cci_unpckgdprod_name preserving type) AS ChmlCmplncInfoUnpckgdProdName,
cast(ProductAssignment._ChmlCmplncInfoProduct._PrimaryMaterial.Material as ehfnd_product_unpackaged_id preserving type) AS UnpackagedProduct
FROM I_ChmlCmplncInfo AS ChemicalComplianceInfo
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN R_PckgdDngrsGoodClassfctnTP AS _Classification ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_PckgdDngrsGoodEnclrDetailsTP AS _EnclosureDetails ON /* condition not available in parsed metadata */ -- association [0..1]
LEFT OUTER JOIN R_PckgdDngrsGoodHazardNoteTP AS _HazardNote ON /* condition not available in parsed metadata */ -- association [0..*]
;
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