A_ProductionOrderComponent

DDL: A_PRODUCTIONORDERCOMPONENT Type: view_entity COMPOSITE Package: ODATA_PP_API_PRODORDER

API Production Order Components

A_ProductionOrderComponent is a Composite CDS View that provides data about "API Production Order Components" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationComponent) and exposes 28 fields with key fields Reservation, ReservationItem. Part of development package ODATA_PP_API_PRODORDER.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperationComponent I_MfgOrderOperationComponent from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label API Production Order Components view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation
KEY ReservationItem ReservationItem
BillOfMaterialItemNumber BillOfMaterialItemNumber
BOMItemDescription BOMItemDescription BOM Item Text
Material Material
Plant Plant
ProductionPlant ProductionPlant
MatlCompRequirementDate MatlCompRequirementDate
BaseUnit BaseUnit Unit
RequiredQuantity RequiredQuantity
WithdrawnQuantity WithdrawnQuantity
BOMItem BOMItem
StorageLocation
SupplyArea SupplyArea
ManufacturingOrderSequence ManufacturingOrderSequence
ManufacturingOrder ManufacturingOrder Production Order
ManufacturingOrderOperation ManufacturingOrderOperation
ManufacturingOrderCategory ManufacturingOrderCategory
ManufacturingOrderType ManufacturingOrderType
OrderInternalBillOfOperations OrderInternalBillOfOperations
BOMItemText2 BOMItemText2
BOMItemCategory BOMItemCategory
BillOfMaterialCategory BillOfMaterialCategory
SortField SortField
GoodsRecipientName GoodsRecipientName
UnloadingPointName UnloadingPointName
Batch Batch
BatchSplitType BatchSplitType
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'API Production Order Components'
@VDM.viewType: #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

define view entity A_ProductionOrderComponent
  as select from I_MfgOrderOperationComponent
{
  key  Reservation,
  key  ReservationItem,
       BillOfMaterialItemNumber,
       @EndUserText.label: 'BOM Item Text'
       @Semantics.text: true
       BOMItemDescription,      // BOMItemDescription,

       Material,                // Material,

       Plant,                   // IssuingPlant,

       ProductionPlant,
       MatlCompRequirementDate, // RequirementsDate,

       @EndUserText.label: 'Unit'
       BaseUnit,                // BaseUOM,

       @Semantics.quantity.unitOfMeasure: 'BaseUnit'
       RequiredQuantity,        // RequiredQuantity,

       @Semantics.quantity.unitOfMeasure: 'BaseUnit'
       WithdrawnQuantity,       // Issued Quantity

       BOMItem,                 // BOMItem,

       cast(StorageLocation as pph_lgort preserving type ) as StorageLocation, // IssuingStorageLocation,

       SupplyArea, // ProductionSupplyArea

       ManufacturingOrderSequence,
       @EndUserText.label: 'Production Order'
       ManufacturingOrder, //ProductionOrder,

       ManufacturingOrderOperation, // AssignedOperation,

       ManufacturingOrderCategory,
       ManufacturingOrderType,
       OrderInternalBillOfOperations, //AssignedOperation

       // added gm

       BOMItemText2,           // BOMItemText2

       BOMItemCategory,        // BOMItemCategory

       BillOfMaterialCategory, // BillOfMaterialCategory

       SortField,              // SortField

       GoodsRecipientName,     // GoodsRecipientName

       UnloadingPointName,      // UnloadingPointName

       /* following fields where added for extension in CE1911  */
       Batch,
       BatchSplitType
}
where
  RecordType = '' and  // scenario where RecordType/RSART <> '' (followup materials) is not supported

  ManufacturingOrderCategory = '10';