C_ChmlCmplncPrpsAssgmtTP
Chemical Compliance Purpose Assignment
C_ChmlCmplncPrpsAssgmtTP is a Consumption CDS View that provides data about "Chemical Compliance Purpose Assignment" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncPrpsAssgmtTP) and exposes 12 fields with key field ChmlCmplncPrpsAssgmtUUID. It has 5 associations to related views. It is exposed through 1 OData service (ASQL_F2647). Part of development package EHFND_CNS_CCI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncPrpsAssgmtTP | I_ChmlCmplncPrpsAssgmtTP | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ChmlCmplncInfoTP | _ChmlCmplncInfo | _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID |
| [0..1] | P_ChmlCmplncPrpsMktRqmtCt | _PrpsMktRqmtCt | _PrpsMktRqmtCt.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
| [0..1] | P_ChmlCmplncPrpsDGRqmtCt | _PrpsDGRqmtCt | _PrpsDGRqmtCt.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
| [0..1] | P_ChmlCmplncPrpsSdsRqmtCt | _PrpsSdsRqmtCt | _PrpsSdsRqmtCt.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
| [0..*] | C_CmplncPrpsNameWithFallback | _CmplncPrpsText | _CmplncPrpsText.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | CCCPRPSASSGMTTP | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Chemical Compliance Purpose Assignment | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2647 | ASQL_F2647 | C2 | NOT_RELEASED |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncPrpsAssgmtUUID | ChmlCmplncPrpsAssgmtUUID | Purpose Assignment | |
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | ||
| CmplncPrpsUUID | CmplncPrpsUUID | Compliance Purpose | ||
| CmplncPrps | CmplncPrps | Purpose ID | ||
| CmplncPrpsName | ||||
| CmplncPrpsFallbackName | _CmplncPrpsText | CmplncPrpsName | Compliance Purpose Name | |
| CmplncPrpsEnglishName | _CmplncPrpsText | CmplncPrpsEnglishName | ||
| NmbrOfChmlCmplncMktRqmts | _PrpsMktRqmtCt | NmbrOfChmlCmplncMktRqmts | ||
| NmbrOfChmlCmplncDngrsGdsRqmts | _PrpsDGRqmtCt | NmbrOfChmlCmplncDngrsGdsRqmts | ||
| NmbrOfChmlCmplncDataShtRqmts | _PrpsSdsRqmtCt | NmbrOfChmlCmplncDataShtRqmts | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _Purpose | _Purpose |
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_ChmlCmplncPrpsAssgmtTP.
-- 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: CCCPRPSASSGMTTP
CREATE VIEW C_ChmlCmplncPrpsAssgmtTP AS
SELECT
ChmlCmplncPrpsAssgmtUUID,
ChmlCmplncInfoUUID,
CmplncPrpsUUID,
CmplncPrps,
cast(_CmplncPrpsText.CmplncPrps as ehfnd_cmplnc_prps) AS CmplncPrpsName,
_CmplncPrpsText.CmplncPrpsName AS CmplncPrpsFallbackName,
_CmplncPrpsText.CmplncPrpsEnglishName AS CmplncPrpsEnglishName,
_PrpsMktRqmtCt.NmbrOfChmlCmplncMktRqmts AS NmbrOfChmlCmplncMktRqmts,
_PrpsDGRqmtCt.NmbrOfChmlCmplncDngrsGdsRqmts AS NmbrOfChmlCmplncDngrsGdsRqmts,
_PrpsSdsRqmtCt.NmbrOfChmlCmplncDataShtRqmts AS NmbrOfChmlCmplncDataShtRqmts
FROM I_ChmlCmplncPrpsAssgmtTP
LEFT OUTER JOIN C_ChmlCmplncInfoTP AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID -- association [1..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsMktRqmtCt AS _PrpsMktRqmtCt ON _PrpsMktRqmtCt.CmplncPrpsUUID = CmplncPrpsUUID -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsDGRqmtCt AS _PrpsDGRqmtCt ON _PrpsDGRqmtCt.CmplncPrpsUUID = CmplncPrpsUUID -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsSdsRqmtCt AS _PrpsSdsRqmtCt ON _PrpsSdsRqmtCt.CmplncPrpsUUID = CmplncPrpsUUID -- association [0..1]
LEFT OUTER JOIN C_CmplncPrpsNameWithFallback AS _CmplncPrpsText ON _CmplncPrpsText.CmplncPrpsUUID = CmplncPrpsUUID -- association [0..*]
;
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