I_CmplRqVersWasteCode
Compl. Req. Version Waste Code Reg list
I_CmplRqVersWasteCode is a Basic CDS View that provides data about "Compl. Req. Version Waste Code Reg list" in SAP S/4HANA. It reads from 1 data source (ehfndd_req_wcode) and exposes 16 fields with key field EnvrmtWasteCodeUUID. It has 4 associations to related views. Part of development package EHFND_BO_COMPLIANCE_REQ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndd_req_wcode | ehfndd_req_wcode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CmplRqVersWasteCodeText | _WasteCodeText | $projection.EnvrmtWasteCodeUUID = _WasteCodeText.EnvrmtWasteCodeUUID |
| [1..1] | I_CmplRqVersSubstanceList | _SubstanceList | $projection.SubstanceListUUID = _SubstanceList.SubstanceListUUID |
| [1..1] | I_CmplRqVersEnhanced | _CmplRqVers | $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID |
| [1..1] | I_CmplRqVersWasteCodeLimits | _WasteLimit | $projection.CmplRqVersUUID = _WasteLimit.CmplRqVersUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICQRWASTECODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Compl. Req. Version Waste Code Reg list | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | EnvrmtWasteCodeUUID | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EnvrmtWasteCodeUUID | db_key | UUID | |
| CmplRqVersUUID | root_key | UUID | ||
| SubstanceListUUID | parent_key | UUID | ||
| CreationUTCDateTime | Created On/At | |||
| CreatedByUser | user_id_cr | Created By | ||
| LastChangeUTCDateTime | Changed On/At | |||
| LastChangedByUser | user_id_ch | Changed By | ||
| EnvrmtWasteCode | waste_code | Waste Code | ||
| EnvrmtWasteCodeShort | short_waste_code | Waste Code | ||
| ListedSubstance | listsub_id | Pollutant Container | ||
| EnvrmtHazardCode | hazard_code | Hazard Code | ||
| CmplRqRecordID | record_id | UUID | ||
| _WasteCodeText | _WasteCodeText | |||
| _SubstanceList | _SubstanceList | |||
| _CmplRqVers | _CmplRqVers | |||
| _WasteLimit | _WasteLimit |
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 I_CmplRqVersWasteCode.
-- 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: ICQRWASTECODE
CREATE VIEW I_CmplRqVersWasteCode AS
SELECT
db_key AS EnvrmtWasteCodeUUID,
root_key AS CmplRqVersUUID,
parent_key AS SubstanceListUUID,
cast(datetime_cr as timestamp preserving type) AS CreationUTCDateTime,
user_id_cr AS CreatedByUser,
cast(datetime_ch as timestamp preserving type) AS LastChangeUTCDateTime,
user_id_ch AS LastChangedByUser,
waste_code AS EnvrmtWasteCode,
short_waste_code AS EnvrmtWasteCodeShort,
listsub_id AS ListedSubstance,
hazard_code AS EnvrmtHazardCode,
record_id AS CmplRqRecordID
FROM ehfndd_req_wcode
LEFT OUTER JOIN I_CmplRqVersWasteCodeText AS _WasteCodeText ON EnvrmtWasteCodeUUID = _WasteCodeText.EnvrmtWasteCodeUUID -- association [1..*]
LEFT OUTER JOIN I_CmplRqVersSubstanceList AS _SubstanceList ON SubstanceListUUID = _SubstanceList.SubstanceListUUID -- association [1..1]
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- association [1..1]
LEFT OUTER JOIN I_CmplRqVersWasteCodeLimits AS _WasteLimit ON CmplRqVersUUID = _WasteLimit.CmplRqVersUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA