R_ProductionOrderTP
Production Order Header - TP
R_ProductionOrderTP is a Transactional CDS View that provides data about "Production Order Header - TP" in SAP S/4HANA. It reads from 1 data source (I_ManufacturingOrder) and exposes 136 fields with key field ProductionOrder. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ManufacturingOrder | Header | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_ProductionOrderOperationTP | _Operation | _Operation.ProductionOrder = $projection.ProductionOrder and _Operation.ProductionOrderSequence = '000000' |
| [0..*] | R_ProdnOrderItemSerialNumberTP | _SerialNumber | _SerialNumber.ProductionOrder = $projection.ProductionOrder |
| [0..*] | R_EventBasedOrderPostingRuleTP | _PostingRule | _PostingRule.OrderID = $projection.ProductionOrder and _PostingRule.OrderItem = '0000' |
| [0..1] | R_VariantConfigurationTP | _VariantConfiguration | $projection.VarConfigurationBusObjectType = _VariantConfiguration.VarConfigurationBusObjectType and $projection.VarConfigurationBusObjectKey = _VariantConfiguration.VarConfigurationBusObjectKey |
| [1..1] | E_ProductionOrder | _Extension | $projection.ProductionOrder = _Extension.ProductionOrder |
| [1..*] | R_ProductionOrderItemTP | _Item | |
| [0..*] | R_ProductionOrderSequenceTP | _Sequence | |
| [0..*] | R_ProductionOrderOpComponentTP | _Component | |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ProductionOrder | view | |
| ObjectModel.representativeKey | ProductionOrder | view | |
| Analytics.technicalName | RPRODNORDTP | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| EndUserText.label | Production Order Header - TP | view |
Fields (136)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionOrder | Order | ||
| ManufacturingOrder | Order | |||
| ManufacturingOrderCategory | ManufacturingOrderCategory | Order Category | ||
| ProductionOrderType | Order Type | |||
| ProductionOrderText | ManufacturingOrderText | |||
| OrderHasLongText | ManufacturingOrderHasLongText | |||
| LongTextLanguageCode | LongTextLanguageCode | Language | ||
| OrderImportance | ManufacturingOrderImportance | |||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| OrderHasMultipleItems | MfgOrderHasMultipleItems | |||
| OrderIsPartOfCollectiveOrder | MfgOrderIsPartOfCollvOrder | |||
| OrderHierarchyLevelValue | MfgOrderHierarchyLevel | |||
| OrderIsNotCostedAutomatically | OrderIsNotCostedAutomatically | |||
| OrdIsNotSchedldAutomatically | OrdIsNotSchedldAutomatically | No auto. cost. | ||
| ProdnProcgIsFlexible | ProdnProcgIsFlexible | |||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeTime | LastChangeTime | Time changed | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| Product | Product | Product Sold | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Batch | Batch | Lot No. | ||
| GoodsRecipientName | GoodsRecipientName | Recipient Name | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| InventoryUsabilityCode | InventoryUsabilityCode | Stock Type | ||
| MaterialGoodsReceiptDuration | MaterialGoodsReceiptDuration | GR proc. time | ||
| QuantityDistributionKey | QuantityDistributionKey | Distribution | ||
| StockSegment | StockSegment | Stock Segment | ||
| OrderInternalID | MfgOrderInternalID | |||
| ReferenceOrder | ReferenceOrder | Reference Order | ||
| LeadingOrder | LeadingOrder | Last order | ||
| SuperiorOrder | SuperiorOrder | |||
| Currency | Currency | Valuation Crcy | ||
| ProductionPlant | ProductionPlant | Prod plnt | ||
| PlanningPlant | PlanningPlant | Plant | ||
| MRPArea | MRP Area | |||
| MRPController | MRPController | MRP Controller | ||
| ProductionSupervisor | ProductionSupervisor | Prodn Supervisor | ||
| ProductionSchedulingProfile | ProductionSchedulingProfile | Production Scheduling Profile | ||
| ResponsiblePlannerGroup | ResponsiblePlannerGroup | |||
| ProductionVersion | ProductionVersion | Version ID | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElementInternalID | WBS Internal ID | |||
| Reservation | Reservation | Reservation | ||
| SettlementReservation | SettlementReservation | |||
| OrderConfirmationGroup | MfgOrderConfirmation | |||
| NumberOfOrderConfirmations | NumberOfMfgOrderConfirmations | |||
| PlannedOrder | PlannedOrder | |||
| CapacityRequirement | CapacityRequirement | |||
| InspectionLot | InspectionLot | Inspection Lot | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| BasicSchedulingType | BasicSchedulingType | Scheduling type | ||
| SchedulingIsAllowingForBreaks | SchedulingIsAllowingForBreaks | |||
| ObjectInternalID | ObjectInternalID | Object number | ||
| ProductConfiguration | ProductConfiguration | |||
| EffectivityParameterVariant | EffectivityParameterVariant | |||
| ConditionApplication | ConditionApplication | Application | ||
| CapacityActiveVersion | CapacityActiveVersion | |||
| CapacityRqmtHasNotToBeCreated | CapacityRqmtHasNotToBeCreated | |||
| OrderSequenceNumber | OrderSequenceNumber | |||
| BillOfOperationsMaterial | BillOfOperationsMaterial | Vehicle Model | ||
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| BillOfOperationsGroup | BillOfOperationsGroup | Group | ||
| BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | ||
| BOOInternalVersionCounter | BOOInternalVersionCounter | |||
| BillOfOperationsUsage | BillOfOperationsUsage | |||
| BillOfOperationsVersion | BillOfOperationsVersion | Routing Version | ||
| BOOExplosionDate | BOOExplosionDate | |||
| BOOValidityStartDate | BOOValidityStartDate | |||
| BillOfMaterialCategory | BillOfMaterialCategory | BOM category | ||
| BillOfMaterial | BOM | |||
| BillOfMaterialVariant | BillOfMaterialVariant | AlternativeBOM | ||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | Usage | ||
| BillOfMaterialVersion | BillOfMaterialVersion | BOM Version | ||
| BOMExplosionDate | BOMExplosionDate | |||
| BOMValidityStartDate | BOMValidityStartDate | |||
| BusinessArea | BusinessArea | Business Area | ||
| CompanyCode | Receiver Company Code | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| ResponsibleCostCenter | Responsible Cost Center | |||
| CostElement | CostElement | G/L Account | ||
| CostingSheet | CostingSheet | Costing Sheet | ||
| GLAccount | GLAccount | General Ledger | ||
| ProductCostCollector | ProductCostCollector | |||
| ActualCostsCostingVariant | ActualCostsCostingVariant | Act. Costing Variant | ||
| PlannedCostsCostingVariant | PlannedCostsCostingVariant | Plnd Costing Variant | ||
| ControllingObjectClass | ControllingObjectClass | Object Class | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| OverheadCode | OverheadCode | Overhead Key | ||
| ResultAnalysisInternalID | ResultAnalysisInternalID | Results Analysis Key | ||
| VarianceKey | VarianceKey | |||
| EventBasedProcessingKey | EventBasedProcessingKey | |||
| EventBasedPostingMethod | EventBasedPostingMethod | |||
| SchedulingFloatProfile | SchedulingFloatProfile | Scheduling Float Profile | ||
| FloatBeforeProductionInWrkDays | FloatBeforeProductionInWrkDays | |||
| FloatAfterProductionInWorkDays | FloatAfterProductionInWorkDays | |||
| ReleasePeriodInWorkDays | ReleasePeriodInWorkDays | |||
| OrderPlannedStartDate | MfgOrderPlannedStartDate | |||
| OrderPlannedStartTime | MfgOrderPlannedStartTime | |||
| OrderPlannedEndDate | MfgOrderPlannedEndDate | |||
| OrderPlannedEndTime | MfgOrderPlannedEndTime | |||
| PlannedReleaseDate | MfgOrderPlannedReleaseDate | |||
| OrderScheduledStartDate | MfgOrderScheduledStartDate | |||
| OrderScheduledStartTime | MfgOrderScheduledStartTime | |||
| OrderScheduledEndDate | MfgOrderScheduledEndDate | |||
| OrderScheduledEndTime | MfgOrderScheduledEndTime | |||
| OrderScheduledReleaseDate | MfgOrderScheduledReleaseDate | |||
| OrderActualStartDate | MfgOrderActualStartDate | |||
| OrderActualStartTime | MfgOrderActualStartTime | |||
| OrderActualEndDate | MfgOrderItemActualDeliveryDate | Delivery Date | ||
| OrderActualReleaseDate | MfgOrderActualReleaseDate | |||
| OrderConfirmedEndDate | MfgOrderConfirmedEndDate | |||
| OrderConfirmedEndTime | MfgOrderConfirmedEndTime | |||
| TotalCommitmentDate | MfgOrderTotalCommitmentDate | |||
| TechnicalCompletionDate | MfgOrderActualCompletionDate | |||
| ProductionUnit | ProductionUnit | |||
| OrderPlannedTotalQty | MfgOrderPlannedTotalQty | |||
| OrderPlannedScrapQty | MfgOrderPlannedScrapQty | |||
| OrderConfirmedYieldQty | MfgOrderConfirmedYieldQty | |||
| OrderConfirmedScrapQty | MfgOrderConfirmedScrapQty | |||
| OrderConfirmedReworkQty | MfgOrderConfirmedReworkQty | |||
| ExpectedDeviationQuantity | ExpectedDeviationQuantity | |||
| ActualDeliveredQuantity | ActualDeliveredQuantity | Delivered Quantity | ||
| _Item | _Item | |||
| _SerialNumber | _SerialNumber | |||
| _Sequence | _Sequence | |||
| _Component | _Component | |||
| _Operation | _Operation | |||
| _PostingRule | _PostingRule | |||
| _VariantConfiguration | _VariantConfiguration |
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 R_ProductionOrderTP.
-- 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 R_ProductionOrderTP AS
SELECT
cast(ManufacturingOrder as vdm_manufacturingorder preserving type) AS ProductionOrder,
cast(ManufacturingOrder as manufacturingorder preserving type) AS ManufacturingOrder,
ManufacturingOrderCategory,
cast(ManufacturingOrderType as aufart preserving type ) AS ProductionOrderType,
ManufacturingOrderText AS ProductionOrderText,
ManufacturingOrderHasLongText AS OrderHasLongText,
LongTextLanguageCode,
ManufacturingOrderImportance AS OrderImportance,
IsMarkedForDeletion,
IsCompletelyDelivered,
MfgOrderHasMultipleItems AS OrderHasMultipleItems,
MfgOrderIsPartOfCollvOrder AS OrderIsPartOfCollectiveOrder,
MfgOrderHierarchyLevel AS OrderHierarchyLevelValue,
OrderIsNotCostedAutomatically,
OrdIsNotSchedldAutomatically,
ProdnProcgIsFlexible,
CreationDate,
CreationTime,
CreatedByUser,
LastChangeDate,
LastChangeTime,
LastChangedByUser,
Product,
StorageLocation,
Batch,
GoodsRecipientName,
UnloadingPointName,
InventoryUsabilityCode,
MaterialGoodsReceiptDuration,
QuantityDistributionKey,
StockSegment,
MfgOrderInternalID AS OrderInternalID,
ReferenceOrder,
LeadingOrder,
SuperiorOrder,
Currency,
ProductionPlant,
PlanningPlant,
cast(MRPArea as berid preserving type ) AS MRPArea,
MRPController,
ProductionSupervisor,
ProductionSchedulingProfile,
ResponsiblePlannerGroup,
ProductionVersion,
SalesOrder,
SalesOrderItem,
cast( WBSElementInternalID as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
Reservation,
SettlementReservation,
MfgOrderConfirmation AS OrderConfirmationGroup,
NumberOfMfgOrderConfirmations AS NumberOfOrderConfirmations,
PlannedOrder,
CapacityRequirement,
InspectionLot,
ChangeNumber,
BasicSchedulingType,
SchedulingIsAllowingForBreaks,
ObjectInternalID,
ProductConfiguration,
EffectivityParameterVariant,
ConditionApplication,
CapacityActiveVersion,
CapacityRqmtHasNotToBeCreated,
OrderSequenceNumber,
BillOfOperationsMaterial,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
BOOInternalVersionCounter,
BillOfOperationsUsage,
BillOfOperationsVersion,
BOOExplosionDate,
BOOValidityStartDate,
BillOfMaterialCategory,
cast(BillOfMaterial as pph_stnum preserving type ) AS BillOfMaterial,
BillOfMaterialVariant,
BillOfMaterialVariantUsage,
BillOfMaterialVersion,
BOMExplosionDate,
BOMValidityStartDate,
BusinessArea,
cast(CompanyCode as bukrs preserving type ) AS CompanyCode,
ControllingArea,
ProfitCenter,
CostCenter,
cast(ResponsibleCostCenter as pph_kostl preserving type ) AS ResponsibleCostCenter,
CostElement,
CostingSheet,
GLAccount,
ProductCostCollector,
ActualCostsCostingVariant,
PlannedCostsCostingVariant,
ControllingObjectClass,
FunctionalArea,
OverheadCode,
ResultAnalysisInternalID,
VarianceKey,
EventBasedProcessingKey,
EventBasedPostingMethod,
SchedulingFloatProfile,
FloatBeforeProductionInWrkDays,
FloatAfterProductionInWorkDays,
ReleasePeriodInWorkDays,
MfgOrderPlannedStartDate AS OrderPlannedStartDate,
MfgOrderPlannedStartTime AS OrderPlannedStartTime,
MfgOrderPlannedEndDate AS OrderPlannedEndDate,
MfgOrderPlannedEndTime AS OrderPlannedEndTime,
MfgOrderPlannedReleaseDate AS PlannedReleaseDate,
MfgOrderScheduledStartDate AS OrderScheduledStartDate,
MfgOrderScheduledStartTime AS OrderScheduledStartTime,
MfgOrderScheduledEndDate AS OrderScheduledEndDate,
MfgOrderScheduledEndTime AS OrderScheduledEndTime,
MfgOrderScheduledReleaseDate AS OrderScheduledReleaseDate,
MfgOrderActualStartDate AS OrderActualStartDate,
MfgOrderActualStartTime AS OrderActualStartTime,
MfgOrderItemActualDeliveryDate AS OrderActualEndDate,
MfgOrderActualReleaseDate AS OrderActualReleaseDate,
MfgOrderConfirmedEndDate AS OrderConfirmedEndDate,
MfgOrderConfirmedEndTime AS OrderConfirmedEndTime,
MfgOrderTotalCommitmentDate AS TotalCommitmentDate,
MfgOrderActualCompletionDate AS TechnicalCompletionDate,
ProductionUnit,
MfgOrderPlannedTotalQty AS OrderPlannedTotalQty,
MfgOrderPlannedScrapQty AS OrderPlannedScrapQty,
MfgOrderConfirmedYieldQty AS OrderConfirmedYieldQty,
MfgOrderConfirmedScrapQty AS OrderConfirmedScrapQty,
MfgOrderConfirmedReworkQty AS OrderConfirmedReworkQty,
ExpectedDeviationQuantity,
ActualDeliveredQuantity
FROM I_ManufacturingOrder AS Header
LEFT OUTER JOIN R_ProductionOrderOperationTP AS _Operation ON _Operation.ProductionOrder = ProductionOrder AND _Operation.ProductionOrderSequence = '000000' -- association [0..*]
LEFT OUTER JOIN R_ProdnOrderItemSerialNumberTP AS _SerialNumber ON _SerialNumber.ProductionOrder = ProductionOrder -- association [0..*]
LEFT OUTER JOIN R_EventBasedOrderPostingRuleTP AS _PostingRule ON _PostingRule.OrderID = ProductionOrder AND _PostingRule.OrderItem = '0000' -- association [0..*]
LEFT OUTER JOIN R_VariantConfigurationTP AS _VariantConfiguration ON VarConfigurationBusObjectType = _VariantConfiguration.VarConfigurationBusObjectType AND VarConfigurationBusObjectKey = _VariantConfiguration.VarConfigurationBusObjectKey -- association [0..1]
LEFT OUTER JOIN E_ProductionOrder AS _Extension ON ProductionOrder = _Extension.ProductionOrder -- association [1..1]
LEFT OUTER JOIN R_ProductionOrderItemTP AS _Item ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_ProductionOrderSequenceTP AS _Sequence ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_ProductionOrderOpComponentTP AS _Component ON /* condition not available in parsed metadata */ -- association [0..*]
;
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