A_ProductionOrder_4

DDL: A_PRODUCTIONORDER_4 Type: view_entity CONSUMPTION Package: PP_PRODUCTIONORDER_RAP

Production Order Header

A_ProductionOrder_4 is a Consumption CDS View that provides data about "Production Order Header" in SAP S/4HANA. It reads from 1 data source (R_ProductionOrderTP) and exposes 112 fields with key field ProductionOrder. It is exposed through 1 OData service (API_PRODUCTIONORDER). Part of development package PP_PRODUCTIONORDER_RAP.

Data Sources (1)

SourceAliasJoin Type
R_ProductionOrderTP R_ProductionOrderTP projection

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #TRANSACTIONAL_QUERY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name ProductionOrder view
OData.entityType.name ProductionOrder_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
EndUserText.label Production Order Header view

OData Services (1)

ServiceBindingVersionContractRelease
API_PRODUCTIONORDER API_PRODUCTIONORDER V4 C2 C1

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY ProductionOrder ProductionOrder Order
ProductionOrderText ProductionOrderText
OrderImportance OrderImportance
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
OrderHasMultipleItems OrderHasMultipleItems
OrderIsPartOfCollectiveOrder OrderIsPartOfCollectiveOrder
OrderHierarchyLevelValue OrderHierarchyLevelValue
OrderIsNotCostedAutomatically OrderIsNotCostedAutomatically
OrdIsNotSchedldAutomatically OrdIsNotSchedldAutomatically No auto. cost.
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
LastChangeDateTime LastChangeDateTime Timestamp
ProductionOrderType ProductionOrderType
OrderInternalID OrderInternalID Plan No.f.Oper.
ReferenceOrder ReferenceOrder Reference Order
LeadingOrder LeadingOrder Last order
SuperiorOrder SuperiorOrder
Currency Currency Valuation Crcy
Product Product Product Sold
ProductionPlant ProductionPlant Prod plnt
PlanningPlant PlanningPlant
MRPArea 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 WBSElementInternalID WBS Internal ID
SettlementReservation SettlementReservation
OrderConfirmationGroup OrderConfirmationGroup
NumberOfOrderConfirmations NumberOfOrderConfirmations
PlannedOrder PlannedOrder
CapacityRequirement CapacityRequirement
InspectionLot InspectionLot Inspection Lot
ChangeNumber ChangeNumber Change Number
BasicSchedulingType BasicSchedulingType Scheduling type
SchedulingIsAllowingForBreaks SchedulingIsAllowingForBreaks
ObjectInternalID ObjectInternalID Object number
ProductConfiguration ProductConfiguration
VarConfigurationBusObjectType VarConfigurationBusObjectType
VarConfigurationBusObjectKey VarConfigurationBusObjectKey
BillOfOperationsMaterial BillOfOperationsMaterial
BillOfOperationsType BillOfOperationsType Task List Type
BillOfOperationsGroup BillOfOperationsGroup Group
BillOfOperationsVariant BillOfOperationsVariant Group Counter
BOOInternalVersionCounter BOOInternalVersionCounter
BillOfOperationsUsage BillOfOperationsUsage
BOOExplosionDate BOOExplosionDate
BOOValidityStartDate BOOValidityStartDate
BillOfMaterialCategory
BillOfMaterialInternalID BillOfMaterial BOM
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BOMExplosionDate BOMExplosionDate
BOMValidityStartDate BOMValidityStartDate
BusinessArea BusinessArea Business Area
CompanyCode CompanyCode Receiver Company Code
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
CostCenter CostCenter Cost Center
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
CostElement CostElement G/L Account
CostingSheet CostingSheet Costing Sheet
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 OrderPlannedStartDate
OrderPlannedStartTime OrderPlannedStartTime
OrderPlannedEndDate OrderPlannedEndDate
OrderPlannedEndTime OrderPlannedEndTime
PlannedReleaseDate PlannedReleaseDate
OrderScheduledStartDate OrderScheduledStartDate
OrderScheduledStartTime OrderScheduledStartTime
OrderScheduledEndDate OrderScheduledEndDate
OrderScheduledEndTime OrderScheduledEndTime
OrderScheduledReleaseDate OrderScheduledReleaseDate
OrderActualStartDate OrderActualStartDate
OrderActualStartTime OrderActualStartTime
OrderActualEndDate OrderActualEndDate
OrderActualReleaseDate OrderActualReleaseDate
OrderConfirmedEndDate OrderConfirmedEndDate
OrderConfirmedEndTime OrderConfirmedEndTime
TotalCommitmentDate TotalCommitmentDate
TechnicalCompletionDate TechnicalCompletionDate
ProductionPlantTimeZone
ProductionSAPUnit
ProductionISOUnit
OrderPlannedTotalQty OrderPlannedTotalQty
OrderPlannedScrapQty OrderPlannedScrapQty
OrderConfirmedYieldQty OrderConfirmedYieldQty
OrderConfirmedScrapQty OrderConfirmedScrapQty
OrderConfirmedReworkQty OrderConfirmedReworkQty
ExpectedDeviationQuantity ExpectedDeviationQuantity
ActualDeliveredQuantity ActualDeliveredQuantity Delivered Quantity

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_ProductionOrder_4.
-- 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_ProductionOrder_4 AS
SELECT
  ProductionOrder,
  ProductionOrderText,
  OrderImportance,
  IsMarkedForDeletion,
  IsCompletelyDelivered,
  OrderHasMultipleItems,
  OrderIsPartOfCollectiveOrder,
  OrderHierarchyLevelValue,
  OrderIsNotCostedAutomatically,
  OrdIsNotSchedldAutomatically,
  CreationDate,
  CreationTime,
  CreatedByUser,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  LastChangeDateTime,
  ProductionOrderType,
  OrderInternalID,
  ReferenceOrder,
  LeadingOrder,
  SuperiorOrder,
  Currency,
  Product,
  ProductionPlant,
  PlanningPlant,
  MRPArea,
  MRPController,
  ProductionSupervisor,
  ProductionSchedulingProfile,
  ResponsiblePlannerGroup,
  ProductionVersion,
  SalesOrder,
  SalesOrderItem,
  WBSElementInternalID,
  SettlementReservation,
  OrderConfirmationGroup,
  NumberOfOrderConfirmations,
  PlannedOrder,
  CapacityRequirement,
  InspectionLot,
  ChangeNumber,
  BasicSchedulingType,
  SchedulingIsAllowingForBreaks,
  ObjectInternalID,
  ProductConfiguration,
  VarConfigurationBusObjectType,
  VarConfigurationBusObjectKey,
  BillOfOperationsMaterial,
  BillOfOperationsType,
  BillOfOperationsGroup,
  BillOfOperationsVariant,
  BOOInternalVersionCounter,
  BillOfOperationsUsage,
  BOOExplosionDate,
  BOOValidityStartDate,
  BillOfMaterial AS BillOfMaterialInternalID,
  BillOfMaterialVariant,
  BillOfMaterialVariantUsage,
  BOMExplosionDate,
  BOMValidityStartDate,
  BusinessArea,
  CompanyCode,
  ControllingArea,
  ProfitCenter,
  CostCenter,
  ResponsibleCostCenter,
  CostElement,
  CostingSheet,
  ProductCostCollector,
  ActualCostsCostingVariant,
  PlannedCostsCostingVariant,
  ControllingObjectClass,
  FunctionalArea,
  OverheadCode,
  ResultAnalysisInternalID,
  VarianceKey,
  EventBasedProcessingKey,
  EventBasedPostingMethod,
  SchedulingFloatProfile,
  FloatBeforeProductionInWrkDays,
  FloatAfterProductionInWorkDays,
  ReleasePeriodInWorkDays,
  OrderPlannedStartDate,
  OrderPlannedStartTime,
  OrderPlannedEndDate,
  OrderPlannedEndTime,
  PlannedReleaseDate,
  OrderScheduledStartDate,
  OrderScheduledStartTime,
  OrderScheduledEndDate,
  OrderScheduledEndTime,
  OrderScheduledReleaseDate,
  OrderActualStartDate,
  OrderActualStartTime,
  OrderActualEndDate,
  OrderActualReleaseDate,
  OrderConfirmedEndDate,
  OrderConfirmedEndTime,
  TotalCommitmentDate,
  TechnicalCompletionDate,
  cast( _ProductionPlant._Address.AddressTimeZone as vdm_prodnplant_tzone preserving type ) AS ProductionPlantTimeZone,
  cast( ProductionUnit as BT_ProductionSAPUnit preserving type ) AS ProductionSAPUnit,
  cast( _ProductionUnit.UnitOfMeasureISOCode as BT_ProductionISOUnit preserving type ) AS ProductionISOUnit,
  OrderPlannedTotalQty,
  OrderPlannedScrapQty,
  OrderConfirmedYieldQty,
  OrderConfirmedScrapQty,
  OrderConfirmedReworkQty,
  ExpectedDeviationQuantity,
  ActualDeliveredQuantity
FROM R_ProductionOrderTP
;