A_ProductionOrderComponent_5
Production Order Component
A_ProductionOrderComponent_5 is a Consumption CDS View that provides data about "Production Order Component" in SAP S/4HANA. It reads from 1 data source (R_ProductionOrderOpComponentTP) and exposes 119 fields with key fields Reservation, ReservationItem. It is exposed through 1 OData service (API_PRODUCTIONORDER). Part of development package PP_PRODUCTIONORDER_RAP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ProductionOrderOpComponentTP | R_ProductionOrderOpComponentTP | projection |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #TRANSACTIONAL_QUERY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.sapObjectNodeType.name | ProductionOrderComponent | view | |
| OData.entityType.name | ProductionOrderComponent_Type | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Production Order Component | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_PRODUCTIONORDER | API_PRODUCTIONORDER | V4 | C2 | C1 |
Fields (119)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| keyReservationRecordType | ||||
| MaterialGroup | MaterialGroup | Product Group | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| ProductionOrder | ProductionOrder | Order | ||
| ProductionOrderSequence | ProductionOrderSequence | |||
| SequenceCategory | SequenceCategory | |||
| ProductionOrderOperation | ProductionOrderOperation | Activity | ||
| OrderInternalID | OrderInternalID | Plan No.f.Oper. | ||
| OrderOperationInternalID | OrderOperationInternalID | |||
| MaterialComponentText | MaterialComponentText | |||
| MaterialComponentSecondText | MaterialComponentSecondText | |||
| MatlCompRequirementDate | MatlCompRequirementDate | Reqmts date | ||
| MatlCompRequirementTime | MatlCompRequirementTime | |||
| LatestRequirementDate | LatestRequirementDate | Latest Requirement Date | ||
| ProductionPlantTimeZone | ||||
| ReservationItemCreationCode | ReservationItemCreationCode | Reserv. status | ||
| ReservationIsFinallyIssued | ReservationIsFinallyIssued | Res Final Issue | ||
| MatlCompIsMarkedForDeletion | MatlCompIsMarkedForDeletion | |||
| MaterialComponentIsMissing | MaterialComponentIsMissing | |||
| IsBulkMaterialComponent | IsBulkMaterialComponent | Bulk material | ||
| MatlCompIsMarkedForBackflush | MatlCompIsMarkedForBackflush | Backflush | ||
| MatlCompIsTextItem | MatlCompIsTextItem | |||
| MatlCompIsConfigurable | MatlCompIsConfigurable | |||
| MaterialComponentIsClassified | MaterialComponentIsClassified | |||
| MaterialCompIsIntraMaterial | MaterialCompIsIntraMaterial | |||
| MaterialIsDirectlyProduced | MaterialIsDirectlyProduced | |||
| MaterialIsDirectlyProcured | MaterialIsDirectlyProcured | |||
| MaterialPlanningRelevance | MaterialPlanningRelevance | |||
| MaterialCompCostingRelevancy | MaterialCompCostingRelevancy | CostingRelevncy | ||
| RequirementType | RequirementType | RequirementType | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| ProductConfiguration | ProductConfiguration | |||
| ChangeNumber | ChangeNumber | Change Number | ||
| EffectivityParameterVariant | EffectivityParameterVariant | |||
| MatlCompFreeDefinedAttribute | MatlCompFreeDefinedAttribute | Sort String | ||
| BillOfMaterialCategory | ||||
| BillOfMaterialInternalID | BillOfMaterialInternalID | |||
| BillOfMaterialVariant | BillOfMaterialVariant | AlternativeBOM | ||
| BillOfMaterialItemNodeNumber | BillOfMaterialItemNodeNumber | Item node | ||
| BOMItemInternalChangeCount | BOMItemInternalChangeCount | Counter | ||
| InheritedBOMItemNode | InheritedBOMItemNode | |||
| BillOfMaterialItemCategory | BillOfMaterialItemCategory | Item Category | ||
| BillOfMaterialItemNumber | BillOfMaterialItemNumber | Item | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| Supplier | Supplier | Supplier | ||
| DeliveryDurationInDays | DeliveryDurationInDays | Del time (days) | ||
| MaterialGoodsReceiptDuration | MaterialGoodsReceiptDuration | GR proc. time | ||
| NumberOfOperationPriceUnits | ||||
| GoodsMovementIsAllowed | GoodsMovementIsAllowed | Mvt Allowed | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Batch | Batch | Lot No. | ||
| BatchSplitType | BatchSplitType | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| SupplyArea | SupplyArea | Supply Area | ||
| GoodsRecipientName | GoodsRecipientName | Recipient Name | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| BusinessArea | BusinessArea | Business Area | ||
| GLAccount | GLAccount | General Ledger | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| MaterialCompIsVariableSized | MaterialCompIsVariableSized | Var-Sized Item | ||
| VariableSizeItemSAPUnit | VSI unit | |||
| VariableSizeItemISOUnit | ||||
| VariableSizeItemQuantity | VariableSizeItemQuantity | VSI Quantity | ||
| VariableSizeCompSAPUnit | VSI UoM | |||
| VariableSizeCompISOUnit | ||||
| VariableSizeComponentQuantity | VariableSizeComponentQuantity | VSI Quantity | ||
| VariableSizeDimnSAPUnit | Size unit | |||
| VariableSizeDimnISOUnit | ||||
| VariableSizeDimension1 | VariableSizeDimension1 | Size 1 | ||
| VariableSizeDimension2 | VariableSizeDimension2 | Size 2 | ||
| VariableSizeDimension3 | VariableSizeDimension3 | Size 3 | ||
| VariableSizeCompFormulaKey | VariableSizeCompFormulaKey | VSI Formula | ||
| MaterialComponentIsPhantomItem | MaterialComponentIsPhantomItem | Phantom Item | ||
| OrderPathValue | OrderPathValue | Order path | ||
| OrderLevelValue | OrderLevelValue | Order level | ||
| DiscontinuationGroup | DiscontinuationGroup | Discont. group | ||
| MatlCompDiscontinuationType | MatlCompDiscontinuationType | |||
| MatlCompIsFollowUpMaterial | MatlCompIsFollowUpMaterial | |||
| FollowUpGroup | FollowUpGroup | Follow-up group | ||
| FollowUpMaterial | FollowUpMaterial | |||
| FollowUpMaterialIsActive | FollowUpMaterialIsActive | |||
| MaterialCompIsAlternativeItem | MaterialCompIsAlternativeItem | |||
| AlternativeItemGroup | AlternativeItemGroup | AltItemGroup | ||
| AlternativeItemStrategy | AlternativeItemStrategy | Strategy | ||
| AlternativeItemPriority | AlternativeItemPriority | Priority | ||
| UsageProbabilityPercent | UsageProbabilityPercent | Usage Prob. | ||
| LeadTimeOffset | LeadTimeOffset | Lead-tm offset | ||
| OpLeadTimeOffsetSAPUnit | ||||
| OpLeadTimeOffsetISOUnit | ||||
| OperationLeadTimeOffset | OperationLeadTimeOffset | Oper. LT offset | ||
| QuantityIsFixed | QuantityIsFixed | Qty. is fixed | ||
| IsNetScrap | IsNetScrap | Net Indicator | ||
| ComponentScrapInPercent | ComponentScrapInPercent | Component Scrap | ||
| OperationScrapInPercent | OperationScrapInPercent | Operation Scrap | ||
| MaterialQtyToBaseQtyNmrtr | MaterialQtyToBaseQtyNmrtr | Numerator | ||
| MaterialQtyToBaseQtyDnmntr | MaterialQtyToBaseQtyDnmntr | Denominator | ||
| BaseISOUnit | ||||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| WithdrawnQuantity | WithdrawnQuantity | Withdrawn Quantity | ||
| ConfirmedAvailableQuantity | ConfirmedAvailableQuantity | Available Quantity | ||
| MaterialCompOriginalQuantity | MaterialCompOriginalQuantity | |||
| EntryISOUnit | ||||
| GoodsMovementEntryQty | GoodsMovementEntryQty | |||
| Currency | Currency | Valuation Crcy | ||
| WithdrawnQuantityAmount | WithdrawnQuantityAmount |
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 A_ProductionOrderComponent_5.
-- 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 A_ProductionOrderComponent_5 AS
SELECT
Reservation,
ReservationItem,
MaterialGroup,
Material,
Plant,
ProductionOrder,
ProductionOrderSequence,
SequenceCategory,
ProductionOrderOperation,
OrderInternalID,
OrderOperationInternalID,
MaterialComponentText,
MaterialComponentSecondText,
MatlCompRequirementDate,
MatlCompRequirementTime,
LatestRequirementDate,
cast( _ProductionOrder._ProductionPlant._Address.AddressTimeZone as vdm_prodnplant_tzone preserving type ) AS ProductionPlantTimeZone,
ReservationItemCreationCode,
ReservationIsFinallyIssued,
MatlCompIsMarkedForDeletion,
MaterialComponentIsMissing,
IsBulkMaterialComponent,
MatlCompIsMarkedForBackflush,
MatlCompIsTextItem,
MatlCompIsConfigurable,
MaterialComponentIsClassified,
MaterialCompIsIntraMaterial,
MaterialIsDirectlyProduced,
MaterialIsDirectlyProcured,
MaterialPlanningRelevance,
MaterialCompCostingRelevancy,
RequirementType,
SalesOrder,
SalesOrderItem,
ProductConfiguration,
ChangeNumber,
EffectivityParameterVariant,
MatlCompFreeDefinedAttribute,
BillOfMaterialInternalID,
BillOfMaterialVariant,
BillOfMaterialItemNodeNumber,
BOMItemInternalChangeCount,
InheritedBOMItemNode,
BillOfMaterialItemCategory,
BillOfMaterialItemNumber,
PurchasingInfoRecord,
PurchasingGroup,
PurchaseRequisition,
PurchaseRequisitionItem,
PurchaseOrder,
PurchaseOrderItem,
Supplier,
DeliveryDurationInDays,
MaterialGoodsReceiptDuration,
GoodsMovementIsAllowed,
StorageLocation,
Batch,
BatchSplitType,
DebitCreditCode,
GoodsMovementType,
InventorySpecialStockType,
InventorySpecialStockValnType,
ConsumptionPosting,
SupplyArea,
GoodsRecipientName,
UnloadingPointName,
BusinessArea,
GLAccount,
FunctionalArea,
AccountAssignmentCategory,
MaterialCompIsVariableSized,
cast(VariableSizeItemUnit as BT_VariableSizeItemSAPUnit preserving type) AS VariableSizeItemSAPUnit,
cast(_VariableSizeItemUnit.UnitOfMeasureISOCode as BT_VariableSizeItemISOUnit preserving type) AS VariableSizeItemISOUnit,
VariableSizeItemQuantity,
cast(VariableSizeComponentUnit as BT_VariableSizeCompSAPUnit preserving type) AS VariableSizeCompSAPUnit,
cast(_VariableSizeComponentUnit.UnitOfMeasureISOCode as BT_VariableSizeCompISOUnit preserving type) AS VariableSizeCompISOUnit,
VariableSizeComponentQuantity,
cast(VariableSizeDimensionUnit as BT_VariableSizeDimnSAPUnit preserving type) AS VariableSizeDimnSAPUnit,
cast(_VariableSizeDimensionUnit.UnitOfMeasureISOCode as BT_VariableSizeDimnISOUnit preserving type) AS VariableSizeDimnISOUnit,
VariableSizeDimension1,
VariableSizeDimension2,
VariableSizeDimension3,
VariableSizeCompFormulaKey,
MaterialComponentIsPhantomItem,
OrderPathValue,
OrderLevelValue,
DiscontinuationGroup,
MatlCompDiscontinuationType,
MatlCompIsFollowUpMaterial,
FollowUpGroup,
FollowUpMaterial,
FollowUpMaterialIsActive,
MaterialCompIsAlternativeItem,
AlternativeItemGroup,
AlternativeItemStrategy,
AlternativeItemPriority,
UsageProbabilityPercent,
LeadTimeOffset,
cast(OperationLeadTimeOffsetUnit as BT_OpLeadTimeOffsetSAPUnit preserving type ) AS OpLeadTimeOffsetSAPUnit,
cast(_OperationLeadTimeOffsetUnit.UnitOfMeasureISOCode as BT_OpLeadTimeOffsetISOUnit preserving type) AS OpLeadTimeOffsetISOUnit,
OperationLeadTimeOffset,
QuantityIsFixed,
IsNetScrap,
ComponentScrapInPercent,
OperationScrapInPercent,
MaterialQtyToBaseQtyNmrtr,
MaterialQtyToBaseQtyDnmntr,
cast( _BaseUnit.UnitOfMeasureISOCode as BT_BaseISOUnit preserving type ) AS BaseISOUnit,
RequiredQuantity,
WithdrawnQuantity,
ConfirmedAvailableQuantity,
MaterialCompOriginalQuantity,
cast( _EntryUnit.UnitOfMeasureISOCode as BT_EntryISOUnit preserving type ) AS EntryISOUnit,
GoodsMovementEntryQty,
Currency,
WithdrawnQuantityAmount
FROM R_ProductionOrderOpComponentTP
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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