F_Mmim_Findmatdoc
Read Material Documents
F_Mmim_Findmatdoc is a CDS View that provides data about "Read Material Documents" in SAP S/4HANA. It reads from 1 data source (F_Mmim_Findmatdoch) and exposes 181 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem, StockChangeType, StockChangeContext. It has 21 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| F_Mmim_Findmatdoch | _Mmim_Findmatdoch | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Associations (21)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_MaterialDocumentItem | _ProcessExtension | $projection.MaterialDocument = _ProcessExtension.MaterialDocument and $projection.MaterialDocumentYear = _ProcessExtension.MaterialDocumentYear and $projection.MaterialDocumentItem = _ProcessExtension.MaterialDocumentItem and _ProcessExtension.MaterialDocumentRecordType = 'MDOC' |
| [1..1] | E_MaterialDocumentItem_2 | _ProcessExtensionMatdoc | $projection.MaterialDocument = _ProcessExtensionMatdoc.MaterialDocument and $projection.MaterialDocumentYear = _ProcessExtensionMatdoc.MaterialDocumentYear and $projection.MaterialDocumentItem = _ProcessExtensionMatdoc.MaterialDocumentItem and _ProcessExtensionMatdoc.MaterialDocumentRecordType = 'MDOC' |
| [0..*] | F_Mmim_Matdoc_Item | _Mdoc_Item | $projection.MaterialDocument = _Mdoc_Item.MaterialDocument and $projection.MaterialDocumentYear = _Mdoc_Item.MaterialDocumentYear |
| [0..1] | F_Mmim_Mdoc_Revstat | _Reversed_Status | $projection.MaterialDocument = _Reversed_Status.MaterialDocument and $projection.MaterialDocumentYear = _Reversed_Status.MaterialDocumentYear |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [1..1] | I_ProductPlant | _ProductPlant | $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1..1] | I_ProductPlant | _ProductIsRecPlant | $projection.Material = _ProductIsRecPlant.Product and $projection.IssuingOrReceivingPlant = _ProductIsRecPlant.Plant |
| [1..1] | I_Batch | _Batch | $projection.Material = _Batch.Material and $projection.Plant = _Batch.Plant and $projection.Batch = _Batch.Batch |
| [1..1] | F_Mmim_Matgrp_Vh2 | _F_Mmim_Matgrp_Vh2 | $projection.MaterialGroup = _F_Mmim_Matgrp_Vh2.MaterialGroup |
| [1..1] | F_Mmim_Mattyp_Vh2 | _F_Mmim_Mattyp_Vh2 | $projection.MaterialType = _F_Mmim_Mattyp_Vh2.MaterialType |
| [0..1] | F_Mmim_T001l_Auth | _StorLocAuth | $projection.Plant = _StorLocAuth.werks and $projection.StorageLocation = _StorLocAuth.lgort and _StorLocAuth.xblgo = 'X' |
| [0..1] | F_Mmim_T001l_Auth | _StorLocAuth_Tr | $projection.IssuingOrReceivingPlant = _StorLocAuth_Tr.werks and $projection.IssuingOrReceivingStorageLoc = _StorLocAuth_Tr.lgort and _StorLocAuth_Tr.xblgo = 'X' |
| [0..1] | C_MatlDocOvwStockSegmentVH | _StockSeg_Vh2 | $projection.StockSegment = _StockSeg_Vh2.StockSegment |
| [0..1] | C_MatlDocOvwSeasonVH | _Season_Vh2 | $projection.ProductSeasonYear = _Season_Vh2.ProductSeasonYear and $projection.ProductSeason = _Season_Vh2.ProductSeason and $projection.ProductCollection = _Season_Vh2.ProductCollection and $projection.ProductTheme = _Season_Vh2.ProductTheme |
| [0..1] | C_MatlDocOvwCharValueVH | _CharValue_VH | $projection.ProductCharacteristic1 = _CharValue_VH.ProductCharacteristic1 and $projection.ProductCharacteristic2 = _CharValue_VH.ProductCharacteristic2 and $projection.ProductCharacteristic3 = _CharValue_VH.ProductCharacteristic3 |
| [0..1] | C_MatlDocOvwGenericProdVH | _CrossPlantConfProd_VH | $projection.CrossPlantConfigurableProduct = _CrossPlantConfProd_VH.CrossPlantConfigurableProduct |
| [0..1] | I_EWM_WarehouseNumber | _WarehouseVH | $projection.Warehouse = _WarehouseVH.Warehouse |
| [0..*] | I_MaterialDocumentOvwSerialNo | _SerialNo | $projection.MaterialDocument = _SerialNo.MaterialDocument and $projection.MaterialDocumentYear = _SerialNo.MaterialDocumentYear |
| [0..*] | I_MatlDocOvwSrlNmbrPhysInvtry | _SerialNoPI | $projection.MaterialDocument = _SerialNoPI.MaterialDocument and $projection.MaterialDocumentYear = _SerialNoPI.MaterialDocumentYear |
| [0..1] | I_ExistenceCheckOnMaterialDoc | _ExistenceCheckOnMaterialDoc | $projection.MaterialDocument = _ExistenceCheckOnMaterialDoc.MaterialDocument and $projection.MaterialDocumentYear = _ExistenceCheckOnMaterialDoc.MaterialDocumentYear |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | FMMIMFINDMATDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Read Material Documents | view | |
| Consumption.semanticObject | MaterialMovement | view | |
| UI.headerInfo.typeName | Material Document | view | |
| UI.headerInfo.typeNamePlural | Material Documents | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | MaterialDocument | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | MaterialDocumentYear | view |
Fields (181)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | MaterialDocument | Material Doc. | |
| KEY | MaterialDocumentYear | MaterialDocumentYear | Material Document Year | |
| KEY | MaterialDocumentItem | MaterialDocumentItem | Material Document Item | |
| KEY | StockChangeType | StockChangeType | Stock Change | |
| KEY | StockChangeContext | StockChangeContext | Stock Change Level | |
| StockChangeSelectionType | StockChangeSelectionType | |||
| CalculatedStockChangeType | CalculatedStockChangeType | |||
| IsCancelled | IsCancelled | Reversed | ||
| DocumentTitle | DocumentTitle | Title | ||
| CalculatedStockChangeTypeName | Stock Change (List) | |||
| Material | Material | Material | ||
| MaterialNameendasMaterialName | ||||
| PurchasingDocumentItemText | ||||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialGroupName | ||||
| MaterialType | MaterialType | Material Type | ||
| MaterialTypeName | ||||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| Batch | Batch | Batch | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| IsAutoCreatedTransPost | IsAutomaticallyCreated | Is Automatically Created | ||
| IsAutomaticallyCreated | Is Automatically Created | |||
| MatlDocLineItmAutoCrtedIdfrTxt | _I_AutoCrtedIdfrVH | MatlDocLineItmAutoCrtedIdfrTxt | ||
| StorageLocationName | _StorageLocation | StorageLocationName | Storage Loc. Name | |
| Supplier | Supplier | Supplier | ||
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSDescription | _WBSElement | WBSDescription | WBS Element Name | |
| Customer | Customer | Sold-to Party | ||
| CustomerName | _Customer | CustomerName | Name of Customer | |
| InventoryStockType | InventoryStockType | Stock Type | ||
| InventoryStockTypeName | ||||
| InventorySpecialStockType | InventorySpecialStockType | Inventory Special Stock Type | ||
| InventorySpecialStockTypeName | ||||
| GoodsMovementType | GoodsMovementType | Goods Movement Type | ||
| GoodsMovementRefDocType | GoodsMovementRefDocType | Reference Doc. Type | ||
| GoodsReceiptType | GoodsReceiptType | Receipt Ind. | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| GoodsMovementTypeName | ||||
| GoodsMovementReasonCode | GoodsMovementReasonCode | Reason for Movement | ||
| GoodsMovementReasonName | _F3_Mmim_ReasonCT | GoodsMovementReasonName | ||
| WorkItem | WorkItem | Work Item ID | ||
| PersonnelNumber | PersonnelNumber | Personnel No. | ||
| DocumentItemText | DocumentItemText | Document Item Text | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDate | F_Mmim_Findmatdoch | CreationDate | Time Stamp | |
| CreationTime | F_Mmim_Findmatdoch | CreationTime | Time of Change | |
| clientNULLastimestampasCreationDateTime | Created On | |||
| ResourceId | ResourceId | Resource | ||
| IssgOrRcvgResourceID | IssgOrRcvgResourceID | Resource (Transfer) | ||
| CreatedByUser | CreatedByUser | Created By | ||
| CreatedByUserDescription | _CreatedByUser | UserDescription | Full Name | |
| AccountingDocumentType | AccountingDocumentType | Document Type | ||
| AccountingDocumentTypeName | _F_Mmim_Blart | AccountingDocumentTypeName | ||
| InventoryTransactionType | InventoryTransactionType | Inventory Transaction Type | ||
| InventoryTransactionTypeText | ||||
| DocumentReferenceId | DocumentReferenceId | Delivery Note | ||
| BillOfLading | BillOfLading | Bill of Lading | ||
| MaterialDocumentHeaderText | MaterialDocumentHeaderText | Note | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchase Order Item | ||
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| DeliveryDocumentItem | DeliveryDocumentItem | Delivery Item | ||
| OrderID | OrderID | Order ID | ||
| IssuingOrReceivingMaterial | IssuingOrReceivingMaterial | Material (Transfer) | ||
| IssuingOrReceivingMaterialName | ||||
| IssuingOrReceivingPlant | IssuingOrReceivingPlant | Plant (Transfer) | ||
| IssuingOrReceivingPlantName | _Ir_Plant | PlantName | Plant Name | |
| IssuingOrReceivingStorageLoc | IssuingOrReceivingStorageLoc | Storage Location (Transfer) | ||
| IssuingOrReceivingStLocName | _Ir_StorageLocation | StorageLocationName | Storage Loc. Name | |
| IssuingOrReceivingStockType | IssuingOrReceivingStockType | Stock Type (Transfer) | ||
| IssuingOrReceivStockTypeName | ||||
| DebitCreditCode | DebitCreditCode | Debit/Credit Indicator | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| QuantityInEntryUnit | QuantityInEntryUnit | Quantity | ||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | GR Non-Valuated | ||
| HasMultipleAccountAssignment | ||||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterName | ||||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAssetDescription | _FixedAsset | FixedAssetDescription | Description | |
| GLAccount | GLAccount | General Ledger | ||
| WhseGoodsMovementDocument | WhseGoodsMovementDocument | Warehouse Document | ||
| Warehouse | Warehouse | Warehouse No. | ||
| WarehouseName | ||||
| GLAccountLongName | ||||
| IsStorLocAuthznCheckActive | _StorLocAuth | xblgo | Authorization | |
| IsIssgOrRcvgStorLocAuthChkActv | _StorLocAuth_Tr | xblgo | Authorization | |
| UICT_MatlDocHasNoSerialNumbers | _ExistenceCheckOnMaterialDoc | MatlDocHasNoSerializedMaterial | ||
| UICT_MatDocHasNoSrlNmbrForPInv | ||||
| _Mdoc_Item | _Mdoc_Item | |||
| _StorLocAuth | _StorLocAuth | |||
| _StorLocAuth_Tr | _StorLocAuth_Tr | |||
| _Reversed_Status | _Reversed_Status | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _ProductIsRecPlant | _ProductIsRecPlant | |||
| _Batch | _Batch | |||
| _Plant | _Plant | |||
| _Ir_Plant | _Ir_Plant | |||
| _Ir_StorageLocation | _Ir_StorageLocation | |||
| _StorageLocation | _StorageLocation | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _InventoryStockType | _InventoryStockType | |||
| _InventoryTransactionTypeT | _InventoryTransactionTypeT | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _F_Mmim_Blart | _F_Mmim_Blart | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _F_Mmim_Plant_Vh2 | _F_Mmim_Plant_Vh2 | |||
| _F_Mmim_Po_Vh | _F_Mmim_Po_Vh | |||
| _F_Mmim_Sorder_Vh | _F_Mmim_Sorder_Vh | |||
| _F_Mmim_Stocktype_Vh2 | _F_Mmim_Stocktype_Vh2 | |||
| _F_Mmim_Storloc_Vh | _F_Mmim_Storloc_Vh | |||
| _F_Mmim_Supplier_Vh | _F_Mmim_Supplier_Vh | |||
| _F_Mmim_Uom_Vh2 | _F_Mmim_Uom_Vh2 | |||
| _F_Mmim_User_Vh | _F_Mmim_User_Vh | |||
| _F_Mmim_Wbselement_Vh | _F_Mmim_Wbselement_Vh | |||
| _F_Mmim_Pers_Vh | _F_Mmim_Pers_Vh | |||
| _F_Mmim_Matdoc_Nr_Vh2 | _F_Mmim_Matdoc_Nr_Vh2 | |||
| _F_Mmim_Matdoc_Year_Vh | _F_Mmim_Matdoc_Year_Vh | |||
| _F_Mmim_Ir_Storloc_Vh | _F_Mmim_Ir_Storloc_Vh | |||
| _F_Mmim_Ir_Plant_Vh2 | _F_Mmim_Ir_Plant_Vh2 | |||
| _F_Mmim_Matgrp_Vh2 | _F_Mmim_Matgrp_Vh2 | |||
| _F_Mmim_Mattyp_Vh2 | _F_Mmim_Mattyp_Vh2 | |||
| _F_Mmim_Matprodhy_Vh2 | _F_Mmim_Matprodhy_Vh2 | |||
| _F_Mmim_Matdesc_Vh2 | _F_Mmim_Matdesc_Vh2 | |||
| _F_Mmim_Matpldesc_Vh2 | _F_Mmim_Matpldesc_Vh2 | |||
| _F_Mmim_Gmtype_Vh2 | _F_Mmim_Gmtype_Vh2 | |||
| _F_Mmim_Blart_Vh | _F_Mmim_Blart_Vh | |||
| _F_Mmim_Sobkz_Vh | _F_Mmim_Sobkz_Vh | |||
| _F_Mmim_Customer_Vh | _F_Mmim_Customer_Vh | |||
| _F_Mmim_Delivery_Vh | _F_Mmim_Delivery_Vh | |||
| _F_Mmim_Batchmat_Vh | _F_Mmim_Batchmat_Vh | |||
| _F_Mmim_Ir_Stocktyp_Vh2 | _F_Mmim_Ir_Stocktyp_Vh2 | |||
| _F_Mmim_Workitem_Vh | _F_Mmim_Workitem_Vh | |||
| _F_Mmim_I_Material_Vh | _F_Mmim_I_Material_Vh | |||
| _MatlDocLogisticsOrdItmVH | _MatlDocLogisticsOrdItmVH | |||
| _F_Mmim_Chgtype | _F_Mmim_Chgtype | |||
| _F_Mmim_ChgCon | _F_Mmim_ChgCon | |||
| _F3_Mmim_ReasonCT | _F3_Mmim_ReasonCT | |||
| _F_Mmim_Reasonc_Vh | _F_Mmim_Reasonc_Vh | |||
| _InventoryIrStockType | _InventoryIrStockType | |||
| _F_Mmim_CalcChTypT | _F_Mmim_CalcChTypT | |||
| _F_Mmim_CalcSelTypT | _F_Mmim_CalcSelTypT | |||
| _MatlDocGLAccountVH | _MatlDocGLAccountVH | |||
| _MatlDocFixedAssetVH | _MatlDocFixedAssetVH | |||
| _ProcessExtension | _ProcessExtension | |||
| _ProcessExtensionMatdoc | _ProcessExtensionMatdoc | |||
| _WarehouseVH | _WarehouseVH | |||
| _SerialNo | _SerialNo | |||
| _SerialNoPI | _SerialNoPI | |||
| _ExistenceCheckOnMaterialDoc | _ExistenceCheckOnMaterialDoc | |||
| StockSegment | StockSegment | Stock Segment | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| CrossPlantConfigurableProduct | _Material | CrossPlantConfigurableProduct | Generic Product | |
| ProductCharacteristic1 | ProductCharacteristic1 | Product Characteristic 1 | ||
| ProductCharacteristic2 | ProductCharacteristic2 | Product Characteristic 2 | ||
| ProductCharacteristic3 | ProductCharacteristic3 | Product Characteristic 3 | ||
| MaterialText | ||||
| ProductCharacteristic1Desc | ||||
| ProductCharacteristic2Desc | ||||
| ProductCharacteristic3Desc | ||||
| SeasonDescription | ||||
| CollectionDescription | ||||
| ThemeDescription | ||||
| _StockSeg_Vh2 | _StockSeg_Vh2 | |||
| _Season_Vh2 | _Season_Vh2 | |||
| _CharValue_VH | _CharValue_VH | |||
| _CrossPlantConfProd_VH | _CrossPlantConfProd_VH | |||
| _GoodsMvtTypeBySpclStkIndT | _GoodsMvtTypeBySpclStkIndT |
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 F_Mmim_Findmatdoc.
-- 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.
-- SQL view name: FMMIMFINDMATDOC
-- Parameters: P_Language : sylangu
CREATE VIEW F_Mmim_Findmatdoc AS
SELECT
MaterialDocument,
MaterialDocumentYear,
MaterialDocumentItem,
StockChangeType,
StockChangeContext,
StockChangeSelectionType,
CalculatedStockChangeType,
IsCancelled,
DocumentTitle,
cast(CalculatedStockChangeTypeName as mmim_stock_change_seltypename) AS CalculatedStockChangeTypeName,
Material,
case when Material = '' then _PurchasingDocumentItem.PurchasingDocumentItemText else _Material._Text[1: Language=$parameters.P_Language].MaterialName end as MaterialName AS MaterialNameendasMaterialName,
cast(_PurchasingDocumentItem.PurchasingDocumentItemText as mmim_pur_doc_item_txt) AS PurchasingDocumentItemText,
MaterialGroup,
_MaterialGroup._Text[1: Language=$parameters.P_Language].MaterialGroupName AS MaterialGroupName,
MaterialType,
_MaterialType._Text[1: Language=$parameters.P_Language].MaterialTypeName AS MaterialTypeName,
Plant,
_Plant.PlantName AS PlantName,
Batch,
StorageLocation,
IsAutomaticallyCreated AS IsAutoCreatedTransPost,
cast(IsAutomaticallyCreated as mmmim_auto_created_ind) AS IsAutomaticallyCreated,
_I_AutoCrtedIdfrVH.MatlDocLineItmAutoCrtedIdfrTxt AS MatlDocLineItmAutoCrtedIdfrTxt,
_StorageLocation.StorageLocationName AS StorageLocationName,
Supplier,
_Supplier.SupplierName AS SupplierName,
SalesOrder,
SalesOrderItem,
WBSElement,
WBSElementInternalID,
_WBSElement.WBSDescription AS WBSDescription,
Customer,
_Customer.CustomerName AS CustomerName,
InventoryStockType,
_InventoryStockType._Text[1: Language=$parameters.P_Language].InventoryStockTypeName AS InventoryStockTypeName,
InventorySpecialStockType,
_InventorySpecialStockType._Text[1: Language=$parameters.P_Language].InventorySpecialStockTypeName AS InventorySpecialStockTypeName,
GoodsMovementType,
GoodsMovementRefDocType,
GoodsReceiptType,
ConsumptionPosting,
_GoodsMvtTypeBySpclStkIndT[1: Language=$parameters.P_Language].GoodsMovementTypeName AS GoodsMovementTypeName,
GoodsMovementReasonCode,
_F3_Mmim_ReasonCT.GoodsMovementReasonName AS GoodsMovementReasonName,
WorkItem,
PersonnelNumber,
DocumentItemText,
DocumentDate,
PostingDate,
_Mmim_Findmatdoch.CreationDate AS CreationDate,
_Mmim_Findmatdoch.CreationTime AS CreationTime,
cast(dats_tims_to_tstmp(CreationDate, CreationTime, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as timestamp) as CreationDateTime AS clientNULLastimestampasCreationDateTime,
ResourceId,
IssgOrRcvgResourceID,
CreatedByUser,
_CreatedByUser.UserDescription AS CreatedByUserDescription,
AccountingDocumentType,
_F_Mmim_Blart.AccountingDocumentTypeName AS AccountingDocumentTypeName,
InventoryTransactionType,
_InventoryTransactionTypeT[1: Language=$parameters.P_Language].InventoryTransactionTypeText AS InventoryTransactionTypeText,
DocumentReferenceId,
BillOfLading,
MaterialDocumentHeaderText,
PurchaseOrder,
PurchaseOrderItem,
DeliveryDocument,
DeliveryDocumentItem,
OrderID,
IssuingOrReceivingMaterial,
_Ir_Material._Text[1: Language=$parameters.P_Language].MaterialName AS IssuingOrReceivingMaterialName,
IssuingOrReceivingPlant,
_Ir_Plant.PlantName AS IssuingOrReceivingPlantName,
IssuingOrReceivingStorageLoc,
_Ir_StorageLocation.StorageLocationName AS IssuingOrReceivingStLocName,
IssuingOrReceivingStockType,
_InventoryIrStockType._Text[1: Language=$parameters.P_Language].InventoryStockTypeName AS IssuingOrReceivStockTypeName,
DebitCreditCode,
EntryUnit,
QuantityInEntryUnit,
MaterialBaseUnit,
GoodsReceiptIsNonValuated,
cast(HasMultipleAccountAssignment as mmim_xmacc_3) AS HasMultipleAccountAssignment,
CostCenter,
_CostCenter._Text[1:Language = $parameters.P_Language].CostCenterName AS CostCenterName,
MasterFixedAsset,
_FixedAsset.FixedAssetDescription AS FixedAssetDescription,
GLAccount,
WhseGoodsMovementDocument,
Warehouse,
_WarehouseVH._Text[1:Language = $session.system_language].WarehouseName AS WarehouseName,
_GLAccount[1:ChartOfAccounts = ChartOfAccounts]._Text[1:Language = $session.system_language].GLAccountLongName AS GLAccountLongName,
_StorLocAuth.xblgo AS IsStorLocAuthznCheckActive,
_StorLocAuth_Tr.xblgo AS IsIssgOrRcvgStorLocAuthChkActv,
_ExistenceCheckOnMaterialDoc.MatlDocHasNoSerializedMaterial AS UICT_MatlDocHasNoSerialNumbers,
cast( _ExistenceCheckOnMaterialDoc.MatDocHasNoSrlNmbrForPInv as boolean preserving type ) AS UICT_MatDocHasNoSrlNmbrForPInv,
StockSegment,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
_Material.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
_CrossPlantConfigurableProduct._Text[1: Language=$session.system_language].MaterialName AS MaterialText,
_CharValTexts1[1: Language=$parameters.P_Language].RetailCharacteristicValueDesc AS ProductCharacteristic1Desc,
_CharValTexts2[1: Language=$parameters.P_Language].RetailCharacteristicValueDesc AS ProductCharacteristic2Desc,
_CharValTexts3[1: Language=$parameters.P_Language].RetailCharacteristicValueDesc AS ProductCharacteristic3Desc,
_Season._SeasonText[1: Language=$parameters.P_Language].ProductSeasonText AS SeasonDescription,
_Collection._SeasonText[1: Language=$parameters.P_Language].ProductSeasonText AS CollectionDescription,
_Theme._SeasonText[1: Language=$parameters.P_Language].ProductSeasonText AS ThemeDescription
FROM F_Mmim_Findmatdoch AS _Mmim_Findmatdoch
LEFT OUTER JOIN E_MaterialDocumentItem AS _ProcessExtension ON MaterialDocument = _ProcessExtension.MaterialDocument AND MaterialDocumentYear = _ProcessExtension.MaterialDocumentYear AND MaterialDocumentItem = _ProcessExtension.MaterialDocumentItem AND _ProcessExtension.MaterialDocumentRecordType = 'MDOC' -- association [1..1]
LEFT OUTER JOIN E_MaterialDocumentItem_2 AS _ProcessExtensionMatdoc ON MaterialDocument = _ProcessExtensionMatdoc.MaterialDocument AND MaterialDocumentYear = _ProcessExtensionMatdoc.MaterialDocumentYear AND MaterialDocumentItem = _ProcessExtensionMatdoc.MaterialDocumentItem AND _ProcessExtensionMatdoc.MaterialDocumentRecordType = 'MDOC' -- association [1..1]
LEFT OUTER JOIN F_Mmim_Matdoc_Item AS _Mdoc_Item ON MaterialDocument = _Mdoc_Item.MaterialDocument AND MaterialDocumentYear = _Mdoc_Item.MaterialDocumentYear -- association [0..*]
LEFT OUTER JOIN F_Mmim_Mdoc_Revstat AS _Reversed_Status ON MaterialDocument = _Reversed_Status.MaterialDocument AND MaterialDocumentYear = _Reversed_Status.MaterialDocumentYear -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Material = _ProductPlant.Product AND Plant = _ProductPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductIsRecPlant ON Material = _ProductIsRecPlant.Product AND IssuingOrReceivingPlant = _ProductIsRecPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Material = _Batch.Material AND Plant = _Batch.Plant AND Batch = _Batch.Batch -- association [1..1]
LEFT OUTER JOIN F_Mmim_Matgrp_Vh2 AS _F_Mmim_Matgrp_Vh2 ON MaterialGroup = _F_Mmim_Matgrp_Vh2.MaterialGroup -- association [1..1]
LEFT OUTER JOIN F_Mmim_Mattyp_Vh2 AS _F_Mmim_Mattyp_Vh2 ON MaterialType = _F_Mmim_Mattyp_Vh2.MaterialType -- association [1..1]
LEFT OUTER JOIN F_Mmim_T001l_Auth AS _StorLocAuth ON Plant = _StorLocAuth.werks AND StorageLocation = _StorLocAuth.lgort AND _StorLocAuth.xblgo = 'X' -- association [0..1]
LEFT OUTER JOIN F_Mmim_T001l_Auth AS _StorLocAuth_Tr ON IssuingOrReceivingPlant = _StorLocAuth_Tr.werks AND IssuingOrReceivingStorageLoc = _StorLocAuth_Tr.lgort AND _StorLocAuth_Tr.xblgo = 'X' -- association [0..1]
LEFT OUTER JOIN C_MatlDocOvwStockSegmentVH AS _StockSeg_Vh2 ON StockSegment = _StockSeg_Vh2.StockSegment -- association [0..1]
LEFT OUTER JOIN C_MatlDocOvwSeasonVH AS _Season_Vh2 ON ProductSeasonYear = _Season_Vh2.ProductSeasonYear AND ProductSeason = _Season_Vh2.ProductSeason AND ProductCollection = _Season_Vh2.ProductCollection AND ProductTheme = _Season_Vh2.ProductTheme -- association [0..1]
LEFT OUTER JOIN C_MatlDocOvwCharValueVH AS _CharValue_VH ON ProductCharacteristic1 = _CharValue_VH.ProductCharacteristic1 AND ProductCharacteristic2 = _CharValue_VH.ProductCharacteristic2 AND ProductCharacteristic3 = _CharValue_VH.ProductCharacteristic3 -- association [0..1]
LEFT OUTER JOIN C_MatlDocOvwGenericProdVH AS _CrossPlantConfProd_VH ON CrossPlantConfigurableProduct = _CrossPlantConfProd_VH.CrossPlantConfigurableProduct -- association [0..1]
LEFT OUTER JOIN I_EWM_WarehouseNumber AS _WarehouseVH ON Warehouse = _WarehouseVH.Warehouse -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentOvwSerialNo AS _SerialNo ON MaterialDocument = _SerialNo.MaterialDocument AND MaterialDocumentYear = _SerialNo.MaterialDocumentYear -- association [0..*]
LEFT OUTER JOIN I_MatlDocOvwSrlNmbrPhysInvtry AS _SerialNoPI ON MaterialDocument = _SerialNoPI.MaterialDocument AND MaterialDocumentYear = _SerialNoPI.MaterialDocumentYear -- association [0..*]
LEFT OUTER JOIN I_ExistenceCheckOnMaterialDoc AS _ExistenceCheckOnMaterialDoc ON MaterialDocument = _ExistenceCheckOnMaterialDoc.MaterialDocument AND MaterialDocumentYear = _ExistenceCheckOnMaterialDoc.MaterialDocumentYear -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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