C_RequirementTrackingPurOrd
Purchase Orders by Requirement Tracking
C_RequirementTrackingPurOrd is a Consumption CDS View that provides data about "Purchase Orders by Requirement Tracking" in SAP S/4HANA. It reads from 1 data source (P_RequirementTrackingPurOrd) and exposes 55 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 5 associations to related views. Part of development package ODATA_MM_PUR_REQUIREMENT_TRACK.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RequirementTrackingPurOrd | P_RequirementTrackingPurOrd | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchasingCategoryMatlGroup | _PurchasingCategoryMatlGrp | $projection.MaterialGroup = _PurchasingCategoryMatlGrp.MaterialGroup |
| [0..1] | C_MM_AccountAssignCatValueHelp | _AccAssignValHelp | _AccAssignValHelp.AccountAssignmentCategory = $projection.AccountAssignmentCategory |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [1..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Purchase Orders by Requirement Tracking | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Search.searchable | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| Environment.sql.passValueForClient | true | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchase Order | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Item | |
| FormattedPurchaseOrderItem | FormattedPurchaseOrderItem | Purchase Order Item | ||
| RequirementTracking | RequirementTracking | Requirement Tracking Number | ||
| Material | Material | Vehicle Model | ||
| OrderQuantity | OrderQuantity | Order Quantity | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| OrderPriceUnit | OrderPriceUnit | Order Price Un. | ||
| NetAmount | NetAmount | Net Order Value | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| Supplier | Supplier | Supplier | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| PurchasingText | PurchasingText | Short Text | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| Plant | Plant | Valuation Area | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Account Assignment Category | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| PurchasingCategory | PurchasingCategory | Purchasing Category | ||
| PurgCatName | PurgCatName | Purchasing Cat. Name | ||
| PurchasingDocumentType | PurchasingDocumentType | Purchasing Document Type | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Purchasing Document Category | ||
| PurchasingDocumentTypeName | PurchasingDocumentTypeName | Description | ||
| PurgDocExternalItemCategory | PurgDocExternalItemCategory | Item Category | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item Category | ||
| PurgDocItemCategoryName | PurgDocItemCategoryName | Text for ItCat. | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| CreatedByUser | CreatedByUser | User Name | ||
| UserDescription | UserDescription | Created By | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Delivery Date | ||
| DueDateCriticality | DueDateCriticality | |||
| OpenPurchaseOrderQuantity | OpenPurchaseOrderQuantity | Open Purchase Order Quantity | ||
| PurchasingIsBlockedForSupplier | PurchasingIsBlockedForSupplier | Supplier Block Status | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| CreationDate | CreationDate | Time Stamp | ||
| GoodsReceiptQty | GoodsReceiptQty | Delivered Quantity | ||
| StillToBeDeliveredQuantity | StillToBeDeliveredQuantity | |||
| GoodsReceiptAmountInDspCrcy | GoodsReceiptAmountInDspCrcy | Delivered Value | ||
| StillToBeDeliveredValue | StillToBeDeliveredValue | |||
| InvoiceReceiptQty | InvoiceReceiptQty | Invoice Quantity | ||
| StillToInvoiceQuantity | StillToInvoiceQuantity | |||
| InvoicedAmountInDspCurrency | InvoicedAmountInDspCurrency | |||
| StillToInvoiceValue | StillToInvoiceValue | |||
| _PurchasingCategoryMatlGrp | _PurchasingCategoryMatlGrp | |||
| _AccAssignValHelp | _AccAssignValHelp | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Plant | _Plant | |||
| _CompanyCode | _CompanyCode | |||
| _StorageLocation | _StorageLocation | |||
| _Supplier | _Supplier | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup |
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_RequirementTrackingPurOrd.
-- 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_RequirementTrackingPurOrd AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
FormattedPurchaseOrderItem,
RequirementTracking,
Material,
OrderQuantity,
PurchaseOrderQuantityUnit,
OrderPriceUnit,
NetAmount,
DocumentCurrency,
Supplier,
MaterialGroup,
PurchasingText,
PurchasingOrganization,
PurchasingGroup,
Plant,
AccountAssignmentCategory,
CompanyCode,
StorageLocation,
PurchasingCategory,
PurgCatName,
PurchasingDocumentType,
PurchasingDocumentCategory,
PurchasingDocumentTypeName,
PurgDocExternalItemCategory,
PurchaseOrderItemCategory,
PurgDocItemCategoryName,
PurchaseOrderDate,
CreatedByUser,
UserDescription,
NetPriceAmount,
ScheduleLineDeliveryDate,
DueDateCriticality,
OpenPurchaseOrderQuantity,
PurchasingIsBlockedForSupplier,
NetPriceQuantity,
CreationDate,
GoodsReceiptQty,
StillToBeDeliveredQuantity,
GoodsReceiptAmountInDspCrcy,
StillToBeDeliveredValue,
InvoiceReceiptQty,
StillToInvoiceQuantity,
InvoicedAmountInDspCurrency,
StillToInvoiceValue
FROM P_RequirementTrackingPurOrd
LEFT OUTER JOIN I_PurchasingCategoryMatlGroup AS _PurchasingCategoryMatlGrp ON MaterialGroup = _PurchasingCategoryMatlGrp.MaterialGroup -- association [1..1]
LEFT OUTER JOIN C_MM_AccountAssignCatValueHelp AS _AccAssignValHelp ON _AccAssignValHelp.AccountAssignmentCategory = AccountAssignmentCategory -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- 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