C_ChmlCmplncWasteCodeTP

DDL: C_CHMLCMPLNCWASTECODETP Type: view CONSUMPTION Package: EHFND_CNS_CCW

Chemical Compliance Waste Codes

C_ChmlCmplncWasteCodeTP is a Consumption CDS View that provides data about "Chemical Compliance Waste Codes" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncWasteCodeTP) and exposes 23 fields with key field ChmlCmplncWasteCodeUUID. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F5306). Part of development package EHFND_CNS_CCW.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncWasteCodeTP I_ChmlCmplncWasteCodeTP from

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_ChmlCmplncWasteCodeAssgmtTP _ChmlCmplncWasteCodeAssgmt $projection.ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID -------------------------------------------------------------------------------------------------------------------- --Additional Info -------------------------------------------------------------------------------------------------------------------- -- For Material name in header
[0..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

Annotations (17)

NameValueLevelField
EndUserText.label Chemical Compliance Waste Codes view
AbapCatalog.sqlViewName CCCWASTECODETP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION 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

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F5306 ASQL_F5306 C2 NOT_RELEASED

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncWasteCodeUUID ChmlCmplncWasteCodeUUID Chml Cmplnc Wst Code
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
CreationUTCDateTime CreationUTCDateTime Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeUTCDateTime LastChangeUTCDateTime Time Stamp
LastChangedByUser LastChangedByUser User Name
ChmlCmplncInfoCombinedName _MaterialDataPrimary ChmlCmplncInfoCombinedName
Material _MaterialDataPrimary Material Vehicle Model
ChmlCmplncInternalName
Specification
AnalyticCmpstnNavgnLinkUUID Chemical Compliance Information PP
PCPhysPrptyNavgnLinkUUID Chemical Compliance Information PP
AddlPrptyNavgnLinkUUID Chemical Compliance Information PP
ChmlCmplncProdIsResearched
MaterialIsDisposed _ChmlCmplncInfo MaterialIsDisposed Is Disposed
MaterialIsEmissionRelevant _ChmlCmplncInfo MaterialIsEmissionRelevant Emission Relevant
MaterialIsProduced _ChmlCmplncInfo MaterialIsProduced Is Produced
MaterialIsSold _ChmlCmplncInfo MaterialIsSold Is Sold
MaterialIsSourced _ChmlCmplncInfo MaterialIsSourced Is Purchased
MaterialIsTransported _ChmlCmplncInfo MaterialIsTransported Is Transported
ChmlCmplncInfoType _ChmlCmplncInfo ChmlCmplncInfoType Type of Chemical Compliance Information
_ChmlCmplncWasteCodeAssgmt _ChmlCmplncWasteCodeAssgmt
_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_ChmlCmplncWasteCodeTP.
-- 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_ChmlCmplncWasteCodeTP AS
SELECT
  ChmlCmplncWasteCodeUUID,
  ChmlCmplncInfoUUID,
  CreationUTCDateTime,
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  _MaterialDataPrimary.ChmlCmplncInfoCombinedName AS ChmlCmplncInfoCombinedName,
  _MaterialDataPrimary.Material AS Material,
  cast( ChmlCmplncInfoUUID as ehfnd_cci_ccmps_uuid ) AS AnalyticCmpstnNavgnLinkUUID,
  cast( ChmlCmplncInfoUUID as ehfnd_physchem_uuid ) AS PCPhysPrptyNavgnLinkUUID,
  cast( ChmlCmplncInfoUUID as ehfnd_cca_adlpr_uuid ) AS AddlPrptyNavgnLinkUUID,
  _ChmlCmplncInfo.MaterialIsDisposed AS MaterialIsDisposed,
  _ChmlCmplncInfo.MaterialIsEmissionRelevant AS MaterialIsEmissionRelevant,
  _ChmlCmplncInfo.MaterialIsProduced AS MaterialIsProduced,
  _ChmlCmplncInfo.MaterialIsSold AS MaterialIsSold,
  _ChmlCmplncInfo.MaterialIsSourced AS MaterialIsSourced,
  _ChmlCmplncInfo.MaterialIsTransported AS MaterialIsTransported,
  _ChmlCmplncInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType
FROM I_ChmlCmplncWasteCodeTP
LEFT OUTER JOIN C_ChmlCmplncWasteCodeAssgmtTP AS _ChmlCmplncWasteCodeAssgmt ON ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON _MaterialDataPrimary.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
;