I_RptvMfgConfMatlDocItem
Material Document Item of Confirmation in Repetitive Mfg
I_RptvMfgConfMatlDocItem (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
RptvMfgConfMatlDocItem · Manufacturing
I_RptvMfgConfMatlDocItem is a Composite CDS View that provides data about "Material Document Item of Confirmation in Repetitive Mfg" in SAP S/4HANA. It reads from 5 data sources (I_RptvMfgConfMatlDocItemAssgmt, I_RepetitiveMfgConfirmation, I_RepetitiveMfgConfirmation, I_MaterialDocumentRecord, I_MaterialDocumentRecord) and exposes 173 fields with key fields RepetitiveMfgConfirmation, MaterialDocument, MaterialDocumentYear, MaterialDocumentItem, MaterialDocument. It has 35 associations to related views. Part of development package VDM_PP_REM.
SAP Help Documentation
| Category | CDS Views for Repetitive Manufacturing |
|---|
This CDS view retrieves data for material document items created by confirmations in repetitive manufacturing. This CDS view provides the data to answer the following business questions: Which material document items were created by a confirmation in repetitive manufacturing? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: LGORT_WERKS (Storage Location/Plant) BWART (Movement Type) WERKS (Plant) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description RepetitiveMfgConfirmation Repetitive Manufacturing Confirmation MaterialDocument Material Document MaterialDocumentYear Material Document Year MaterialDocumentItem Material Document Item PostingDate Posting Date DocumentDate Document Date Material Material Plant Plant Reservation Reservation ReservationItem Reservation Item StorageLocation Storage Location Batch Batch GoodsMovementType Goods Movement Type InventorySpecialStockType Special Stock Type SalesOrder Sales Order SalesOrderItem Sales Order Item Supplier Supplier GoodsRecipientName Goods Recipient UnloadingPointName Unloading Point ReservationIsFinallyIssued Res Final Issue IsCompletelyDelivered Delivery Completed BaseUnit Base Unit of Measure QuantityInBaseUnit Quantity EntryUnit Unit of Entry QuantityInEntryUnit Quantity in Unit of Entry
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | PP-VDM-2CL |
| Capabilities | Data Source for Defining CDS Entities,Data Source in SQL Select |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view retrieves data for material document items created by confirmations in repetitive manufacturing.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which material document items were created by a confirmation in repetitive manufacturing?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_RptvMfgConfMatlDocItemAssgmt | afwi | inner |
| I_RepetitiveMfgConfirmation | conf | from |
| I_RepetitiveMfgConfirmation | conf | union_all |
| I_MaterialDocumentRecord | mseg | inner |
| I_MaterialDocumentRecord | mseg | inner |
Associations (35)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RepetitiveMfgConfirmation | _RepetitiveMfgConfirmation | $projection.RepetitiveMfgConfirmation = _RepetitiveMfgConfirmation.RepetitiveMfgConfirmation |
| [1..1] | I_MaterialDocumentHeader_2 | _MaterialDocumentHeader | $projection.MaterialDocument = _MaterialDocumentHeader.MaterialDocument and $projection.MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear |
| [0..1] | I_CalendarDate | _DocumentDate | $projection.DocumentDate = _DocumentDate.CalendarDate |
| [0..1] | I_CalendarDate | _PostingDate | $projection.PostingDate = _PostingDate.CalendarDate |
| [0..1] | I_CalendarDate | _ShelfLifeExpirationDate | $projection.ShelfLifeExpirationDate = _ShelfLifeExpirationDate.CalendarDate |
| [0..1] | I_CalendarDate | _ManufactureDate | $projection.ManufactureDate = _ManufactureDate.CalendarDate |
| [0..1] | I_ReservationDocumentHeader | _Reservation | $projection.Reservation = _Reservation.Reservation |
| [0..1] | I_ReservationDocumentItem | _ReservationItem | $projection.Reservation = _ReservationItem.Reservation and $projection.ReservationItem = _ReservationItem.ReservationItem and $projection.ReservationRecordType = _ReservationItem.RecordType |
| [0..1] | I_ReservationDocRecordType | _ReservationRecordType | $projection.ReservationRecordType = _ReservationRecordType.RecordType |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [1..1] | I_UnitOfMeasure | _EntryUnit | $projection.EntryUnit = _EntryUnit.UnitOfMeasure |
| [1..1] | I_GoodsMovementType | _GoodsMovementType | $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType |
| [0..1] | I_PhysInvtryReasonCode | _GoodsMovementReason | $projection.GoodsMovementType = _GoodsMovementReason.GoodsMovementType and $projection.GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference |
| [0..1] | I_GoodsMovementRefDocType | _GoodsMovementRefDocType | $projection.GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType |
| [0..1] | I_InventorySpecialStockType | _InventorySpecialStockType | $projection.InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType |
| [0..1] | I_InvtrySpecialStockValnType | _InventorySpecialStockValnType | $projection.InventorySpecialStockValnType = _InventorySpecialStockValnType.InventorySpecialStockValnType |
| [0..1] | I_InventoryValuationType | _InventoryValuationType | $projection.InventoryValuationType = _InventoryValuationType.InventoryValuationType |
| [0..1] | I_ConsumptionPosting | _ConsumptionPosting | $projection.ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting |
| [0..1] | I_DebitCreditCode | _DebitCreditCode | $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode |
| [0..1] | I_StockType_2 | _InventoryUsabilityCode | $projection.InventoryUsabilityCode = _InventoryUsabilityCode.StockType |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_Batch | _Batch | $projection.Material = _Batch.Material and $projection.Plant = _Batch.Plant and $projection.Batch = _Batch.Batch |
| [0..1] | I_SalesOrder | _SalesOrder | $projection.SalesOrder = _SalesOrder.SalesOrder |
| [0..1] | I_SalesOrderItem | _SalesOrderItem | $projection.SalesOrder = _SalesOrderItem.SalesOrder and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_SupplierCompanyByPlant | _SupplierCompanyByPlant | $projection.Plant = _SupplierCompanyByPlant.Plant and $projection.Supplier = _SupplierCompanyByPlant.Supplier |
| [0..1] | I_CustomerCompanyByPlant | _CustomerCompanyByPlant | $projection.Plant = _CustomerCompanyByPlant.Plant and $projection.Customer = _CustomerCompanyByPlant.Customer |
| [0..1] | I_EWM_WarehouseNumber_2 | _EWMWarehouse | $projection.EWMWarehouse = _EWMWarehouse.EWMWarehouse |
| [0..1] | I_EWM_StorageBin_2 | _EWMStorageBin | $projection.EWMWarehouse = _EWMStorageBin.EWMWarehouse and $projection.EWMStorageBin = _EWMStorageBin.EWMStorageBin |
| [1..1] | I_MaterialDocumentItem_2 | _MaterialDocumentItem | $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument and $projection.MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem |
| [1..1] | I_MaterialDocumentYear | _MaterialDocumentYear | $projection.MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.technicalName | IREMCONFMATDOC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | RptvMfgConfMatlDocItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Material Document Item of Confirmation in Repetitive Mfg | view |
Fields (173)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RepetitiveMfgConfirmation | I_RepetitiveMfgConfirmation | RepetitiveMfgConfirmation | Repetitive Manufacturing Confirmation ID |
| KEY | MaterialDocument | I_RptvMfgConfMatlDocItemAssgmt | MaterialDocument | Number of Material Document |
| KEY | MaterialDocumentYear | I_RptvMfgConfMatlDocItemAssgmt | MaterialDocumentYear | Material Document Year |
| KEY | MaterialDocumentItem | I_RptvMfgConfMatlDocItemAssgmt | MaterialDocumentItem | Material Document Item |
| PostingDate | I_MaterialDocumentRecord | PostingDate | Posting Date in the Document | |
| DocumentDate | I_MaterialDocumentRecord | DocumentDate | Document Date in Document | |
| CreatedByUser | Name of Person Responsible for Creating the Object | |||
| ConfirmationPlant | Production Plant | |||
| ReportingPointOperation | I_RepetitiveMfgConfirmation | ReportingPointOperation | Reporting Point in Repetitive Manufacturing | |
| RepetitiveMfgConfScenario | I_RepetitiveMfgConfirmation | RepetitiveMfgConfScenario | Repetitive Manufacturing Scenario | |
| RptvMfgConfProcessingType | I_RepetitiveMfgConfirmation | RptvMfgConfProcessingType | Processing Type for Backflush | |
| RptvMfgConfReversedCode | I_RepetitiveMfgConfirmation | RptvMfgConfReversedCode | Reversal Code in Repetitive Manufacturing Confirmation | |
| Material | Material Number for Order | |||
| Plant | I_MaterialDocumentRecord | Plant | Valuation Area | |
| Reservation | I_MaterialDocumentRecord | Reservation | Number of Reservation/Dependent Requirements | |
| ReservationItem | I_MaterialDocumentRecord | ReservationItem | Item Number of Reservation / Dependent Requirements | |
| ReservationRecordType | I_MaterialDocumentRecord | ReservationRecordType | Reservation Record Type | |
| StorageLocation | Storage Location | |||
| Batch | I_MaterialDocumentRecord | Batch | Batch Number | |
| InventoryValuationType | Inventory Valuation Type | |||
| ConsumptionPosting | Consumption Posting | |||
| DebitCreditCode | Debit/Credit Code | |||
| GoodsMovementType | Goods Movement Type | |||
| GoodsMovementReasonCode | I_MaterialDocumentRecord | GoodsMovementReasonCode | Reason for Movement | |
| GoodsMovementRefDocType | I_MaterialDocumentRecord | GoodsMovementRefDocType | Goods Movement Reference Document Type | |
| InventoryUsabilityCode | Inventory Usability Code | |||
| InventorySpecialStockType | Inventory Special Stock Type | |||
| InventorySpecialStockValnType | Inventory Special Stock Valuation Type | |||
| SalesOrder | Sales Order | |||
| SalesOrderItem | Sales Order Item | |||
| WBSElementInternalID | WBS Element | |||
| Supplier | I_MaterialDocumentRecord | Supplier | Account Number of Supplier | |
| Customer | I_MaterialDocumentRecord | Customer | Account Number of Customer | |
| GoodsRecipientName | Goods Recipient | |||
| UnloadingPointName | Unloading Point | |||
| ReservationIsFinallyIssued | I_MaterialDocumentRecord | ReservationIsFinallyIssued | Final Issue for Reservation | |
| IsCompletelyDelivered | I_MaterialDocumentRecord | IsCompletelyDelivered | "Delivery Completed" Indicator | |
| ShelfLifeExpirationDate | I_MaterialDocumentRecord | ShelfLifeExpirationDate | Shelf Life Expiration or Best-Before Date | |
| ManufactureDate | I_MaterialDocumentRecord | ManufactureDate | Date of Manufacture | |
| StorageType | I_MaterialDocumentRecord | StorageType | Storage Type | |
| StorageBin | I_MaterialDocumentRecord | StorageBin | Storage Bin | |
| EWMWarehouse | I_MaterialDocumentRecord | EWMWarehouse | Warehouse No. | |
| EWMStorageBinasEWMStorageBin | ||||
| HandlingUnitExternalID | I_MaterialDocumentRecord | HandlingUnitExternalID | External Handling Unit Identification | |
| BaseUnit | I_MaterialDocumentRecord | MaterialBaseUnit | Base Unit of Measure | |
| QuantityInBaseUnit | I_MaterialDocumentRecord | QuantityInBaseUnit | Quantity | |
| EntryUnit | I_MaterialDocumentRecord | EntryUnit | Unit of Entry | |
| QuantityInEntryUnit | Quantity in Unit of Entry | |||
| _RepetitiveMfgConfirmation | _RepetitiveMfgConfirmation | |||
| _MaterialDocumentHeader | _MaterialDocumentHeader | |||
| _MaterialDocumentYear | I_RptvMfgConfMatlDocItemAssgmt | _MaterialDocumentYear | ||
| _MaterialDocumentItem | I_RptvMfgConfMatlDocItemAssgmt | _MaterialDocumentItem | ||
| _DocumentDate | _DocumentDate | |||
| _PostingDate | _PostingDate | |||
| _ShelfLifeExpirationDate | _ShelfLifeExpirationDate | |||
| _ManufactureDate | _ManufactureDate | |||
| _ConfirmationPlant | I_RepetitiveMfgConfirmation | _Plant | ||
| _RepetitiveMfgScenario | I_RepetitiveMfgConfirmation | _RepetitiveMfgScenario | ||
| _ProcessingType | I_RepetitiveMfgConfirmation | _RptvMfgConfProcessingType | ||
| _ReversalType | I_RepetitiveMfgConfirmation | _RptvMfgConfRevesalType | ||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Reservation | _Reservation | |||
| _ReservationItem | _ReservationItem | |||
| _ReservationRecordType | _ReservationRecordType | |||
| _StorageLocation | _StorageLocation | |||
| _Batch | _Batch | |||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _GoodsMovementType | _GoodsMovementType | |||
| _GoodsMovementReason | _GoodsMovementReason | |||
| _GoodsMovementRefDocType | _GoodsMovementRefDocType | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _InventorySpecialStockValnType | _InventorySpecialStockValnType | |||
| _InventoryValuationType | _InventoryValuationType | |||
| _ConsumptionPosting | _ConsumptionPosting | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _InventoryUsabilityCode | _InventoryUsabilityCode | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _CustomerCompanyByPlant | _CustomerCompanyByPlant | |||
| _EWMWarehouse | _EWMWarehouse | |||
| RepetitiveMfgConfirmation | Repetitive Manufacturing Confirmation ID | |||
| KEY | MaterialDocument | I_MaterialDocumentRecord | MaterialDocument | Number of Material Document |
| KEY | MaterialDocumentYear | I_MaterialDocumentRecord | MaterialDocumentYear | Material Document Year |
| KEY | MaterialDocumentItem | I_MaterialDocumentRecord | MaterialDocumentItem | Material Document Item |
| PostingDate | I_MaterialDocumentRecord | PostingDate | Posting Date in the Document | |
| DocumentDate | I_MaterialDocumentRecord | DocumentDate | Document Date in Document | |
| CreatedByUser | Name of Person Responsible for Creating the Object | |||
| ConfirmationPlant | Production Plant | |||
| ReportingPointOperation | I_RepetitiveMfgConfirmation | ReportingPointOperation | Reporting Point in Repetitive Manufacturing | |
| RepetitiveMfgConfScenario | I_RepetitiveMfgConfirmation | RepetitiveMfgConfScenario | Repetitive Manufacturing Scenario | |
| RptvMfgConfProcessingType | I_RepetitiveMfgConfirmation | RptvMfgConfProcessingType | Processing Type for Backflush | |
| RptvMfgConfReversedCode | I_RepetitiveMfgConfirmation | RptvMfgConfReversedCode | Reversal Code in Repetitive Manufacturing Confirmation | |
| Material | Material Number for Order | |||
| Plant | I_MaterialDocumentRecord | Plant | Valuation Area | |
| Reservation | I_MaterialDocumentRecord | Reservation | Number of Reservation/Dependent Requirements | |
| ReservationItem | I_MaterialDocumentRecord | ReservationItem | Item Number of Reservation / Dependent Requirements | |
| ReservationRecordType | I_MaterialDocumentRecord | ReservationRecordType | Reservation Record Type | |
| StorageLocation | Storage Location | |||
| Batch | I_MaterialDocumentRecord | Batch | Batch Number | |
| InventoryValuationType | Inventory Valuation Type | |||
| ConsumptionPosting | Consumption Posting | |||
| DebitCreditCode | Debit/Credit Code | |||
| GoodsMovementType | Goods Movement Type | |||
| GoodsMovementReasonCode | I_MaterialDocumentRecord | GoodsMovementReasonCode | Reason for Movement | |
| GoodsMovementRefDocType | I_MaterialDocumentRecord | GoodsMovementRefDocType | Goods Movement Reference Document Type | |
| InventoryUsabilityCode | Inventory Usability Code | |||
| InventorySpecialStockType | Inventory Special Stock Type | |||
| InventorySpecialStockValnType | Inventory Special Stock Valuation Type | |||
| SalesOrder | Sales Order | |||
| SalesOrderItem | Sales Order Item | |||
| WBSElementInternalID | WBS Element | |||
| Supplier | I_MaterialDocumentRecord | Supplier | Account Number of Supplier | |
| Customer | I_MaterialDocumentRecord | Customer | Account Number of Customer | |
| GoodsRecipientName | Goods Recipient | |||
| UnloadingPointName | Unloading Point | |||
| ReservationIsFinallyIssued | I_MaterialDocumentRecord | ReservationIsFinallyIssued | Final Issue for Reservation | |
| IsCompletelyDelivered | I_MaterialDocumentRecord | IsCompletelyDelivered | "Delivery Completed" Indicator | |
| ShelfLifeExpirationDate | I_MaterialDocumentRecord | ShelfLifeExpirationDate | Shelf Life Expiration or Best-Before Date | |
| ManufactureDate | I_MaterialDocumentRecord | ManufactureDate | Date of Manufacture | |
| StorageType | I_MaterialDocumentRecord | StorageType | Storage Type | |
| StorageBin | I_MaterialDocumentRecord | StorageBin | Storage Bin | |
| EWMWarehouse | I_MaterialDocumentRecord | EWMWarehouse | Warehouse No. | |
| EWMStorageBin | I_MaterialDocumentRecord | EWMStorageBin | Storage Bin | |
| HandlingUnitExternalID | I_MaterialDocumentRecord | HandlingUnitExternalID | External Handling Unit Identification | |
| BaseUnit | I_MaterialDocumentRecord | MaterialBaseUnit | Base Unit of Measure | |
| QuantityInBaseUnit | I_MaterialDocumentRecord | QuantityInBaseUnit | Quantity | |
| EntryUnit | I_MaterialDocumentRecord | EntryUnit | Unit of Entry | |
| QuantityInEntryUnit | Quantity in Unit of Entry | |||
| _RepetitiveMfgConfirmation | _RepetitiveMfgConfirmation | |||
| _MaterialDocumentHeader | _MaterialDocumentHeader | |||
| _MaterialDocumentYear | _MaterialDocumentYear | |||
| _MaterialDocumentItem | _MaterialDocumentItem | |||
| _DocumentDate | _DocumentDate | |||
| _PostingDate | _PostingDate | |||
| _ShelfLifeExpirationDate | _ShelfLifeExpirationDate | |||
| _ManufactureDate | _ManufactureDate | |||
| _ConfirmationPlant | I_RepetitiveMfgConfirmation | _Plant | ||
| _RepetitiveMfgScenario | I_RepetitiveMfgConfirmation | _RepetitiveMfgScenario | ||
| _ProcessingType | I_RepetitiveMfgConfirmation | _RptvMfgConfProcessingType | ||
| _ReversalType | I_RepetitiveMfgConfirmation | _RptvMfgConfRevesalType | ||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Reservation | _Reservation | |||
| _ReservationItem | _ReservationItem | |||
| _ReservationRecordType | _ReservationRecordType | |||
| _StorageLocation | _StorageLocation | |||
| _Batch | _Batch | |||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _GoodsMovementType | _GoodsMovementType | |||
| _GoodsMovementReason | _GoodsMovementReason | |||
| _GoodsMovementRefDocType | _GoodsMovementRefDocType | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _InventorySpecialStockValnType | _InventorySpecialStockValnType | |||
| _InventoryValuationType | _InventoryValuationType | |||
| _ConsumptionPosting | _ConsumptionPosting | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _InventoryUsabilityCode | _InventoryUsabilityCode | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _CustomerCompanyByPlant | _CustomerCompanyByPlant | |||
| _EWMWarehouse | _EWMWarehouse | |||
| _EWMStorageBin | _EWMStorageBin |
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_RptvMfgConfMatlDocItem.
-- 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_RptvMfgConfMatlDocItem AS
SELECT
conf.RepetitiveMfgConfirmation AS RepetitiveMfgConfirmation,
afwi.MaterialDocument AS MaterialDocument,
afwi.MaterialDocumentYear AS MaterialDocumentYear,
afwi.MaterialDocumentItem AS MaterialDocumentItem,
mseg.PostingDate AS PostingDate,
mseg.DocumentDate AS DocumentDate,
cast(mseg.CreatedByUser as ernam preserving type) AS CreatedByUser,
cast(conf.Plant as pwwrk preserving type) AS ConfirmationPlant,
conf.ReportingPointOperation AS ReportingPointOperation,
conf.RepetitiveMfgConfScenario AS RepetitiveMfgConfScenario,
conf.RptvMfgConfProcessingType AS RptvMfgConfProcessingType,
conf.RptvMfgConfReversedCode AS RptvMfgConfReversedCode,
cast(mseg.Material as co_matnr preserving type) AS Material,
mseg.Plant AS Plant,
mseg.Reservation AS Reservation,
mseg.ReservationItem AS ReservationItem,
mseg.ReservationRecordType AS ReservationRecordType,
cast(mseg.StorageLocation as pph_lgort preserving type) AS StorageLocation,
mseg.Batch AS Batch,
cast(mseg.InventoryValuationType as pph_bwtar preserving type) AS InventoryValuationType,
cast(mseg.ConsumptionPosting as pph_kzvbr preserving type) AS ConsumptionPosting,
cast(mseg.DebitCreditCode as pph_shkzg preserving type) AS DebitCreditCode,
cast(mseg.GoodsMovementType as pph_bwart preserving type) AS GoodsMovementType,
mseg.GoodsMovementReasonCode AS GoodsMovementReasonCode,
mseg.GoodsMovementRefDocType AS GoodsMovementRefDocType,
cast(mseg.InventoryUsabilityCode as inventoryusabilitycode preserving type) AS InventoryUsabilityCode,
cast(mseg.InventorySpecialStockType as pph_sobkz preserving type) AS InventorySpecialStockType,
cast(mseg.InventorySpecialStockValnType as pph_kzbws preserving type) AS InventorySpecialStockValnType,
cast(mseg.SalesOrder as co_kdauf preserving type) AS SalesOrder,
cast(mseg.SalesOrderItem as co_kdpos preserving type) AS SalesOrderItem,
cast(mseg.WBSElementInternalID as ps_s4_pspnr preserving type) AS WBSElementInternalID,
mseg.Supplier AS Supplier,
mseg.Customer AS Customer,
cast(mseg.GoodsRecipientName as pph_wempf preserving type) AS GoodsRecipientName,
cast(mseg.UnloadingPointName as ablad preserving type) AS UnloadingPointName,
mseg.ReservationIsFinallyIssued AS ReservationIsFinallyIssued,
mseg.IsCompletelyDelivered AS IsCompletelyDelivered,
mseg.ShelfLifeExpirationDate AS ShelfLifeExpirationDate,
mseg.ManufactureDate AS ManufactureDate,
mseg.StorageType AS StorageType,
mseg.StorageBin AS StorageBin,
mseg.EWMWarehouse AS EWMWarehouse,
mseg.HandlingUnitExternalID AS HandlingUnitExternalID,
mseg.MaterialBaseUnit AS BaseUnit,
mseg.QuantityInBaseUnit AS QuantityInBaseUnit,
mseg.EntryUnit AS EntryUnit,
cast(mseg.QuantityInEntryUnit as pph_erfmg preserving type) AS QuantityInEntryUnit,
afwi._MaterialDocumentYear AS _MaterialDocumentYear,
afwi._MaterialDocumentItem AS _MaterialDocumentItem,
conf._Plant AS _ConfirmationPlant,
conf._RepetitiveMfgScenario AS _RepetitiveMfgScenario,
conf._RptvMfgConfProcessingType AS _ProcessingType,
conf._RptvMfgConfRevesalType AS _ReversalType,
mseg.EWMStorageBin AS EWMStorageBin
FROM I_RepetitiveMfgConfirmation AS conf
INNER JOIN I_RptvMfgConfMatlDocItemAssgmt AS afwi ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaterialDocumentRecord AS mseg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RepetitiveMfgConfirmation AS _RepetitiveMfgConfirmation ON RepetitiveMfgConfirmation = _RepetitiveMfgConfirmation.RepetitiveMfgConfirmation -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentHeader_2 AS _MaterialDocumentHeader ON MaterialDocument = _MaterialDocumentHeader.MaterialDocument AND MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _DocumentDate ON DocumentDate = _DocumentDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _PostingDate ON PostingDate = _PostingDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _ShelfLifeExpirationDate ON ShelfLifeExpirationDate = _ShelfLifeExpirationDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _ManufactureDate ON ManufactureDate = _ManufactureDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentItem AS _ReservationItem ON Reservation = _ReservationItem.Reservation AND ReservationItem = _ReservationItem.ReservationItem AND ReservationRecordType = _ReservationItem.RecordType -- association [0..1]
LEFT OUTER JOIN I_ReservationDocRecordType AS _ReservationRecordType ON ReservationRecordType = _ReservationRecordType.RecordType -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EntryUnit ON EntryUnit = _EntryUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_GoodsMovementType AS _GoodsMovementType ON GoodsMovementType = _GoodsMovementType.GoodsMovementType -- association [1..1]
LEFT OUTER JOIN I_PhysInvtryReasonCode AS _GoodsMovementReason ON GoodsMovementType = _GoodsMovementReason.GoodsMovementType AND GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference -- association [0..1]
LEFT OUTER JOIN I_GoodsMovementRefDocType AS _GoodsMovementRefDocType ON GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType -- association [0..1]
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType -- association [0..1]
LEFT OUTER JOIN I_InvtrySpecialStockValnType AS _InventorySpecialStockValnType ON InventorySpecialStockValnType = _InventorySpecialStockValnType.InventorySpecialStockValnType -- association [0..1]
LEFT OUTER JOIN I_InventoryValuationType AS _InventoryValuationType ON InventoryValuationType = _InventoryValuationType.InventoryValuationType -- association [0..1]
LEFT OUTER JOIN I_ConsumptionPosting AS _ConsumptionPosting ON ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode -- association [0..1]
LEFT OUTER JOIN I_StockType_2 AS _InventoryUsabilityCode ON InventoryUsabilityCode = _InventoryUsabilityCode.StockType -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Material = _Batch.Material AND Plant = _Batch.Plant AND Batch = _Batch.Batch -- association [0..1]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON SalesOrder = _SalesOrderItem.SalesOrder AND SalesOrderItem = _SalesOrderItem.SalesOrderItem -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Plant = _SupplierCompanyByPlant.Plant AND Supplier = _SupplierCompanyByPlant.Supplier -- association [0..1]
LEFT OUTER JOIN I_CustomerCompanyByPlant AS _CustomerCompanyByPlant ON Plant = _CustomerCompanyByPlant.Plant AND Customer = _CustomerCompanyByPlant.Customer -- association [0..1]
LEFT OUTER JOIN I_EWM_WarehouseNumber_2 AS _EWMWarehouse ON EWMWarehouse = _EWMWarehouse.EWMWarehouse -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageBin_2 AS _EWMStorageBin ON EWMWarehouse = _EWMStorageBin.EWMWarehouse AND EWMStorageBin = _EWMStorageBin.EWMStorageBin -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentItem_2 AS _MaterialDocumentItem ON MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear AND MaterialDocument = _MaterialDocumentItem.MaterialDocument AND MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentYear AS _MaterialDocumentYear ON MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear -- association [1..1]
-- UNION ALL with additional select branch(es): I_RepetitiveMfgConfirmation
;
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