A_ProductionOrderComponent
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)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationComponent | I_MfgOrderOperationComponent | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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';
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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