C_PurReqnProcessFlow
Purchase Requisition Process flow
C_PurReqnProcessFlow is a Consumption CDS View that provides data about "Purchase Requisition Process flow" in SAP S/4HANA. It reads from 1 data source (I_PurReqnProcessFlow) and exposes 20 fields with key fields PrecedingDocument, PrecedingDocumentItem, SubsequentDocument, SubsequentDocumentItem. It has 1 association to related views. Part of development package ODATA_MM_PUR_REQ_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurReqnProcessFlow | I_PurReqnProcessFlow | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Purchaserequisitionitem | _PurReqnItem | $projection.PurchaseRequisition = _PurReqnItem.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurReqnItem.PurchaseRequisitionItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPURREQNPROCFLW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Purchase Requisition Process flow | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrecedingDocument | PrecedingDocument | SD Document | |
| KEY | PrecedingDocumentItem | PrecedingDocumentItem | Item | |
| KEY | SubsequentDocument | SubsequentDocument | ||
| KEY | SubsequentDocumentItem | SubsequentDocumentItem | ||
| PrecedingDocumentCategory | PrecedingDocumentCategory | |||
| SubsequentDocumentCategory | SubsequentDocumentCategory | |||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| MaterialDocumentYear | MaterialDocumentYear | Material Document Year | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| RecordType | RecordType | Reservation Record Type | ||
| MaterialDocumentRecordType | MaterialDocumentRecordType | |||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| Plant | _PurReqnItem | Plant | Valuation Area | |
| PurchaseRequisitionType | _PurReqnItem | PurchaseRequisitionType | Order Type | |
| PurchasingGroup | _PurReqnItem | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | _PurReqnItem | PurchasingOrganization | Purchasing Organization | |
| ExtPlantForPurg | _PurReqnItem | ExtPlantForPurg | Plant | |
| ExtCompanyCodeForPurg | _PurReqnItem | ExtCompanyCodeForPurg | Company Code | |
| _PurReqnItem | _PurReqnItem |
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_PurReqnProcessFlow.
-- 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: CPURREQNPROCFLW
CREATE VIEW C_PurReqnProcessFlow AS
SELECT
PrecedingDocument,
PrecedingDocumentItem,
SubsequentDocument,
SubsequentDocumentItem,
PrecedingDocumentCategory,
SubsequentDocumentCategory,
FiscalYear,
MaterialDocumentYear,
CompanyCode,
RecordType,
MaterialDocumentRecordType,
PurchaseRequisition,
PurchaseRequisitionItem,
_PurReqnItem.Plant AS Plant,
_PurReqnItem.PurchaseRequisitionType AS PurchaseRequisitionType,
_PurReqnItem.PurchasingGroup AS PurchasingGroup,
_PurReqnItem.PurchasingOrganization AS PurchasingOrganization,
_PurReqnItem.ExtPlantForPurg AS ExtPlantForPurg,
_PurReqnItem.ExtCompanyCodeForPurg AS ExtCompanyCodeForPurg
FROM I_PurReqnProcessFlow
LEFT OUTER JOIN I_Purchaserequisitionitem AS _PurReqnItem ON PurchaseRequisition = _PurReqnItem.PurchaseRequisition AND PurchaseRequisitionItem = _PurReqnItem.PurchaseRequisitionItem -- 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