C_ProdCmplncUseTP
Uses
C_ProdCmplncUseTP is a Consumption CDS View that provides data about "Uses" in SAP S/4HANA. It reads from 1 data source (R_ProdCmplncUseTP) and exposes 26 fields with key field ProdCmplncUseUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ProdCmplncUseTP | R_ProdCmplncUseTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_ProdCmplncUseHistory | _ProdCmplncUseHistory | R_ProdCmplncUseTP.ChmlCmplncInfoUUID = _ProdCmplncUseHistory.ChmlCmplncInfoUUID and R_ProdCmplncUseTP.ProdCmplncLegalArea = _ProdCmplncUseHistory.ProdCmplncLegalArea |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Uses | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | ProdCmplncUseUUID | view | |
| UI.headerInfo.typeImageUrl | sap-icon: typeName: | view | |
| UI.headerInfo.typeNamePlural | Uses | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.label | Material Name | view | |
| UI.headerInfo.title.value | ChmlCmplncInfoCombinedName | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdCmplncUseUUID | ProdCmplncUseUUID | Use | |
| ActiveProdCmplncUseUUID | ActiveProdCmplncUseUUID | Use | ||
| ChmlCmplncInfoNavgnLink | ChmlCmplncInfoUUID | Chemical Compliance Information PP | ||
| ProdCmplncUseNavgnLinkUUID | _ProdCmplncUseReld | ProdCmplncUseUUID | Use | |
| ProdCmplncLegalArea | ProdCmplncLegalArea | Legal Area | ||
| ProdCmplncLegalAreaName | ||||
| ProdCmplncUseProcgSts | ProdCmplncUseProcgSts | Status | ||
| ValidityStartDateTime | ValidityStartDateTime | Valid From Timestamp | ||
| ValidityEndDateTime | ValidityEndDateTime | Valid To Timestamp | ||
| ReleasedByUser | ReleasedByUser | Released By | ||
| Material | _MaterialDataPrimary | Material | Vehicle Model | |
| MaterialIsSold | _ChmlCmplncInfo | MaterialIsSold | Is Sold | |
| MaterialIsTransported | _ChmlCmplncInfo | MaterialIsTransported | Is Transported | |
| MaterialIsProduced | _ChmlCmplncInfo | MaterialIsProduced | Is Produced | |
| MaterialIsSourced | _ChmlCmplncInfo | MaterialIsSourced | Is Purchased | |
| MaterialIsDisposed | _ChmlCmplncInfo | MaterialIsDisposed | Is Disposed | |
| MaterialIsEmissionRelevant | _ChmlCmplncInfo | MaterialIsEmissionRelevant | Emission Relevant | |
| ChmlCmplncProdIsResearched | _ChmlCmplncInfo | ChmlCmplncProdIsResearched | R&D Sample | |
| ChmlCmplncInfoType | _ChmlCmplncInfo | ChmlCmplncInfoType | Type of Chemical Compliance Information | |
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangedByUserName | ||||
| LastChangeUTCDateTime | LastChangeDateTime | Timestamp | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _ProdCmplncUseHistory | _ProdCmplncUseHistory |
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_ProdCmplncUseTP.
-- 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.
CREATE VIEW C_ProdCmplncUseTP AS
SELECT
ProdCmplncUseUUID,
ActiveProdCmplncUseUUID,
ChmlCmplncInfoUUID AS ChmlCmplncInfoNavgnLink,
_ProdCmplncUseReld.ProdCmplncUseUUID AS ProdCmplncUseNavgnLinkUUID,
ProdCmplncLegalArea,
_ProdCmplncLegalArea._Text[1: Language= $session.system_language].ProdCmplncLegalAreaName AS ProdCmplncLegalAreaName,
ProdCmplncUseProcgSts,
ValidityStartDateTime,
ValidityEndDateTime,
ReleasedByUser,
_MaterialDataPrimary.Material AS Material,
_ChmlCmplncInfo.MaterialIsSold AS MaterialIsSold,
_ChmlCmplncInfo.MaterialIsTransported AS MaterialIsTransported,
_ChmlCmplncInfo.MaterialIsProduced AS MaterialIsProduced,
_ChmlCmplncInfo.MaterialIsSourced AS MaterialIsSourced,
_ChmlCmplncInfo.MaterialIsDisposed AS MaterialIsDisposed,
_ChmlCmplncInfo.MaterialIsEmissionRelevant AS MaterialIsEmissionRelevant,
_ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
_ChmlCmplncInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType,
CreationDateTime,
CreatedByUser,
LastChangedByUser,
cast( _LastChangedByUser.UserDescription as ehfnd_bo_lchg_uname_enhanced preserving type ) AS LastChangedByUserName,
LastChangeDateTime AS LastChangeUTCDateTime
FROM R_ProdCmplncUseTP
LEFT OUTER JOIN C_ProdCmplncUseHistory AS _ProdCmplncUseHistory ON R_ProdCmplncUseTP.ChmlCmplncInfoUUID = _ProdCmplncUseHistory.ChmlCmplncInfoUUID AND R_ProdCmplncUseTP.ProdCmplncLegalArea = _ProdCmplncUseHistory.ProdCmplncLegalArea -- association [0..*]
;
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