I_MfgOrderLogicalComponent
Manufacturing Order Logical Component
I_MfgOrderLogicalComponent is a Basic CDS View that provides data about "Manufacturing Order Logical Component" in SAP S/4HANA. It reads from 1 data source (mpe_sfo_lcp) and exposes 18 fields with key fields ManufacturingOrder, LogicalComponentUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mpe_sfo_lcp | mpe_sfo_lcp | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ManufacturingOrder | _ManufacturingOrder | $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder |
| [1..1] | I_LogisticsOrder | _LogisticsOrder | $projection.ManufacturingOrder = _LogisticsOrder.OrderID |
| [0..1] | I_ReservationDocumentHeader | _ReservationDocumentHeader | $projection.Reservation = _ReservationDocumentHeader.Reservation |
| [0..1] | I_ReservationDocumentItem | _ReservationDocumentItem | $projection.Reservation = _ReservationDocumentItem.Reservation and $projection.ReservationItem = _ReservationDocumentItem.ReservationItem and $projection.RecordType = _ReservationDocumentItem.RecordType |
| [0..1] | I_ReservationItem | _ReservationItem | $projection.Reservation = _ReservationItem.Reservation and $projection.ReservationItem = _ReservationItem.ReservationItem and $projection.RecordType = _ReservationItem.RecordType |
| [0..1] | I_ReservationDocRecordType | _ReservationDocRecordType | $projection.RecordType = _ReservationDocRecordType.RecordType |
| [0..1] | I_OrderComponentBasic | _OrderComponentBasic | $projection.Reservation = _OrderComponentBasic.Reservation and $projection.ReservationItem = _OrderComponentBasic.ReservationItem and $projection.RecordType = _OrderComponentBasic.RecordType |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Manufacturing Order Logical Component | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | LogicalComponentUUID | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.technicalName | IMPESFOLOGCOMP | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | aufnr | SettlementOrder | |
| KEY | LogicalComponentUUID | lcp_guid | ||
| LgclCompReferenceOriginCode | lcp_reference | |||
| BillOfMaterialCategory | Single-Character Flag | |||
| BillOfMaterialInternalID | BOM | |||
| BillOfMaterialVariant | stlal | AlternativeBOM | ||
| BillOfMaterialVersion | bom_versn | BOM Version | ||
| InheritedNodeNumberForBOMItem | stvkn | Nodes | ||
| Reservation | rsnum | Reservation | ||
| ReservationItem | rspos | Item no. | ||
| RecordType | rsart | Risk type | ||
| _ManufacturingOrder | _ManufacturingOrder | |||
| _LogisticsOrder | _LogisticsOrder | |||
| _ReservationDocumentHeader | _ReservationDocumentHeader | |||
| _ReservationDocumentItem | _ReservationDocumentItem | |||
| _ReservationItem | _ReservationItem | |||
| _ReservationDocRecordType | _ReservationDocRecordType | |||
| _OrderComponentBasic | _OrderComponentBasic |
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 I_MfgOrderLogicalComponent.
-- 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 I_MfgOrderLogicalComponent AS
SELECT
aufnr AS ManufacturingOrder,
lcp_guid AS LogicalComponentUUID,
lcp_reference AS LgclCompReferenceOriginCode,
cast(stlty as pph_stlty preserving type) AS BillOfMaterialCategory,
cast(stlnr as pph_stnum preserving type) AS BillOfMaterialInternalID,
stlal AS BillOfMaterialVariant,
bom_versn AS BillOfMaterialVersion,
stvkn AS InheritedNodeNumberForBOMItem,
rsnum AS Reservation,
rspos AS ReservationItem,
rsart AS RecordType
FROM mpe_sfo_lcp
LEFT OUTER JOIN I_ManufacturingOrder AS _ManufacturingOrder ON ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder -- association [0..1]
LEFT OUTER JOIN I_LogisticsOrder AS _LogisticsOrder ON ManufacturingOrder = _LogisticsOrder.OrderID -- association [1..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _ReservationDocumentHeader ON Reservation = _ReservationDocumentHeader.Reservation -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentItem AS _ReservationDocumentItem ON Reservation = _ReservationDocumentItem.Reservation AND ReservationItem = _ReservationDocumentItem.ReservationItem AND RecordType = _ReservationDocumentItem.RecordType -- association [0..1]
LEFT OUTER JOIN I_ReservationItem AS _ReservationItem ON Reservation = _ReservationItem.Reservation AND ReservationItem = _ReservationItem.ReservationItem AND RecordType = _ReservationItem.RecordType -- association [0..1]
LEFT OUTER JOIN I_ReservationDocRecordType AS _ReservationDocRecordType ON RecordType = _ReservationDocRecordType.RecordType -- association [0..1]
LEFT OUTER JOIN I_OrderComponentBasic AS _OrderComponentBasic ON Reservation = _OrderComponentBasic.Reservation AND ReservationItem = _OrderComponentBasic.ReservationItem AND RecordType = _OrderComponentBasic.RecordType -- association [0..1]
;
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