P_MfgOrdCompAssyCrrtnHist
P_MfgOrdCompAssyCrrtnHist is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_MfgOrdCompAssyCrrtnHistPre) and exposes 34 fields with key field AssemblyCorrectionDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MfgOrdCompAssyCrrtnHistPre | crrtn | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssemblyCorrectionDocument | P_MfgOrdCompAssyCrrtnHistPre | AssemblyCorrectionDocument | |
| AssemblyCorrectionType | P_MfgOrdCompAssyCrrtnHistPre | AssemblyCorrectionType | ||
| GdsMvtForAssyCrrtnIsDisabled | P_MfgOrdCompAssyCrrtnHistPre | GdsMvtForAssyCrrtnIsDisabled | ||
| ManufacturingOrder | P_MfgOrdCompAssyCrrtnHistPre | ManufacturingOrder | Order | |
| EventDateTime | ||||
| ShopFloorExecutionUser | ||||
| CreatedByUser | ||||
| CreationDateTime | ||||
| OpActyNtwkInstance | P_MfgOrdCompAssyCrrtnHistPre | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | P_MfgOrdCompAssyCrrtnHistPre | OpActyNtwkElement | Element Number | |
| ShopFloorItem | P_MfgOrdCompAssyCrrtnHistPre | ShopFloorItem | Serial.Mat. ID | |
| MaterialComponent | P_MfgOrdCompAssyCrrtnHistPre | MaterialComponent | ||
| MaterialComponentName | P_MfgOrdCompAssyCrrtnHistPre | MaterialComponentName | ||
| AssembledShopFloorItem | P_MfgOrdCompAssyCrrtnHistPre | AssembledShopFloorItem | ||
| AssembledSerialNumber | P_MfgOrdCompAssyCrrtnHistPre | AssembledSerialNumber | ||
| AssembledMfrSerialNumber | P_MfgOrdCompAssyCrrtnHistPre | AssembledMfrSerialNumber | ||
| AssembledBatch | P_MfgOrdCompAssyCrrtnHistPre | AssembledBatch | ||
| ReferenceDesignatorValue | crrtn_item_ref_des | ReferenceDesignatorValue | Ref. Designator | |
| ReplacedShopFloorItem | P_MfgOrdCompAssyCrrtnHistPre | ReplacedShopFloorItem | ||
| ReplacedSerialNumber | P_MfgOrdCompAssyCrrtnHistPre | ReplacedSerialNumber | ||
| ReplacedBatch | P_MfgOrdCompAssyCrrtnHistPre | ReplacedBatch | ||
| StorageLocation | P_MfgOrdCompAssyCrrtnHistPre | StorageLocation | StorageLocation | |
| InventoryUsabilityCode | P_MfgOrdCompAssyCrrtnHistPre | InventoryUsabilityCode | Stock Type | |
| QuantityInEntryUnit | P_MfgOrdCompAssyCrrtnHistPre | QuantityInEntryUnit | Quantity in Unit of Entry | |
| EntryUnit | P_MfgOrdCompAssyCrrtnHistPre | EntryUnit | Unit of Entry | |
| MfgActionReasonCodeGroupCtlg | P_MfgOrdCompAssyCrrtnHistPre | MfgActionReasonCodeGroupCtlg | ||
| MfgActionReasonCodeGroup | P_MfgOrdCompAssyCrrtnHistPre | MfgActionReasonCodeGroup | ||
| ManufacturingActionReasonCode | P_MfgOrdCompAssyCrrtnHistPre | ManufacturingActionReasonCode | ||
| SystemMessageNumber | P_MfgOrdCompAssyCrrtnHistPre | SystemMessageNumber | Message Number | |
| SystemMessageIdentification | P_MfgOrdCompAssyCrrtnHistPre | SystemMessageIdentification | Message ID | |
| MfgExecHistMsgVarblField1 | P_MfgOrdCompAssyCrrtnHistPre | MfgExecHistMsgVarblField1 | ||
| MfgExecHistMsgVarblField2 | P_MfgOrdCompAssyCrrtnHistPre | MfgExecHistMsgVarblField2 | ||
| MfgExecHistMsgVarblField3 | P_MfgOrdCompAssyCrrtnHistPre | MfgExecHistMsgVarblField3 | ||
| MfgExecHistMsgVarblField4 | P_MfgOrdCompAssyCrrtnHistPre | MfgExecHistMsgVarblField4 |
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 P_MfgOrdCompAssyCrrtnHist.
-- 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 P_MfgOrdCompAssyCrrtnHist AS
SELECT
crrtn.AssemblyCorrectionDocument AS AssemblyCorrectionDocument,
crrtn.AssemblyCorrectionType AS AssemblyCorrectionType,
crrtn.GdsMvtForAssyCrrtnIsDisabled AS GdsMvtForAssyCrrtnIsDisabled,
crrtn.ManufacturingOrder AS ManufacturingOrder,
cast(crrtn.CreationDateTime as mpe_perform_timestamp) AS EventDateTime,
cast(crrtn.CreatedByUser as mpe_performed_by_user preserving type) AS ShopFloorExecutionUser,
cast(crrtn.CreatedByUser as mpe_create_user preserving type) AS CreatedByUser,
cast(crrtn.CreationDateTime as mpe_create_timestampl preserving type) AS CreationDateTime,
crrtn.OpActyNtwkInstance AS OpActyNtwkInstance,
crrtn.OpActyNtwkElement AS OpActyNtwkElement,
crrtn.ShopFloorItem AS ShopFloorItem,
crrtn.MaterialComponent AS MaterialComponent,
crrtn.MaterialComponentName AS MaterialComponentName,
crrtn.AssembledShopFloorItem AS AssembledShopFloorItem,
crrtn.AssembledSerialNumber AS AssembledSerialNumber,
crrtn.AssembledMfrSerialNumber AS AssembledMfrSerialNumber,
crrtn.AssembledBatch AS AssembledBatch,
crrtn_item_ref_des.ReferenceDesignatorValue AS ReferenceDesignatorValue,
crrtn.ReplacedShopFloorItem AS ReplacedShopFloorItem,
crrtn.ReplacedSerialNumber AS ReplacedSerialNumber,
crrtn.ReplacedBatch AS ReplacedBatch,
crrtn.StorageLocation AS StorageLocation,
crrtn.InventoryUsabilityCode AS InventoryUsabilityCode,
crrtn.QuantityInEntryUnit AS QuantityInEntryUnit,
crrtn.EntryUnit AS EntryUnit,
crrtn.MfgActionReasonCodeGroupCtlg AS MfgActionReasonCodeGroupCtlg,
crrtn.MfgActionReasonCodeGroup AS MfgActionReasonCodeGroup,
crrtn.ManufacturingActionReasonCode AS ManufacturingActionReasonCode,
crrtn.SystemMessageNumber AS SystemMessageNumber,
crrtn.SystemMessageIdentification AS SystemMessageIdentification,
crrtn.MfgExecHistMsgVarblField1 AS MfgExecHistMsgVarblField1,
crrtn.MfgExecHistMsgVarblField2 AS MfgExecHistMsgVarblField2,
crrtn.MfgExecHistMsgVarblField3 AS MfgExecHistMsgVarblField3,
crrtn.MfgExecHistMsgVarblField4 AS MfgExecHistMsgVarblField4
FROM P_MfgOrdCompAssyCrrtnHistPre AS crrtn
;
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