C_CmbndChmlCmplncInfoTP

DDL: C_CMBNDCHMLCMPLNCINFOTP SQL: CCMBNDCCITP Type: view CONSUMPTION

Material Data

C_CmbndChmlCmplncInfoTP is a Consumption CDS View that provides data about "Material Data" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfoTP) and exposes 50 fields with key field ChmlCmplncInfoUUID. It has 18 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfoTP I_ChmlCmplncInfoTP from

Associations (18)

CardinalityTargetAliasCondition
[0..*] C_CmbndChmlCmplncMatlAssgmtTP _MaterialAssignment _MaterialAssignment.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID -- Linked Packaged Product
[0..*] C_CmbndChmlCmplncProdAssgmt _ActiveProductAssignment _ActiveProductAssignment.ChmlCmplncProdUUID = $projection.ActiveChmlCmplncInfoUUID -- Substance based
[0..*] C_CmbndChmlAnlytlCmpstn _AnlytlCmpstn _AnlytlCmpstn.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID
[0..1] P_CmbndChmlAssocdAnlytlCmpstn _AnlytlCmpstnStatus _AnlytlCmpstnStatus.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Waste codes
[0..*] C_CmbndChmlCmplncWasteCode _WasteCode _WasteCode.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID
[0..1] P_CmbndChmlAssocdWasteCode _AssocdWasteCode _AssocdWasteCode.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Waste data
[0..1] C_CmbndChmlCmplWasteDataTP _WasteData _WasteData.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID -- Physical Chemical Property
[0..*] C_CmbndChmlCmplncAssgdPCPrpty _DefaultPropertyAssignment _DefaultPropertyAssignment.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID
[0..1] P_CmbndChmlAssocdPCPrpty _AssocdPCPrpty _AssocdPCPrpty.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Additional Property
[0..*] C_CmbndChmlCmplncAddlPrpty _CmbndChmlCmplncAddlPrpty _CmbndChmlCmplncAddlPrpty.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID
[0..1] P_ChmlCmplncAssocAddlPrpty _ChmlCmplncAssocAddlPrpty _ChmlCmplncAssocAddlPrpty.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Compliance Purpose
[0..*] C_CmbndChmlCmplncPrpsAssgmtTP _PurposeAssignment _PurposeAssignment.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID -- Unpackaged Products Dangerous Goods Assessment
[0..*] C_CmbndChmlCmplncDngrsGdsAssmt _UnpckgdDngrsGdsAssmt _UnpckgdDngrsGdsAssmt.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Packaged Products Dangerous Goods Assessment
[0..*] C_CmbndChmlPckgdDngrsGdsAssmt _PckgdDngrsGdsAssmt _PckgdDngrsGdsAssmt.ChmlCmplncProdUUID = $projection.ActiveChmlCmplncInfoUUID -- Unpackaged Products Manual Dangerous Goods Info
[0..*] C_CmbndChmlCmplncUnpckgdProd _UnpckgdManualDngrsGds _UnpckgdManualDngrsGds.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID -- Packaged Products Manual Dangerous Goods Info
[0..*] C_CmbndChmlCmplncPckgdProd _PckgdManualDngrsGds _PckgdManualDngrsGds.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID ----------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Additional Information -- Material Data for Primary Material
[0..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID ----------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Value Helps
[0..1] C_ChmlCmplncRespUnitDngrsGdsVH _RespDangerousGoodsVH _RespDangerousGoodsVH.ResponsibleUnit = $projection.DngrsGdsRespUnit

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName CCMBNDCCITP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Material Data view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Consumption.semanticObject Chemical view
Search.searchable true view

Fields (50)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ActiveChmlCmplncInfoUUID I_ChmlCmplncInfoTP ActiveChmlCmplncInfoUUID Chemical Compliance Information
ChmlCmplncProdCatztnPhrsText
CreationUTCDateTime CreationUTCDateTime Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeUTCDateTime LastChangeUTCDateTime Time Stamp
LastChangedByUser LastChangedByUser User Name
ProdStewardshipRespUnit Responsible Unit
ChmlCmplncInfoType ChmlCmplncInfoType Type of Chemical Compliance Information
MaterialIsSold MaterialIsSold Is Sold
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsProduced MaterialIsProduced Is Produced
MaterialIsDisposed MaterialIsDisposed Is Disposed
MaterialIsEmissionRelevant MaterialIsEmissionRelevant Emission Relevant
ChmlCmplncLogisticalRoleDesc Logistics Role
ChmlCmplncProdIsResearched ChmlCmplncProdIsResearched R&D Sample
ChmlCmplncInfoCombinedName _MaterialDataPrimary ChmlCmplncInfoCombinedName Material Name
MaterialName
MaterialasMaterial Product
ChmlCompositionStatus Analytical Composition Status
ChmlCompositionStatusName _AnlytlCmpstnStatus ChmlCompositionStatusName
AnalyticCmpstnNavgnLinkUUID _AnlytlCmpstnStatus ChmlCompositionUUID Chemical Composition
ChmlCmpstnNavgnStatusCritlty _AnlytlCmpstnStatus ChmlCmpstnNavgnStatusCritlty
ChmlCmplncWasteCodeStatus _AssocdWasteCode ChmlCmplncWasteCodeStatus Waste Codes Status
ChmlCmplncWasteCodeIsHidden _AssocdWasteCode ChmlCmplncWasteCodeIsHidden
ChmlCmplncWasteCodeStsCritlty _AssocdWasteCode ChmlCmplncWasteCodeStsCritlty
PCPrptyProcgStsasPCPrptyProcgSts Default Properties Status
PCPrptyProcgStsText _AssocdPCPrpty PCPrptyProcgStsText
PCPhysPrptyNavgnLinkUUID _AssocdPCPrpty PhysChmlPrptyUUID Physical-Chemical Property
PCPrptyProcgStsCritlty _AssocdPCPrpty PCPrptyProcgStsCritlty
ChmlCmplncAddlPrptyStatus _ChmlCmplncAssocAddlPrpty ChmlCmplncAddlPrptyStatus Additional Properties Status
ChmlCmplncAddlPrptyStatusDesc _ChmlCmplncAssocAddlPrpty ChmlCmplncAddlPrptyStatusDesc
ChmlCmplncAddlPrptyCriticality _ChmlCmplncAssocAddlPrpty ChmlCmplncAddlPrptyCriticality
ProductComplianceIsActivated
ProductComplianceIsDeactivated
_MaterialAssignment _MaterialAssignment
_ActiveProductAssignment _ActiveProductAssignment
_AnlytlCmpstn _AnlytlCmpstn
_WasteCode _WasteCode
_CmbndChmlCmplncAddlPrpty _CmbndChmlCmplncAddlPrpty
_WasteCodeStatus _AssocdWasteCode _WasteCodeStatus
_DefaultPropertyAssignment _DefaultPropertyAssignment
_PurposeAssignment _PurposeAssignment
_UnpckgdDngrsGdsAssmt _UnpckgdDngrsGdsAssmt
_PckgdDngrsGdsAssmt _PckgdDngrsGdsAssmt
_PckgdManualDngrsGds _PckgdManualDngrsGds
_UnpckgdManualDngrsGds _UnpckgdManualDngrsGds
_RespDangerousGoodsVH _RespDangerousGoodsVH
_WasteData _WasteData

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_CmbndChmlCmplncInfoTP.
-- 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: CCMBNDCCITP

CREATE VIEW C_CmbndChmlCmplncInfoTP AS
SELECT
  ChmlCmplncInfoUUID,
  I_ChmlCmplncInfoTP.ActiveChmlCmplncInfoUUID AS ActiveChmlCmplncInfoUUID,
  cast('' as ehfnd_phrs_text ) AS ChmlCmplncProdCatztnPhrsText,
  CreationUTCDateTime,
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  cast(ProdStewardshipRespUnit as ehfnd_cci_responsible_unit preserving type ) AS ProdStewardshipRespUnit,
  ChmlCmplncInfoType,
  MaterialIsSold,
  MaterialIsTransported,
  MaterialIsSourced,
  MaterialIsProduced,
  MaterialIsDisposed,
  MaterialIsEmissionRelevant,
  cast('' as abap.char(100)) AS ChmlCmplncLogisticalRoleDesc,
  ChmlCmplncProdIsResearched,
  _MaterialDataPrimary.ChmlCmplncInfoCombinedName AS ChmlCmplncInfoCombinedName,
  _AnlytlCmpstnStatus.ChmlCompositionStatusName AS ChmlCompositionStatusName,
  _AnlytlCmpstnStatus.ChmlCompositionUUID AS AnalyticCmpstnNavgnLinkUUID,
  _AnlytlCmpstnStatus.ChmlCmpstnNavgnStatusCritlty AS ChmlCmpstnNavgnStatusCritlty,
  _AssocdWasteCode.ChmlCmplncWasteCodeStatus AS ChmlCmplncWasteCodeStatus,
  _AssocdWasteCode.ChmlCmplncWasteCodeIsHidden AS ChmlCmplncWasteCodeIsHidden,
  _AssocdWasteCode.ChmlCmplncWasteCodeStsCritlty AS ChmlCmplncWasteCodeStsCritlty,
  _AssocdPCPrpty.PCPrptyProcgStsText AS PCPrptyProcgStsText,
  _AssocdPCPrpty.PhysChmlPrptyUUID AS PCPhysPrptyNavgnLinkUUID,
  _AssocdPCPrpty.PCPrptyProcgStsCritlty AS PCPrptyProcgStsCritlty,
  _ChmlCmplncAssocAddlPrpty.ChmlCmplncAddlPrptyStatus AS ChmlCmplncAddlPrptyStatus,
  _ChmlCmplncAssocAddlPrpty.ChmlCmplncAddlPrptyStatusDesc AS ChmlCmplncAddlPrptyStatusDesc,
  _ChmlCmplncAssocAddlPrpty.ChmlCmplncAddlPrptyCriticality AS ChmlCmplncAddlPrptyCriticality,
  '' AS ProductComplianceIsActivated,
  '' AS ProductComplianceIsDeactivated,
  _AssocdWasteCode._WasteCodeStatus AS _WasteCodeStatus
FROM I_ChmlCmplncInfoTP
LEFT OUTER JOIN C_CmbndChmlCmplncMatlAssgmtTP AS _MaterialAssignment ON _MaterialAssignment.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlCmplncProdAssgmt AS _ActiveProductAssignment ON _ActiveProductAssignment.ChmlCmplncProdUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlAnlytlCmpstn AS _AnlytlCmpstn ON _AnlytlCmpstn.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN P_CmbndChmlAssocdAnlytlCmpstn AS _AnlytlCmpstnStatus ON _AnlytlCmpstnStatus.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmbndChmlCmplncWasteCode AS _WasteCode ON _WasteCode.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN P_CmbndChmlAssocdWasteCode AS _AssocdWasteCode ON _AssocdWasteCode.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmbndChmlCmplWasteDataTP AS _WasteData ON _WasteData.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmbndChmlCmplncAssgdPCPrpty AS _DefaultPropertyAssignment ON _DefaultPropertyAssignment.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN P_CmbndChmlAssocdPCPrpty AS _AssocdPCPrpty ON _AssocdPCPrpty.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmbndChmlCmplncAddlPrpty AS _CmbndChmlCmplncAddlPrpty ON _CmbndChmlCmplncAddlPrpty.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN P_ChmlCmplncAssocAddlPrpty AS _ChmlCmplncAssocAddlPrpty ON _ChmlCmplncAssocAddlPrpty.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmbndChmlCmplncPrpsAssgmtTP AS _PurposeAssignment ON _PurposeAssignment.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlCmplncDngrsGdsAssmt AS _UnpckgdDngrsGdsAssmt ON _UnpckgdDngrsGdsAssmt.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlPckgdDngrsGdsAssmt AS _PckgdDngrsGdsAssmt ON _PckgdDngrsGdsAssmt.ChmlCmplncProdUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlCmplncUnpckgdProd AS _UnpckgdManualDngrsGds ON _UnpckgdManualDngrsGds.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_CmbndChmlCmplncPckgdProd AS _PckgdManualDngrsGds ON _PckgdManualDngrsGds.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON _MaterialDataPrimary.ChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncRespUnitDngrsGdsVH AS _RespDangerousGoodsVH ON _RespDangerousGoodsVH.ResponsibleUnit = DngrsGdsRespUnit  -- association [0..1]
;