C_UnpackagedDngrsGoodTP

DDL: C_UNPACKAGEDDNGRSGOODTP Type: view_entity CONSUMPTION Package: EHDGM_CNS_UNPACKAGED_PRODUCT

Classify Unpackaged Dangerous Goods

C_UnpackagedDngrsGoodTP is a Consumption CDS View that provides data about "Classify Unpackaged Dangerous Goods" in SAP S/4HANA. It reads from 1 data source (R_UnpackagedDangerousGoodTP) and exposes 24 fields with key field ChmlCmplncInfoUUID. It has 4 associations to related views. It is exposed through 2 OData services (ASQL_F3642, UI_UNPCKGDDNGRSGOOD_MANAGE). Part of development package EHDGM_CNS_UNPACKAGED_PRODUCT.

Data Sources (1)

SourceAliasJoin Type
R_UnpackagedDangerousGoodTP R_UnpackagedDangerousGoodTP projection

Associations (4)

CardinalityTargetAliasCondition
[0..*] C_DngrsGdsAnlytlCmpstnComp _DngrsGdsAnlytlCmpstnComp _DngrsGdsAnlytlCmpstnComp.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _DngrsGdsAnlytlCmpstnComp.ChmlCompositionStatus = 'RE'
[0..1] C_ChmlCmplncInfoQuickView _UnpckgdChmlCmplncInfoQuickVw $projection.ChemicalComplianceInfo = _UnpckgdChmlCmplncInfoQuickVw.Specification
[0..*] C_UpaDaGdDescriptionOverview _DescriptionOverview $projection.ChmlCmplncInfoUUID = _DescriptionOverview.ChmlCmplncInfoUUID
[0..*] C_UpaDaGdReleasedDescription _ReleasedDescriptions $projection.ChmlCmplncInfoUUID = _ReleasedDescriptions.ChmlCmplncInfoUUID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
Consumption.semanticObject UnpackagedChemicalInfo view
EndUserText.label Classify Unpackaged Dangerous Goods view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3642 ASQL_F3642 C2 NOT_RELEASED
UI_UNPCKGDDNGRSGOOD_MANAGE UI_UNPCKGDDNGRSGOOD_MANAGE V4 C1 NOT_RELEASED

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
DngrsGdsRespUnit DngrsGdsRespUnit Responsible Unit for Dangerous Goods
ChmlCmplncInternalName ChmlCmplncInternalName Internal Name
ChemicalComplianceInfo Internal Number
ChmlCmplncInfoNavgnLink ChmlCmplncInfoUUID Chemical Compliance Information PP
Product Product Sold
ProductNamelocalized
ProductGroupNamelocalized
ChmlCmplncInfoType ChmlCmplncInfoType Type of Chemical Compliance Information
ChmlCmplncProdIsResearched ChmlCmplncProdIsResearched R&D Sample
MaterialIsSold MaterialIsSold Is Sold
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsProduced MaterialIsProduced Is Produced
char132
char255
virtualSemanticObjectui2semantic_object
DangerousGoodBasicDescription _DescForReldRegulation DangerousGoodBasicDescription Dangerous Goods Basic Description
NmbrOfReleasedCmplRqRslts _ReleasedClassificationCount NmbrOfReleasedCmplRqRslts
AnalyticCmpstnReleaseDateTime _ReleasedAnalyticalComposition ReleaseDateTime Composition Released On
_DngrsGdsAnlytlCmpstnComp _DngrsGdsAnlytlCmpstnComp
_UnpckgdChmlCmplncInfoQuickVw _UnpckgdChmlCmplncInfoQuickVw
_DescriptionOverview _DescriptionOverview
_ReleasedDescriptions _ReleasedDescriptions

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_UnpackagedDngrsGoodTP.
-- 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 C_UnpackagedDngrsGoodTP AS
SELECT
  ChmlCmplncInfoUUID,
  DngrsGdsRespUnit,
  ChmlCmplncInternalName,
  cast ( ChemicalComplianceInfo as ehfnd_compliance_view preserving type ) AS ChemicalComplianceInfo,
  ChmlCmplncInfoUUID AS ChmlCmplncInfoNavgnLink,
  cast ( Product as ehfnd_product_in_prod_master preserving type ) AS Product,
  _Product._Text.ProductName : localized AS ProductNamelocalized,
  _Product._ProductGroupText_2.ProductGroupName : localized AS ProductGroupNamelocalized,
  ChmlCmplncInfoType,
  ChmlCmplncProdIsResearched,
  MaterialIsSold,
  MaterialIsTransported,
  MaterialIsSourced,
  MaterialIsProduced,
  virtual ChmlCmplncInfoCombinedName : abap.char( 132 ) AS char132,
  virtual ChmlCmplncTypeImageURL : abap.char( 255 ) AS char255,
  virtual SemanticObject : /ui2/semantic_object AS virtualSemanticObjectui2semantic_object,
  _DescForReldRegulation.DangerousGoodBasicDescription AS DangerousGoodBasicDescription,
  _ReleasedClassificationCount.NmbrOfReleasedCmplRqRslts AS NmbrOfReleasedCmplRqRslts,
  _ReleasedAnalyticalComposition.ReleaseDateTime AS AnalyticCmpstnReleaseDateTime
FROM R_UnpackagedDangerousGoodTP
LEFT OUTER JOIN C_DngrsGdsAnlytlCmpstnComp AS _DngrsGdsAnlytlCmpstnComp ON _DngrsGdsAnlytlCmpstnComp.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID AND _DngrsGdsAnlytlCmpstnComp.ChmlCompositionStatus = 'RE'  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncInfoQuickView AS _UnpckgdChmlCmplncInfoQuickVw ON ChemicalComplianceInfo = _UnpckgdChmlCmplncInfoQuickVw.Specification  -- association [0..1]
LEFT OUTER JOIN C_UpaDaGdDescriptionOverview AS _DescriptionOverview ON ChmlCmplncInfoUUID = _DescriptionOverview.ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_UpaDaGdReleasedDescription AS _ReleasedDescriptions ON ChmlCmplncInfoUUID = _ReleasedDescriptions.ChmlCmplncInfoUUID  -- association [0..*]
;