I_CmplRqRsltWasteCodeTP
Waste Code - TP
I_CmplRqRsltWasteCodeTP is a Transactional CDS View that provides data about "Waste Code - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 31 fields with key field CmplRqRsltUUID. It has 4 associations to related views. It is exposed through 1 OData service (ASQL_F6278). Part of development package EHSDS_CRPAT_WASTE_CODE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRslt | I_CmplRqRslt | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CmplRqRsltWasteCodeClfnTP | _CmplRqRsltWasteCodeClfn | $projection.CmplRqRsltUUID = _CmplRqRsltWasteCodeClfn.CmplRqRsltUUID |
| [0..*] | I_CmplRqRsltWasteCodeCatTP | _CmplRqRsltWasteCodeCat | $projection.CmplRqRsltUUID = _CmplRqRsltWasteCodeCat.CmplRqRsltUUID |
| [0..*] | I_CmplRqRsltWstCdAddlStmntTP | _CmplRqRsltWasteCodeAddl | $projection.CmplRqRsltUUID = _CmplRqRsltWasteCodeAddl.CmplRqRsltUUID |
| [0..1] | I_CmplRqRsltWasteCodeNoteTP | _CmplRqRsltWasteCodeNote | $projection.CmplRqRsltUUID = _CmplRqRsltWasteCodeNote.PCPrptyRootUUID |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICRRWSTCDTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.writeDraftPersistence | ehfndw_crr_wst | view | |
| ObjectModel.writeActivePersistence | ehfndv_crr2 | view | |
| ObjectModel.entityChangeStateId | LastChangeDateTime | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.sapObjectNodeType.name | WasteCodesAssessment | view | |
| EndUserText.label | Waste Code - TP | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F6278 | ASQL_F6278 | C2 | NOT_RELEASED |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqRsltUUID | CmplRqRsltUUID | SDS Assessment | |
| ActiveCmplRqRsltUUID | SDS Assessment | |||
| ActiveUUIDofCRRCmplRqVersUUID | ||||
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | ||
| SubstanceUUID | SubstanceUUID | Substance | ||
| ChmlSuplrMatlUUID | ChmlSuplrMatlUUID | Supplier Raw Material | ||
| ComplianceRequirement | ComplianceRequirement | Compliance Requirement | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CmplRqRsltProcessingStatus | CmplRqRsltProcessingStatus | Processing Status | ||
| CmplRqRsltProcessor | Processor | User Name | ||
| ReleasedByUser | ReleasedByUser | Released By | ||
| ValidityStartDateTime | ValidityStartDateTime | Valid From Timestamp | ||
| ValidityEndDateTime | ValidityEndDateTime | Valid To Timestamp | ||
| CmplRqRsltReldCmplncSts | CmplRqRsltReldCmplncSts | Released Compliance Status | ||
| CmplRqRsltCalculatedStatus | CmplRqRsltCalculatedStatus | Calculated Compliance Status | ||
| CmplRqRsltManualStatus | CmplRqRsltManualStatus | Transport Permission | ||
| CmplRqRsltStatusRemark | CmplRqRsltStatusRemark | Remarks | ||
| ChmlCompositionType | ChmlCompositionType | Legal Area | ||
| MaterialIsSold | MaterialIsSold | Is Sold | ||
| MaterialIsTransported | MaterialIsTransported | Is Transported | ||
| MaterialIsSourced | MaterialIsSourced | Is Purchased | ||
| MaterialIsProduced | MaterialIsProduced | Is Produced | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _CmplRqVers | _CmplRqVers | |||
| _CmplRqRsltWasteCodeClfn | _CmplRqRsltWasteCodeClfn | |||
| _CmplRqRsltWasteCodeCat | _CmplRqRsltWasteCodeCat | |||
| _CmplRqRsltWasteCodeAddl | _CmplRqRsltWasteCodeAddl | |||
| _CmplRqRsltWasteCodeNote | _CmplRqRsltWasteCodeNote |
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_CmplRqRsltWasteCodeTP.
-- 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: ICRRWSTCDTP
CREATE VIEW I_CmplRqRsltWasteCodeTP AS
SELECT
CmplRqRsltUUID,
cast(CmplRqRsltUUID as ehfnd_crr_active_uuid preserving type ) AS ActiveCmplRqRsltUUID,
ChmlCmplncInfoUUID,
SubstanceUUID,
ChmlSuplrMatlUUID,
ComplianceRequirement,
CreationDateTime,
CreatedByUser,
LastChangeDateTime,
LastChangedByUser,
CmplRqRsltProcessingStatus,
Processor AS CmplRqRsltProcessor,
ReleasedByUser,
ValidityStartDateTime,
ValidityEndDateTime,
CmplRqRsltReldCmplncSts,
CmplRqRsltCalculatedStatus,
CmplRqRsltManualStatus,
CmplRqRsltStatusRemark,
ChmlCompositionType,
MaterialIsSold,
MaterialIsTransported,
MaterialIsSourced,
MaterialIsProduced
FROM I_CmplRqRslt
LEFT OUTER JOIN I_CmplRqRsltWasteCodeClfnTP AS _CmplRqRsltWasteCodeClfn ON CmplRqRsltUUID = _CmplRqRsltWasteCodeClfn.CmplRqRsltUUID -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltWasteCodeCatTP AS _CmplRqRsltWasteCodeCat ON CmplRqRsltUUID = _CmplRqRsltWasteCodeCat.CmplRqRsltUUID -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltWstCdAddlStmntTP AS _CmplRqRsltWasteCodeAddl ON CmplRqRsltUUID = _CmplRqRsltWasteCodeAddl.CmplRqRsltUUID -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltWasteCodeNoteTP AS _CmplRqRsltWasteCodeNote ON CmplRqRsltUUID = _CmplRqRsltWasteCodeNote.PCPrptyRootUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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