C_ChmlCmplncPckgdProdsAssgmtVH

DDL: C_CHMLCMPLNCPCKGDPRODSASSGMTVH SQL: CCCIMNLDGPKPRDVH Type: view CONSUMPTION

Packaged Product for Dangerous Goods

C_ChmlCmplncPckgdProdsAssgmtVH is a Consumption CDS View that provides data about "Packaged Product for Dangerous Goods" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncProdAssgmt) and exposes 8 fields with key field ChmlCmplncProdAssgmtUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncProdAssgmt I_ChmlCmplncProdAssgmt from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncMatlAssgmtTP _MatlAsgmt $projection.ChmlCmplncInfoUUID = _MatlAsgmt.ChmlCmplncInfoUUID

Annotations (14)

NameValueLevelField
EndUserText.label Packaged Product for Dangerous Goods view
AbapCatalog.sqlViewName CCCIMNLDGPKPRDVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey ChmlCmplncProdAssgmtUUID view
ObjectModel.resultSet.sizeCategory #S view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncProdAssgmtUUID ChmlCmplncProdAssgmtUUID Product Assignment
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCmplncProdUUID ChmlCmplncProdUUID Product Assignment
Material _MatlAsgmt Material Vehicle Model
MaterialName
MaterialGroup
MaterialGroupName
_ChmlCmplncInfo _ChmlCmplncInfo

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_ChmlCmplncPckgdProdsAssgmtVH.
-- 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: CCCIMNLDGPKPRDVH

CREATE VIEW C_ChmlCmplncPckgdProdsAssgmtVH AS
SELECT
  ChmlCmplncProdAssgmtUUID,
  ChmlCmplncInfoUUID,
  ChmlCmplncProdUUID,
  _MatlAsgmt.Material AS Material,
  cast(_MatlAsgmt._Product._Text[ 1: Language = $session.system_language ].ProductName as ehfnd_cci_material_name ) AS MaterialName,
  cast(_MatlAsgmt._Product.ProductGroup as ehfnd_cci_material_group) AS MaterialGroup,
  _MatlAsgmt._Product._ProductGroup._Text[1: Language = $session.system_language ].MaterialGroupName AS MaterialGroupName
FROM I_ChmlCmplncProdAssgmt
LEFT OUTER JOIN I_ChmlCmplncMatlAssgmtTP AS _MatlAsgmt ON ChmlCmplncInfoUUID = _MatlAsgmt.ChmlCmplncInfoUUID  -- association [0..1]
;