C_ChmlCmplncWasteCodeAssgmtVH

DDL: C_CHMLCMPLNCWASTECODEASSGMTVH SQL: CCCWSTCDASGNMTVH Type: view CONSUMPTION Package: EHFND_CNS_CCW

Chml Cmplnc Waste Code Value Help

C_ChmlCmplncWasteCodeAssgmtVH is a Consumption CDS View that provides data about "Chml Cmplnc Waste Code Value Help" in SAP S/4HANA. It reads from 1 data source (I_EnvrmtWasteCodesReleased) and exposes 25 fields with key field EnvrmtWasteCodeUUID. It is exposed through 1 OData service (ASQL_F5306). Part of development package EHFND_CNS_CCW.

Data Sources (1)

SourceAliasJoin Type
I_EnvrmtWasteCodesReleased I_EnvrmtWasteCodesReleased from

Annotations (12)

NameValueLevelField
EndUserText.label Chml Cmplnc Waste Code Value Help view
AbapCatalog.sqlViewName CCCWSTCDASGNMTVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey EnvrmtWasteCodeUUID view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F5306 ASQL_F5306 C2 NOT_RELEASED

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY EnvrmtWasteCodeUUID EnvrmtWasteCodeUUID Waste Code
CmplRqVersUUID _CmplRqVers CmplRqVersUUID NodeID
EnvrmtWasteCode EnvrmtWasteCode Waste Code
EnvrmtWasteCodeShort EnvrmtWasteCodeShort
EnvrmtHazardCode EnvrmtHazardCode
CmplRqVersName _CmplRqVers CmplRqVersName Compliance Requirement Name
ComplianceRequirement _CmplRqVers ComplianceRequirement Compliance Requirement
CmplRqVersAppltyAreaString Validity Area
CmplRqVersEnglishName _CmplRqVers CmplRqVersEnglishName
CmplRqVersNameInCurLang _CmplRqVers CmplRqVersNameInCurLang
SubstanceListName Regulatory List
CmplRqVersParagraphName
ListedSubstance ListedSubstance Listed Substance
ListedSubstanceName ListedSubstanceName Listed Substance Name
CustCASNumber CustCASNumber CAS Number
CntntCASNumber CntntCASNumber CAS Number
CASNumber CASNumber CAS Number
EnvrmtWasteCodeDescription Waste Code Description
EnvrmtWasteCodeShortDesc
_CmplRqVersAppltyArea _CmplRqVers _CmplRqVersAppltyArea
EffectiveDate _CmplRqVers EffectiveDate Effective Date
CmplRqVersValidToDate _CmplRqVers CmplRqVersValidToDate Expiration Date
SubstanceListUUID SubstanceListUUID Substance List
CmplRqDomain _CmplRqVers CmplRqDomain Requirement Domain
_SubstanceList _SubstanceList

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_ChmlCmplncWasteCodeAssgmtVH.
-- 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: CCCWSTCDASGNMTVH

CREATE VIEW C_ChmlCmplncWasteCodeAssgmtVH AS
SELECT
  EnvrmtWasteCodeUUID,
  _CmplRqVers.CmplRqVersUUID AS CmplRqVersUUID,
  EnvrmtWasteCode,
  EnvrmtWasteCodeShort,
  EnvrmtHazardCode,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  cast('' as abap.char(1000)) AS CmplRqVersAppltyAreaString,
  _CmplRqVers.CmplRqVersEnglishName AS CmplRqVersEnglishName,
  _CmplRqVers.CmplRqVersNameInCurLang AS CmplRqVersNameInCurLang,
  _SubstanceList._Text[1: Language = $session.system_language].SubstanceListName AS SubstanceListName,
  _SubstanceList._CmplRqVersStructure.CmplRqVersParagraphName AS CmplRqVersParagraphName,
  ListedSubstance,
  ListedSubstanceName,
  CustCASNumber,
  CntntCASNumber,
  CASNumber,
  _WasteCodeText[1: Language = $session.system_language].EnvrmtWasteCodeDescription AS EnvrmtWasteCodeDescription,
  _WasteCodeText[1: Language = $session.system_language].EnvrmtWasteCodeShortDesc AS EnvrmtWasteCodeShortDesc,
  _CmplRqVers._CmplRqVersAppltyArea AS _CmplRqVersAppltyArea,
  _CmplRqVers.EffectiveDate AS EffectiveDate,
  _CmplRqVers.CmplRqVersValidToDate AS CmplRqVersValidToDate,
  SubstanceListUUID,
  _CmplRqVers.CmplRqDomain AS CmplRqDomain
FROM I_EnvrmtWasteCodesReleased
;