C_EnvrmtWasteCodesReleasedVH

DDL: C_ENVRMTWASTECODESRELEASEDVH SQL: CCMPLRQVERSWCVH Type: view CONSUMPTION Package: EHFND_BO_COMPLIANCE_REQ

Compliance Requirement Waste Codes

C_EnvrmtWasteCodesReleasedVH is a Consumption CDS View that provides data about "Compliance Requirement Waste Codes" in SAP S/4HANA. It reads from 1 data source (I_EnvrmtWasteCodesReleased) and exposes 7 fields with key fields EnvrmtWasteCodeUUID, Country. It has 1 association to related views. Part of development package EHFND_BO_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
I_EnvrmtWasteCodesReleased I_EnvrmtWasteCodesReleased from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSCmplRqPmtAppltyArea _AppltyArea $projection.CmplRqVersUUID = _AppltyArea.CmplRqVersUUID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CCMPLRQVERSWCVH view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey EnvrmtWasteCodeUUID view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY EnvrmtWasteCodeUUID EnvrmtWasteCodeUUID Waste Code
KEY Country _AppltyArea Country Country/Region
EnvrmtWasteCode EnvrmtWasteCode Waste Code
EnvrmtWasteCodeDescription Waste Code Description
CmplRqVersName _CmplRqVers CmplRqVersName Compliance Requirement
CountryName _CmplRqVers CountryName Countries/Regions
CmplRqVersUUID CmplRqVersUUID NodeID

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_EnvrmtWasteCodesReleasedVH.
-- 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: CCMPLRQVERSWCVH

CREATE VIEW C_EnvrmtWasteCodesReleasedVH AS
SELECT
  EnvrmtWasteCodeUUID,
  _AppltyArea.Country AS Country,
  EnvrmtWasteCode,
  _WasteCodeText[1: Language = $session.system_language].EnvrmtWasteCodeDescription AS EnvrmtWasteCodeDescription,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _CmplRqVers.CountryName AS CountryName,
  CmplRqVersUUID
FROM I_EnvrmtWasteCodesReleased
LEFT OUTER JOIN I_EHSCmplRqPmtAppltyArea AS _AppltyArea ON CmplRqVersUUID = _AppltyArea.CmplRqVersUUID  -- association [0..*]
;