pp_mrp_read_mfg_order_comp
Read Manufacturing Order Components
pp_mrp_read_mfg_order_comp is a CDS View that provides data about "Read Manufacturing Order Components" in SAP S/4HANA. It reads from 10 data sources and exposes 80 fields with key fields Reservation, ReservationItem, RecordType.
Data Sources (10)
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_MRP_MFG_COMP | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Read Manufacturing Order Components | view |
Fields (80)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | resb | rsnum | Reservation |
| KEY | ReservationItem | resb | rspos | Item no. |
| KEY | RecordType | resb | rsart | Risk type |
| RequirementType | resb | bdart | RequirementType | |
| Material | resb | matnr | Vehicle Model | |
| MRPPlant | resb | werks | Receiving Plant | |
| SupplyingPlant | resb | umwrk | Receiving plant | |
| RequirementDate | resb | bdter | Reqmts date | |
| OrderedQuantity | resb | bdmng | Threshold value | |
| WithdrawnQuantity | resb | enmng | Withdrawal Qty | |
| OpenQuantity | ||||
| CommittedQuantity | resb | vmeng | Received | |
| MaterialBaseUnit | resb | meins | Valuation Unit | |
| Vendor | resb | lifnr | Vendor no. | |
| PurchasingGroup | mat | ekgrp | Sub. purchasing grp | |
| MaterialProcurementCategory | mat | beskz | Procuremt Type | |
| MaterialProcurementType | t460a | sobes | Spec. procuremt | |
| MaterialGoodsReceiptDuration | resb | webaz | GR Proc. Time | |
| MaterialPlannedDeliveryDurn | mat | plifz | Plnd Deliv.Time | |
| MaterialPlannedProductionDurn | mat | dzeit | InhseProdTime | |
| MatTotalReplenishmentLeadDurn | mat | wzeit | Total RL time | |
| MaterialFixedLotSizeQuantity | mat | bstfe | Fixed lot size | |
| MaterialMinLotSizeQuantity | mat | bstmi | Min. Lot Size | |
| MaterialMaxLotSizeQuantity | mat | bstma | To Lot Size | |
| MaterialRoundingQuantity | mat | bstrf | Rounding value | |
| MaterialRoundingProfile | mat | rdprf | Rounding Prfl. | |
| ManufacturingOrder | caufv | aufnr | SettlementOrder | |
| ManufacturingOrderCategory | caufv | autyp | Order category | |
| ManufacturingOrderType | caufv | auart | Sales Doc. Type | |
| ManufacturingOrderImportance | caufv | aprio | Priority | |
| PlannedOrder | afpo | plnum | Planned Order | |
| ProductionPlant | caufv | werks | Receiving Plant | |
| MRPController | caufv | dispo | MRP Controller | |
| ProductionSupervisor | caufv | fevor | Prodn Supervisor | |
| ProductionVersion | afpo | verid | Version ID | |
| ProductionVersionText | mkal | text1 | Vertikalization Text | |
| ProductionLine | mkal | mdv01 | Production Line | |
| IsPartOfCollectiveOrder | caufv | prodnet | Collective Order | |
| SuperiorOrder | caufv | maufnr | SuperiorOrder | |
| TopLevelOrder | top | aufnr | SettlementOrder | |
| TopLevelOrderMaterial | afpo | matnr | Vehicle Model | |
| rsnidendasResourceNetwork | ||||
| InventorySpecialStock | afpo | sobkz | Special Stock | |
| SalesOrder | afpo | kdauf | SD Document | |
| SalesOrderItem | afpo | kdpos | Sales Ord. Item | |
| SalesOrderType | vbk | auart | Sales Doc. Type | |
| SalesOrderItemMaterial | vbap | matnr | Vehicle Model | |
| Customer | vbk | kunnr | Stock customer | |
| WBSElementInternalID | afpo | projn | WBS Element | |
| WBSElement | psp | posid | WBS Element | |
| WBSDescription | psp | post1 | Update | |
| WBSResponsiblePerson | psp | vernr | Pers.Resp.No. | |
| WBSResponsiblePersonName | psp | verna | Pers.Resp.Name | |
| ProjectInternalID | psp | psphi | Current proj.no | |
| Project | proj | pspid | Std. proj. def. | |
| ProjectDescription | proj | post1 | Update | |
| OrderPlannedTotalQty | caufv | gamng | Target Quantity | |
| OrderPlannedScrapQty | caufv | gasmg | Total Scrap | |
| OrderExpectedDeviationQty | afpo | iamng | ExpectVarRecipt | |
| GoodsReceiptQuantity | afpo | wemng | Received | |
| OrderOpenQuantity | ||||
| OrderPlannedStartDate | caufv | gstrp | Bas. Start Date | |
| OrderPlannedEndDate | caufv | gltrp | Basic fin. date | |
| OrderActualStartDate | caufv | gstri | Actual start | |
| OrderActualEndDate | caufv | getri | Actual Finish | |
| OrderActualReleaseDate | caufv | ftrmi | Actual release | |
| OrderScheduledStartDate | caufv | gstrs | Sched. start | |
| OrderScheduledEndDate | caufv | gltrs | Sched. finish | |
| OrderScheduledReleaseDate | caufv | ftrms | Release | |
| MaintenanceOrderPriorityType | afih | artpr | PriorityType | |
| MaintenanceOrderPriority | afih | priok | Priority | |
| MaintenancePlanningPlant | afih | iwerk | Planning Plant | |
| MaintenancePlannerGroup | afih | ingpr | Planner Group | |
| MaintenanceRevision | afih | revnr | Revision | |
| MaintenancePlan | afih | warpl | MaintenancePlan | |
| MaintenanceNotification | afih | qmnum | Notification | |
| MaintenanceWorkCenter | caufv | vaplz | Main WorkCtr | |
| MaintenanceWorkCenterPlant | caufv | wawrk | Plnt WorkCenter | |
| ActivityType | afih | ilart | MaintActivType | |
| ResponsiblePerson | ihpa | parnr | Responsible |
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 pp_mrp_read_mfg_order_comp.
-- 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: V_MRP_MFG_COMP
CREATE VIEW pp_mrp_read_mfg_order_comp AS
SELECT
res.rsnum AS Reservation,
res.rspos AS ReservationItem,
res.rsart AS RecordType,
res.bdart AS RequirementType,
res.matnr AS Material,
res.werks AS MRPPlant,
res.umwrk AS SupplyingPlant,
res.bdter AS RequirementDate,
res.bdmng AS OrderedQuantity,
res.enmng AS WithdrawnQuantity,
res.bdmng - res.enmng AS OpenQuantity,
res.vmeng AS CommittedQuantity,
res.meins AS MaterialBaseUnit,
res.lifnr AS Vendor,
mat.ekgrp AS PurchasingGroup,
mat.beskz AS MaterialProcurementCategory,
mpt.sobes AS MaterialProcurementType,
res.webaz AS MaterialGoodsReceiptDuration,
mat.plifz AS MaterialPlannedDeliveryDurn,
mat.dzeit AS MaterialPlannedProductionDurn,
mat.wzeit AS MatTotalReplenishmentLeadDurn,
mat.bstfe AS MaterialFixedLotSizeQuantity,
mat.bstmi AS MaterialMinLotSizeQuantity,
mat.bstma AS MaterialMaxLotSizeQuantity,
mat.bstrf AS MaterialRoundingQuantity,
mat.rdprf AS MaterialRoundingProfile,
ord.aufnr AS ManufacturingOrder,
ord.autyp AS ManufacturingOrderCategory,
ord.auart AS ManufacturingOrderType,
ord.aprio AS ManufacturingOrderImportance,
pos.plnum AS PlannedOrder,
ord.werks AS ProductionPlant,
ord.dispo AS MRPController,
ord.fevor AS ProductionSupervisor,
pos.verid AS ProductionVersion,
prv.text1 AS ProductionVersionText,
prv.mdv01 AS ProductionLine,
ord.prodnet AS IsPartOfCollectiveOrder,
ord.maufnr AS SuperiorOrder,
top.aufnr AS TopLevelOrder,
tpp.matnr AS TopLevelOrderMaterial,
case ord.autyp when '10' then '' when '30' then '' when '40' then ord.rsnid end as ResourceNetwork AS rsnidendasResourceNetwork,
pos.sobkz AS InventorySpecialStock,
pos.kdauf AS SalesOrder,
pos.kdpos AS SalesOrderItem,
vbk.auart AS SalesOrderType,
vbp.matnr AS SalesOrderItemMaterial,
vbk.kunnr AS Customer,
pos.projn AS WBSElementInternalID,
psp.posid AS WBSElement,
psp.post1 AS WBSDescription,
psp.vernr AS WBSResponsiblePerson,
psp.verna AS WBSResponsiblePersonName,
psp.psphi AS ProjectInternalID,
pro.pspid AS Project,
pro.post1 AS ProjectDescription,
ord.gamng AS OrderPlannedTotalQty,
ord.gasmg AS OrderPlannedScrapQty,
pos.iamng AS OrderExpectedDeviationQty,
pos.wemng AS GoodsReceiptQuantity,
(ord.gamng - ord.gasmg - pos.iamng - pos.wemng) AS OrderOpenQuantity,
ord.gstrp AS OrderPlannedStartDate,
ord.gltrp AS OrderPlannedEndDate,
ord.gstri AS OrderActualStartDate,
ord.getri AS OrderActualEndDate,
ord.ftrmi AS OrderActualReleaseDate,
ord.gstrs AS OrderScheduledStartDate,
ord.gltrs AS OrderScheduledEndDate,
ord.ftrms AS OrderScheduledReleaseDate,
aih.artpr AS MaintenanceOrderPriorityType,
aih.priok AS MaintenanceOrderPriority,
aih.iwerk AS MaintenancePlanningPlant,
aih.ingpr AS MaintenancePlannerGroup,
aih.revnr AS MaintenanceRevision,
aih.warpl AS MaintenancePlan,
aih.qmnum AS MaintenanceNotification,
ord.vaplz AS MaintenanceWorkCenter,
ord.wawrk AS MaintenanceWorkCenterPlant,
aih.ilart AS ActivityType,
prt.parnr AS ResponsiblePerson
FROM caufv AS ord
LEFT OUTER JOIN afpo AS pos ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN afih AS aih ON /* join condition not captured in parsed metadata */
INNER JOIN resb AS res ON /* join condition not captured in parsed metadata */
INNER JOIN t460a AS mpt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mkal AS prv ON /* join condition not captured in parsed metadata */
INNER JOIN afpo AS tpp ON /* join condition not captured in parsed metadata */
INNER JOIN proj AS pro ON /* join condition not captured in parsed metadata */
INNER JOIN vbap AS vbp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ihpa AS prt ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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