C_POProdComplianceCriticality
Purchase Order Product Compliance Criticality Rating
C_POProdComplianceCriticality is a Consumption CDS View that provides data about "Purchase Order Product Compliance Criticality Rating" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrder) and exposes 8 fields with key field PurchaseOrder.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PurchaseOrder | R_PurchaseOrder | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CPURORDPCCRIT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Purchase Order Product Compliance Criticality Rating | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchaseOrderType | PurchaseOrderType | PO Type | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| int4asUICT_PurgAggrgdCmplncSuplrSts | ||||
| int4asUICT_PurgAggrgMarketabilitySts | ||||
| int4asUICT_PurgCmplncTotDngrsGdsSts | ||||
| int4asUICT_PurgAggrgSftyDataSheetSts |
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_POProdComplianceCriticality.
-- 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: CPURORDPCCRIT
CREATE VIEW C_POProdComplianceCriticality AS
SELECT
PurchaseOrder,
PurchasingGroup,
PurchaseOrderType,
PurchasingOrganization,
cast ( case when PurgAggrgdProdCmplncSuplrSts = ' ' then 3 when PurgAggrgdProdCmplncSuplrSts = 'A' then 3 when PurgAggrgdProdCmplncSuplrSts = 'C' then 1 when PurgAggrgdProdCmplncSuplrSts = 'D' then 1 when PurgAggrgdProdCmplncSuplrSts = 'E' then 2 when PurgAggrgdProdCmplncSuplrSts = 'F' then 2 else 0 end as abap.int4 ) as UICT_PurgAggrgdCmplncSuplrSts AS int4asUICT_PurgAggrgdCmplncSuplrSts,
cast ( case when PurgAggrgdProdMarketabilitySts = ' ' then 3 when PurgAggrgdProdMarketabilitySts = 'A' then 3 when PurgAggrgdProdMarketabilitySts = 'C' then 1 when PurgAggrgdProdMarketabilitySts = 'D' then 1 when PurgAggrgdProdMarketabilitySts = 'E' then 2 when PurgAggrgdProdMarketabilitySts = 'F' then 2 else 0 end as abap.int4 ) as UICT_PurgAggrgMarketabilitySts AS int4asUICT_PurgAggrgMarketabilitySts,
cast ( case when PurgProdCmplncTotDngrsGoodsSts = ' ' then 3 when PurgProdCmplncTotDngrsGoodsSts = 'A' then 3 when PurgProdCmplncTotDngrsGoodsSts = 'B' then 2 when PurgProdCmplncTotDngrsGoodsSts = 'C' then 2 when PurgProdCmplncTotDngrsGoodsSts = 'D' then 1 else 0 end as abap.int4 ) as UICT_PurgCmplncTotDngrsGdsSts AS int4asUICT_PurgCmplncTotDngrsGdsSts,
cast ( case when PurgAggrgdSftyDataSheetStatus = ' ' then 3 when PurgAggrgdSftyDataSheetStatus = 'A' then 3 when PurgAggrgdSftyDataSheetStatus = 'B' then 2 when PurgAggrgdSftyDataSheetStatus = 'C' then 2 when PurgAggrgdSftyDataSheetStatus = 'D' then 1 else 0 end as abap.int4 ) as UICT_PurgAggrgSftyDataSheetSts AS int4asUICT_PurgAggrgSftyDataSheetSts
FROM R_PurchaseOrder
;
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