P_MfgOrderItem
P_MfgOrderItem is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (afko, afpo) and exposes 16 fields with key fields ManufacturingOrder, ManufacturingOrderItem.
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPPMFGORDITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | afpo | aufnr | SettlementOrder |
| KEY | ManufacturingOrderItem | afpo | posnr | WBS Element |
| ManufacturingOrderCategory | afpo | dauty | Order category | |
| ManufacturingOrderType | afpo | dauat | Order Type | |
| ProductionPlant | afpo | dwerk | Plant | |
| FactoryCalendar | _ProductionPlant | FactoryCalendar | Factory Calendar | |
| MRPPlant | afpo | pwerk | Planning Plant | |
| MfgOrderPlannedStartDate | afko | gstrp | Bas. Start Date | |
| MfgOrderScheduledStartDate | afko | gstrs | Sched. start | |
| MfgOrderActualStartDate | afko | gstri | Actual start | |
| MfgOrderItemPlannedEndDate | afpo | dgltp | Basic fin. date | |
| MfgOrderItemScheduledEndDate | afpo | dglts | Sched. finish | |
| MfgOrderItemPlndDeliveryDate | afpo | ltrmp | Planned Delivery | |
| MfgOrderItemActualDeliveryDate | afpo | ltrmi | Delivery Date | |
| MaterialGoodsReceiptDuration | afpo | webaz | GR Proc. Time | |
| _ProductionPlant | _ProductionPlant |
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 P_MfgOrderItem.
-- 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: PPPMFGORDITEM
CREATE VIEW P_MfgOrderItem AS
SELECT
afpo.aufnr AS ManufacturingOrder,
afpo.posnr AS ManufacturingOrderItem,
afpo.dauty AS ManufacturingOrderCategory,
afpo.dauat AS ManufacturingOrderType,
afpo.dwerk AS ProductionPlant,
_ProductionPlant.FactoryCalendar AS FactoryCalendar,
afpo.pwerk AS MRPPlant,
afko.gstrp AS MfgOrderPlannedStartDate,
afko.gstrs AS MfgOrderScheduledStartDate,
afko.gstri AS MfgOrderActualStartDate,
afpo.dgltp AS MfgOrderItemPlannedEndDate,
afpo.dglts AS MfgOrderItemScheduledEndDate,
afpo.ltrmp AS MfgOrderItemPlndDeliveryDate,
afpo.ltrmi AS MfgOrderItemActualDeliveryDate,
afpo.webaz AS MaterialGoodsReceiptDuration
FROM afpo
INNER JOIN afko ON /* join condition not captured in parsed metadata */
;
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