A_ProcessOrderComponent_2

DDL: A_PROCESSORDERCOMPONENT_2 Type: view_entity COMPOSITE

Process Order Components

A_ProcessOrderComponent_2 is a Composite CDS View that provides data about "Process Order Components" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationComponent) and exposes 75 fields with key fields Reservation, ReservationItem, ReservationRecordType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperationComponent I_MfgOrderOperationComponent from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_ReservationDocumentItem _Extension $projection.Reservation = _Extension.Reservation and $projection.ReservationItem = _Extension.ReservationItem and $projection.ReservationRecordType = _Extension.RecordType

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Process Order Components view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (75)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
KEY ReservationRecordType RecordType Reservation Record Type
MaterialGroup MaterialGroup Product Group
Material Material Vehicle Model
Plant Plant Valuation Area
ManufacturingOrderCategory ManufacturingOrderCategory
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrder Order
ManufacturingOrderSequence ManufacturingOrderSequence
ManufacturingOrderOperation ManufacturingOrderOperation Activity
ProductionPlant ProductionPlant Prod plnt
OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
MatlCompRequirementDate MatlCompRequirementDate Reqmts date
MatlCompRequirementTime MatlCompRequirementTime
MaterialIsDirectlyProduced MaterialIsDirectlyProduced
ReservationIsFinallyIssued ReservationIsFinallyIssued Res Final Issue
MatlCompIsMarkedForDeletion
IsBulkMaterialComponent IsBulkMaterialComponent Bulk material
MatlCompIsMarkedForBackflush MatlCompIsMarkedForBackflush Backflush
MaterialCompIsCostRelevant MaterialCompIsCostRelevant CostingRelevncy
RequirementType RequirementType RequirementType
WBSElementInternalID WBSElementInternalID_2
OrderComponentLongText _LongText OrderComponentLongText Long Text
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SortField SortField Sort Field
MaterialComponentSortText MaterialComponentSortText Sort string
BillOfMaterialCategory BillOfMaterialCategory BOM category
BOMItem BOMItem
BOMItemCategory BOMItemCategory Item Category
BillOfMaterialItemNumber BillOfMaterialItemNumber Item
BOMItemDescription BOMItemDescription BOM Item Text
InheritedBOMItemNode InheritedBOMItemNode Nodes
BillOfMaterialInternalID BillOfMaterialInternalID_2
BOMItemInternalChangeCount BOMItemInternalChangeCount Counter
InheritedNodeNumberVersionBOM _BillOfMaterialItem InheritedNodeNumberVersionBOM Item node
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
GoodsMovementType GoodsMovementType Movement Type
SupplyArea SupplyArea Supply Area
GoodsRecipientName GoodsRecipientName Recipient Name
UnloadingPointName UnloadingPointName Unloading Point Name
InventorySpecialStockType InventorySpecialStockType Special Stock Type
MaterialStaging MaterialStaging Staging Ind.
MaterialCompIsAlternativeItem MaterialCompIsAlternativeItem Alternat. item
AlternativeItemGroup AlternativeItemGroup AltItemGroup
AlternativeItemStrategy AlternativeItemStrategy Strategy
AlternativeItemPriority AlternativeItemPriority Priority
UsageProbabilityPercent UsageProbabilityPercent Usage Prob.
MaterialComponentIsPhantomItem MaterialComponentIsPhantomItem Phantom Item
OrderLevelValue OrderLevelValue Order level
OrderPathValue OrderPathValue Order path
AssemblyOrderLevelValue AssemblyOrderLevelValue Assbly Ord. Lvl
AssemblyOrderPathValue AssemblyOrderPathValue Assbly Ord.Path
MaterialProvisionType MaterialProvisionType Material Provision Type
LeadTimeOffset LeadTimeOffset Lead-tm offset
QuantityIsFixed QuantityIsFixed Qty. is fixed
IsNetScrap IsNetScrap Net Indicator
ComponentScrapInPercent ComponentScrapInPercent Component Scrap
OperationScrapInPercent OperationScrapInPercent Operation Scrap
BaseUnit BaseUnit Unit of Measure
BaseUnitISOCode _BaseUnit UnitOfMeasureISOCode
BaseUnitSAPCode _BaseUnit UnitOfMeasureSAPCode
RequiredQuantity RequiredQuantity Requirement qty
WithdrawnQuantity WithdrawnQuantity Withdrawn Quantity
ConfirmedAvailableQuantity ConfirmedAvailableQuantity Available Quantity
MaterialCompOriginalQuantity MaterialCompOriginalQuantity
EntryUnit EntryUnit Unit of Entry
EntryUnitISOCode _EntryUnit UnitOfMeasureISOCode
EntryUnitSAPCode _EntryUnit UnitOfMeasureSAPCode
GoodsMovementEntryQty GoodsMovementEntryQty
Currency Currency Valuation Crcy
WithdrawnQuantityAmount WithdrawnQuantityAmount Withdr. Value
LastChangeTimeendasLastChangeDateTime

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_ProcessOrderComponent_2.
-- 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_ProcessOrderComponent_2 AS
SELECT
  Reservation,
  ReservationItem,
  RecordType AS ReservationRecordType,
  MaterialGroup,
  Material,
  Plant,
  ManufacturingOrderCategory,
  ManufacturingOrderType,
  cast(ManufacturingOrder as co_bid preserving type) AS ManufacturingOrder,
  ManufacturingOrderSequence,
  ManufacturingOrderOperation,
  ProductionPlant,
  OrderInternalBillOfOperations,
  MatlCompRequirementDate,
  MatlCompRequirementTime,
  MaterialIsDirectlyProduced,
  ReservationIsFinallyIssued,
  cast( MatlCompIsMarkedForDeletion as /plmb/lkenz preserving type ) AS MatlCompIsMarkedForDeletion,
  IsBulkMaterialComponent,
  MatlCompIsMarkedForBackflush,
  MaterialCompIsCostRelevant,
  RequirementType,
  WBSElementInternalID_2 AS WBSElementInternalID,
  _LongText.OrderComponentLongText AS OrderComponentLongText,
  SalesOrder,
  SalesOrderItem,
  SortField,
  MaterialComponentSortText,
  BillOfMaterialCategory,
  BOMItem,
  BOMItemCategory,
  BillOfMaterialItemNumber,
  BOMItemDescription,
  InheritedBOMItemNode,
  BillOfMaterialInternalID_2 AS BillOfMaterialInternalID,
  BOMItemInternalChangeCount,
  _BillOfMaterialItem.InheritedNodeNumberVersionBOM AS InheritedNodeNumberVersionBOM,
  StorageLocation,
  Batch,
  GoodsMovementType,
  SupplyArea,
  GoodsRecipientName,
  UnloadingPointName,
  InventorySpecialStockType,
  MaterialStaging,
  MaterialCompIsAlternativeItem,
  AlternativeItemGroup,
  AlternativeItemStrategy,
  AlternativeItemPriority,
  UsageProbabilityPercent,
  MaterialComponentIsPhantomItem,
  OrderLevelValue,
  OrderPathValue,
  AssemblyOrderLevelValue,
  AssemblyOrderPathValue,
  MaterialProvisionType,
  LeadTimeOffset,
  QuantityIsFixed,
  IsNetScrap,
  ComponentScrapInPercent,
  OperationScrapInPercent,
  BaseUnit,
  _BaseUnit.UnitOfMeasureISOCode AS BaseUnitISOCode,
  _BaseUnit.UnitOfMeasureSAPCode AS BaseUnitSAPCode,
  RequiredQuantity,
  WithdrawnQuantity,
  ConfirmedAvailableQuantity,
  MaterialCompOriginalQuantity,
  EntryUnit,
  _EntryUnit.UnitOfMeasureISOCode AS EntryUnitISOCode,
  _EntryUnit.UnitOfMeasureSAPCode AS EntryUnitSAPCode,
  GoodsMovementEntryQty,
  Currency,
  WithdrawnQuantityAmount,
  case I_MfgOrderOperationComponent._MfgOrder.LastChangeDate when '00000000' then concat(I_MfgOrderOperationComponent._MfgOrder.MfgOrderCreationDate, I_MfgOrderOperationComponent._MfgOrder.MfgOrderCreationTime) else concat(I_MfgOrderOperationComponent._MfgOrder.LastChangeDate, I_MfgOrderOperationComponent._MfgOrder.LastChangeTime) end as LastChangeDateTime AS LastChangeTimeendasLastChangeDateTime
FROM I_MfgOrderOperationComponent
LEFT OUTER JOIN E_ReservationDocumentItem AS _Extension ON Reservation = _Extension.Reservation AND ReservationItem = _Extension.ReservationItem AND ReservationRecordType = _Extension.RecordType  -- association [1..1]
;