F_Mmim_Matdoc_Item
Matdoc Items
F_Mmim_Matdoc_Item is a CDS View that provides data about "Matdoc Items" in SAP S/4HANA. It reads from 1 data source (F_Mmim_Matdoc_Item_H2) and exposes 106 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. It has 27 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| F_Mmim_Matdoc_Item_H2 | F_Mmim_Matdoc_Item_H2 | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Associations (27)
| 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_Account | _Matdoc_Item_Account | $projection.MaterialDocument = _Matdoc_Item_Account.MaterialDocument and $projection.MaterialDocumentYear = _Matdoc_Item_Account.MaterialDocumentYear and ( ( $projection.MaterialDocumentItem = _Matdoc_Item_Account.MaterialDocumentItem and $projection.HasMultipleAccountAssignment = '' ) or ( $projection.HasMultipleAccountAssignment <> '' and $projection.MaterialDocumentItem = _Matdoc_Item_Account.MultiAcctAssgmtOriglMatlDocItm ) ) |
| [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' |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Material | _Ir_Material | $projection.IssuingOrReceivingMaterial = _Ir_Material.Material |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_Plant | _Ir_Plant | $projection.IssuingOrReceivingPlant = _Ir_Plant.Plant |
| [0..1] | I_StorageLocation | _Ir_StorageLocation | $projection.IssuingOrReceivingPlant = _Ir_StorageLocation.Plant and $projection.IssuingOrReceivingStorageLoc = _Ir_StorageLocation.StorageLocation |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [1..1] | F3_Mmim_ReasonCT | _F3_Mmim_ReasonCT | $projection.GoodsmovementType = _F3_Mmim_ReasonCT.GoodsMovementType and $projection.GoodsMovementReasonCode = _F3_Mmim_ReasonCT.GoodsMovementReasonCode |
| [1..1] | I_InventoryStockType | _InventoryStockType | $projection.InventoryStockType = _InventoryStockType.InventoryStockType |
| [1..1] | I_InventoryStockType | _InventoryIrStockType | $projection.IssuingOrReceivingStockType = _InventoryIrStockType.InventoryStockType |
| [0..1] | I_InventorySpecialStockType | _InventorySpecialStockType | $projection.InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType |
| [0..1] | F3_Mmim_Supplier_Vh | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | F3_Mmim_Customer_Vh | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_SupplierCompanyByPlant | _SupplierCompanyByPlant | $projection.Supplier = _SupplierCompanyByPlant.Supplier and $projection.Plant = _SupplierCompanyByPlant.Plant |
| [0..1] | I_CustomerCompanyByPlant | _CustomerCompanyByPlant | $projection.Customer = _CustomerCompanyByPlant.Customer and $projection.Plant = _CustomerCompanyByPlant.Plant |
| [0..*] | I_AcctAssignmentCategoryText | _AcctAssignmentCategoryText | $projection.AcctAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID |
| [0..*] | F_Mmm_Docflow | _F_Mmm_Docflow | $projection.MaterialDocument = _F_Mmm_Docflow.MaterialDocument and $projection.MaterialDocumentYear = _F_Mmm_Docflow.MaterialDocumentYear and $projection.MaterialDocumentItem = _F_Mmm_Docflow.MaterialDocumentItem |
| [0..1] | I_EWM_WarehouseNumber | _Warehouse | $projection.Warehouse = _Warehouse.Warehouse |
| [1] | I_ProductPlantBasic | _ProductPlantBasic | $projection.Material = _ProductPlantBasic.Product and $projection.Plant = _ProductPlantBasic.Plant |
| [0..*] | I_MatDocOvwItmSerialNumber | _SerialNo | $projection.MaterialDocument = _SerialNo.MaterialDocument and $projection.MaterialDocumentYear = _SerialNo.MaterialDocumentYear and $projection.MaterialDocumentItem = _SerialNo.MaterialDocumentItem and $projection.Material = _SerialNo.Material |
| [0..*] | I_MatlDocOvwItmSrlNmbrPInv | _SerialNoPI | $projection.MaterialDocument = _SerialNoPI.MaterialDocument and $projection.MaterialDocumentYear = _SerialNoPI.MaterialDocumentYear and $projection.MaterialDocumentItem = _SerialNoPI.MaterialDocumentItem and $projection.Material = _SerialNoPI.Material |
| [0..1] | I_ExistenceCheckOnMatlDocItem | _SerialNumExist | $projection.MaterialDocument = _SerialNumExist.MaterialDocument and $projection.MaterialDocumentYear = _SerialNumExist.MaterialDocumentYear and $projection.MaterialDocumentItem = _SerialNumExist.MaterialDocumentItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FMMIMATDOCITEM | 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 | Matdoc Items | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Material Document Item | view | |
| UI.headerInfo.typeNamePlural | Material Document Items | view | |
| UI.headerInfo.title.label | Material Document Item | view | |
| UI.headerInfo.title.value | DocumentTitle | view |
Fields (106)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | mblnr | Material Doc. | |
| KEY | MaterialDocumentYear | mjahr | Material Document Year | |
| KEY | MaterialDocumentItem | zeile | Material Document Item | |
| IsCancelled | cancelled | Reversed | ||
| DocumentTitle | ||||
| Material | source_matnr | |||
| MaterialNameendasMaterialName | ||||
| MaterialNameSearch | ||||
| PurchasingDocumentItemText | ||||
| GoodsmovementType | bwart | Goods Movement Type | ||
| GoodsmovementTypeName | ||||
| GoodsMovementReasonCode | grund | Reason for Movement | ||
| ResourceId | resourcename_sid | Resource | ||
| IssgOrRcvgResourceID | resourcename_cid | Receiving Resource | ||
| Batch | charg | Batch | ||
| Supplier | lifnr | Vendor no. | ||
| SalesOrder | kdauf | SD Document | ||
| SalesOrderItem | kdpos | Sales Order Item | ||
| Customer | kunnr | Stock customer | ||
| InventoryStockType | lbbsa_sid | Stock Type | ||
| InventoryStockTypeName | ||||
| InventorySpecialStockType | sobkz | Inventory Special Stock Type | ||
| InventorySpecialStockTypeName | ||||
| InventoryValuationType | bwtar | Valuation Type | ||
| OrderID | aufnr | SettlementOrder | ||
| WBSElementInternalID | ps_psp_pnr | WBS Element | ||
| WBSElementasps_posidendasWBSElement | ||||
| WorkItem | Work Item ID | |||
| PersonnelNumber | pernr | Personnel no. | ||
| DocumentItemText | sgtxt | Document Item Text | ||
| AcctAssignmentCategory | knttp_gr | Category | ||
| AcctAssignmentCategoryName | ||||
| ShelfLifeExpirationDate | SLED/BBD | |||
| ManufactureDate | Date of Manuf. | |||
| GoodsReceiptIsNonValuated | weunb | GR Non-Valuated | ||
| HasMultipleAccountAssignment | Multi Acct Assgt | |||
| PurchaseOrder | Source PurchDoc | |||
| PurchaseOrderItem | ebelp | Purchase Order Item | ||
| DeliveryDocument | vbeln_im | Delivery | ||
| DeliveryDocumentItem | vbelp_im | Delivery Item | ||
| IssuingOrReceivingMaterial | ummat | Receiving Mat. | ||
| IssuingOrReceivingMatName | ||||
| IssuingOrReceivingPlant | umwrk | Receiving Plant | ||
| IssuingOrReceivingStorageLoc | umlgo | Receiving Storage Location | ||
| IssgOrRcvgBatch | umcha | Receiving Batch | ||
| IssgOrRcvgValuationType | Val. Type Tfr. | |||
| IssuingOrReceivingStockType | lbbsa_cid | Receiving Stock Type | ||
| IssuingOrReceivStockTypeName | ||||
| DebitCreditCode | shkzg | Debit/Credit Indicator | ||
| EntryUnit | erfme | Unit of Entry | ||
| QuantityInEntryUnit | erfmg | Quantity | ||
| LineId | line_id | Object Key | ||
| ParentId | parent_id | UUID | ||
| NumberOfGrSlips | weanz | Number Of GR Slips | ||
| NumberOfLabels | nroflabels | Number Of Labels | ||
| GoodsMovementRefDocType | kzbew | Movement ind. | ||
| GoodsReceiptType | kzzug | Receipt Ind. | ||
| ConsumptionPosting | kzvbr | Consumption | ||
| UICT_MatDocHasNoSrlNmbrForPInv | ||||
| _F_Mmm_Docflow | _F_Mmm_Docflow | |||
| _Matdoc_Item_Account | _Matdoc_Item_Account | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _CustomerCompanyByPlant | _CustomerCompanyByPlant | |||
| _ProcessExtension | _ProcessExtension | |||
| _ProcessExtensionMatdoc | _ProcessExtensionMatdoc | |||
| _ProductPlantBasic | _ProductPlantBasic | |||
| _SerialNo | _SerialNo | |||
| _SerialNoPI | _SerialNoPI | |||
| _SerialNumExist | _SerialNumExist | |||
| _Warehouse | _Warehouse | |||
| StockSegment | StockSegment | Stock Segment | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| CrossPlantConfigurableProduct | Generic Product | |||
| ProductCharacteristic1 | ProductCharacteristic1 | Product Characteristic 1 | ||
| ProductCharacteristic2 | ProductCharacteristic2 | Product Characteristic 2 | ||
| ProductCharacteristic3 | ProductCharacteristic3 | Product Characteristic 3 | ||
| Warehouse | ewm_lgnum | Warehouse No. | ||
| WarehouseName | ||||
| WhseGoodsMovementDocument | ewm_gmdoc | Warehouse Document | ||
| ProductCharacteristic1Desc | ||||
| ProductCharacteristic2Desc | ||||
| ProductCharacteristic3Desc | ||||
| SeasonDescription | ||||
| CollectionDescription | ||||
| ThemeDescription | ||||
| CrossPlantConfProductName | ||||
| _GoodsMvtTypeBySpclStkIndT | _GoodsMvtTypeBySpclStkIndT | |||
| Plant | F_Mmim_Matdoc_Item_H2 | werks | Plant | |
| StorageLocation | F_Mmim_Matdoc_Item_H2 | lgort | Storage Location | |
| CustomerName | _Customer | CustomerName | Name of Customer | |
| CustomerBasicAuthorizationGrp | _Customer | AuthorizationGroup | AuthorizGroup | |
| GoodsMovementReasonName | _F3_Mmim_ReasonCT | GoodsMovementReasonName | ||
| GoodsMovementTypeLongName | _F_Mmim_T156t | btext_l | Mvt Type LText | |
| IssuingOrReceivingPlantName | _Ir_Plant | PlantName | Plant Name | |
| IssuingOrReceivingStLocName | _Ir_StorageLocation | StorageLocationName | Storage Loc. Name | |
| PlantName | _Plant | PlantName | Plant Name | |
| UICT_MatlDocHasNoSerialNumbers | _SerialNumExist | MatlDocHasNoSerializedMaterial | ||
| StorageLocationName | _StorageLocation | StorageLocationName | Storage Loc. Name | |
| IsStorLocAuthznCheckActive | _StorLocAuth | xblgo | Authorization | |
| IsIssgOrRcvgStorLocAuthChkActv | _StorLocAuth_Tr | xblgo | Authorization | |
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| WBSDescription | _WBSElementBasicData | WBSDescription | WBS Element Name |
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_Matdoc_Item.
-- 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: FMMIMATDOCITEM
-- Parameters: P_Language : sylangu
CREATE VIEW F_Mmim_Matdoc_Item AS
SELECT
mblnr AS MaterialDocument,
mjahr AS MaterialDocumentYear,
zeile AS MaterialDocumentItem,
cancelled AS IsCancelled,
ltrim(concat_with_space(ltrim(concat_with_space(mblnr, mjahr, 1), '0'), zeile, 1), '0' ) AS DocumentTitle,
source_matnr AS Material,
case when source_matnr = '' then _PurchasingDocumentItem.PurchasingDocumentItemText else _Material._Text[1: Language=$parameters.P_Language].MaterialName end as MaterialName AS MaterialNameendasMaterialName,
_Material._Text[1: Language=$parameters.P_Language].MaterialName AS MaterialNameSearch,
cast(_PurchasingDocumentItem.PurchasingDocumentItemText as mmim_pur_doc_item_txt) AS PurchasingDocumentItemText,
bwart AS GoodsmovementType,
_GoodsMvtTypeBySpclStkIndT[1: Language=$parameters.P_Language].GoodsMovementTypeName AS GoodsmovementTypeName,
grund AS GoodsMovementReasonCode,
resourcename_sid AS ResourceId,
resourcename_cid AS IssgOrRcvgResourceID,
charg AS Batch,
lifnr AS Supplier,
kdauf AS SalesOrder,
kdpos AS SalesOrderItem,
kunnr AS Customer,
lbbsa_sid AS InventoryStockType,
_InventoryStockType._Text[1: Language=$parameters.P_Language].InventoryStockTypeName AS InventoryStockTypeName,
sobkz AS InventorySpecialStockType,
_InventorySpecialStockType._Text[1: Language=$parameters.P_Language].InventorySpecialStockTypeName AS InventorySpecialStockTypeName,
bwtar AS InventoryValuationType,
aufnr AS OrderID,
ps_psp_pnr AS WBSElementInternalID,
case when posid <> '00000000' and xmacc <> '' then '*' else cast ( _WBSElementBasicData.WBSElement as ps_posid) end as WBSElement AS WBSElementasps_posidendasWBSElement,
cast(work_item_id as mmim_work_item) AS WorkItem,
pernr AS PersonnelNumber,
sgtxt AS DocumentItemText,
knttp_gr AS AcctAssignmentCategory,
_AcctAssignmentCategoryText[1:Language = $parameters.P_Language].AcctAssignmentCategoryName AS AcctAssignmentCategoryName,
cast(vfdat as mmim_shelf_life_exp_date) AS ShelfLifeExpirationDate,
cast(hsdat as mmim_production_date) AS ManufactureDate,
weunb AS GoodsReceiptIsNonValuated,
cast(xmacc as mmim_xmacc_3) AS HasMultipleAccountAssignment,
cast(ebeln as mmim_purg_doc) AS PurchaseOrder,
ebelp AS PurchaseOrderItem,
vbeln_im AS DeliveryDocument,
vbelp_im AS DeliveryDocumentItem,
ummat AS IssuingOrReceivingMaterial,
_Ir_Material._Text[1: Language=$parameters.P_Language].MaterialName AS IssuingOrReceivingMatName,
umwrk AS IssuingOrReceivingPlant,
umlgo AS IssuingOrReceivingStorageLoc,
umcha AS IssgOrRcvgBatch,
cast(umbar as mmim_rcv_val_type) AS IssgOrRcvgValuationType,
lbbsa_cid AS IssuingOrReceivingStockType,
_InventoryIrStockType._Text[1: Language=$parameters.P_Language].InventoryStockTypeName AS IssuingOrReceivStockTypeName,
shkzg AS DebitCreditCode,
erfme AS EntryUnit,
erfmg AS QuantityInEntryUnit,
line_id AS LineId,
parent_id AS ParentId,
weanz AS NumberOfGrSlips,
nroflabels AS NumberOfLabels,
kzbew AS GoodsMovementRefDocType,
kzzug AS GoodsReceiptType,
kzvbr AS ConsumptionPosting,
cast(_SerialNumExist.MatDocHasNoSrlNmbrForPInv as boolean preserving type ) AS UICT_MatDocHasNoSrlNmbrForPInv,
StockSegment,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
F_Mmim_Matdoc_Item_H2._Material.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
ewm_lgnum AS Warehouse,
_Warehouse._Text[1:Language = $session.system_language].WarehouseName AS WarehouseName,
ewm_gmdoc AS WhseGoodsMovementDocument,
_CharValTexts1[1: Language=$parameters.P_Language].RetailCharacteristicValueDesc AS ProductCharacteristic1Desc,
_CharValTexts2[1: Language=$parameters.P_Language].RetailCharacteristicValueDesc AS ProductCharacteristic2Desc,
_CharValTexts2[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,
_CrossPlantConfigurableProduct._Text[1: Language=$parameters.P_Language].MaterialName AS CrossPlantConfProductName,
F_Mmim_Matdoc_Item_H2.werks AS Plant,
F_Mmim_Matdoc_Item_H2.lgort AS StorageLocation,
_Customer.CustomerName AS CustomerName,
_Customer.AuthorizationGroup AS CustomerBasicAuthorizationGrp,
_F3_Mmim_ReasonCT.GoodsMovementReasonName AS GoodsMovementReasonName,
_F_Mmim_T156t.btext_l AS GoodsMovementTypeLongName,
_Ir_Plant.PlantName AS IssuingOrReceivingPlantName,
_Ir_StorageLocation.StorageLocationName AS IssuingOrReceivingStLocName,
_Plant.PlantName AS PlantName,
_SerialNumExist.MatlDocHasNoSerializedMaterial AS UICT_MatlDocHasNoSerialNumbers,
_StorageLocation.StorageLocationName AS StorageLocationName,
_StorLocAuth.xblgo AS IsStorLocAuthznCheckActive,
_StorLocAuth_Tr.xblgo AS IsIssgOrRcvgStorLocAuthChkActv,
_Supplier.SupplierName AS SupplierName,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
_WBSElementBasicData.WBSDescription AS WBSDescription
FROM F_Mmim_Matdoc_Item_H2
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_Account AS _Matdoc_Item_Account ON MaterialDocument = _Matdoc_Item_Account.MaterialDocument AND MaterialDocumentYear = _Matdoc_Item_Account.MaterialDocumentYear AND ( ( MaterialDocumentItem = _Matdoc_Item_Account.MaterialDocumentItem AND HasMultipleAccountAssignment = '' ) OR ( HasMultipleAccountAssignment <> '' AND MaterialDocumentItem = _Matdoc_Item_Account.MultiAcctAssgmtOriglMatlDocItm ) ) -- association [0..*]
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 I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Material AS _Ir_Material ON IssuingOrReceivingMaterial = _Ir_Material.Material -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Ir_Plant ON IssuingOrReceivingPlant = _Ir_Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _Ir_StorageLocation ON IssuingOrReceivingPlant = _Ir_StorageLocation.Plant AND IssuingOrReceivingStorageLoc = _Ir_StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN F3_Mmim_ReasonCT AS _F3_Mmim_ReasonCT ON GoodsmovementType = _F3_Mmim_ReasonCT.GoodsMovementType AND GoodsMovementReasonCode = _F3_Mmim_ReasonCT.GoodsMovementReasonCode -- association [1..1]
LEFT OUTER JOIN I_InventoryStockType AS _InventoryStockType ON InventoryStockType = _InventoryStockType.InventoryStockType -- association [1..1]
LEFT OUTER JOIN I_InventoryStockType AS _InventoryIrStockType ON IssuingOrReceivingStockType = _InventoryIrStockType.InventoryStockType -- association [1..1]
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType -- association [0..1]
LEFT OUTER JOIN F3_Mmim_Supplier_Vh AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN F3_Mmim_Customer_Vh AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Supplier = _SupplierCompanyByPlant.Supplier AND Plant = _SupplierCompanyByPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_CustomerCompanyByPlant AS _CustomerCompanyByPlant ON Customer = _CustomerCompanyByPlant.Customer AND Plant = _CustomerCompanyByPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_AcctAssignmentCategoryText AS _AcctAssignmentCategoryText ON AcctAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory -- association [0..*]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN F_Mmm_Docflow AS _F_Mmm_Docflow ON MaterialDocument = _F_Mmm_Docflow.MaterialDocument AND MaterialDocumentYear = _F_Mmm_Docflow.MaterialDocumentYear AND MaterialDocumentItem = _F_Mmm_Docflow.MaterialDocumentItem -- association [0..*]
LEFT OUTER JOIN I_EWM_WarehouseNumber AS _Warehouse ON Warehouse = _Warehouse.Warehouse -- association [0..1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlantBasic ON Material = _ProductPlantBasic.Product AND Plant = _ProductPlantBasic.Plant -- association [1]
LEFT OUTER JOIN I_MatDocOvwItmSerialNumber AS _SerialNo ON MaterialDocument = _SerialNo.MaterialDocument AND MaterialDocumentYear = _SerialNo.MaterialDocumentYear AND MaterialDocumentItem = _SerialNo.MaterialDocumentItem AND Material = _SerialNo.Material -- association [0..*]
LEFT OUTER JOIN I_MatlDocOvwItmSrlNmbrPInv AS _SerialNoPI ON MaterialDocument = _SerialNoPI.MaterialDocument AND MaterialDocumentYear = _SerialNoPI.MaterialDocumentYear AND MaterialDocumentItem = _SerialNoPI.MaterialDocumentItem AND Material = _SerialNoPI.Material -- association [0..*]
LEFT OUTER JOIN I_ExistenceCheckOnMatlDocItem AS _SerialNumExist ON MaterialDocument = _SerialNumExist.MaterialDocument AND MaterialDocumentYear = _SerialNumExist.MaterialDocumentYear AND MaterialDocumentItem = _SerialNumExist.MaterialDocumentItem -- 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