C_MaterialOverdueSIT
Consumption view for Stock Overdues
C_MaterialOverdueSIT is a Consumption CDS View that provides data about "Consumption view for Stock Overdues" in SAP S/4HANA. It reads from 1 data source (I_MatlOvrdStInTrPredictedDte) and exposes 128 fields with key fields PurchaseOrder, PurchaseOrderItem, GoodsIssueMaterialDocument, GoodsIssueMaterialDocumentItem, GoodsIssueMaterialDocumentYear. It has 7 associations to related views. Part of development package ODATA_MM_IM_OVERDUE_GRBLOCKED.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlOvrdStInTrPredictedDte | I_MatlOvrdStInTrPredictedDte | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InventoryMRPControllerVH | _ReceivingPlantMRPResponsible | $projection.ReceivingPlant = _ReceivingPlantMRPResponsible.Plant and $projection.ReceivingPlantMRPResponsible = _ReceivingPlantMRPResponsible.MRPController |
| [1..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [1..1] | I_ProductPlant | _ProductPlant | $projection.Material = _ProductPlant.Product and $projection.ReceivingPlant = _ProductPlant.Plant |
| [1..1] | I_ProductPlant | _ProductIssuingPlant | $projection.Material = _ProductIssuingPlant.Product and $projection.IssuingPlant = _ProductIssuingPlant.Plant |
| [1..1] | I_Batch | _Batch | $projection.Material = _Batch.Material and $projection.ReceivingPlant = _Batch.Plant and $projection.ReceivingBatch = _Batch.Batch |
| [1..1] | I_GdsRecGdsIssdTotQtyForPO | _TotalQuantities | $projection.PurchaseOrder = _TotalQuantities.PurchaseOrder and $projection.PurchaseOrderItem = _TotalQuantities.PurchaseOrderItem |
| [1..1] | I_MaterialPlant | _MaterialPlant | $projection.Material = _MaterialPlant.Material and $projection.ReceivingPlant = _MaterialPlant.Plant |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Consumption view for Stock Overdues | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | false | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Line Item | view | |
| UI.headerInfo.typeNamePlural | Line Items | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | PurchaseOrder | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (128)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| KEY | GoodsIssueMaterialDocument | GoodsIssueMaterialDocument | ||
| KEY | GoodsIssueMaterialDocumentItem | GoodsIssueMaterialDocumentItem | ||
| KEY | GoodsIssueMaterialDocumentYear | GoodsIssueMaterialDocumentYear | ||
| KEY | GoodsReceiptMaterialDocument | GoodsReceiptMaterialDocument | ||
| KEY | GoodsReceiptMaterialDocItem | GoodsReceiptMaterialDocItem | ||
| KEY | GoodsReceiptMaterialDocYear | GoodsReceiptMaterialDocYear | ||
| KEY | OverdueSITDocSelectionType | OverdueSITDocSelectionType | ||
| MatlOverdueSitSitnAnchrID | MatlOverdueSitSitnAnchrID | |||
| SitnNumberOfInstances | ||||
| PurchaseOrderItemCnctntdID | PurchaseOrderItemCnctntdID | |||
| PurchaseOrderItemQuantity | PurchaseOrderItemQuantity | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurchasingDocumentTypeName | ||||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentCategoryName | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserDescription | ||||
| CreationDate | CreationDate | Time Stamp | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| PurDocDeletionCodeName | ||||
| SupplyingStorageLocation | SupplyingStorageLocation | Location | ||
| IssuingCompanyCode | IssuingCompanyCode | |||
| IssuingPlant | IssuingPlant | |||
| IssuingPlantName | IssuingPlantName | |||
| GoodsIssueQtyInOrderUnit | GoodsIssueQtyInOrderUnit | |||
| GoodsIssueQuantity | GoodsIssueQuantity | |||
| Material | Material | Vehicle Model | ||
| MaterialName | MaterialName | Material Description | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| CompletelyDeliveredExLmt | CompletelyDeliveredExLmt | |||
| GoodsIssueMovementType | GoodsIssueMovementType | |||
| GoodsIssuePostingDate | GoodsIssuePostingDate | |||
| GICreatedByUser | GICreatedByUser | |||
| GICreatedByUserDescription | ||||
| GoodsReceiptMovementType | GoodsReceiptMovementType | |||
| GoodsReceiptPostingDate | GoodsReceiptPostingDate | |||
| GRCreatedByUser | GRCreatedByUser | |||
| GRCreatedByUserDescription | ||||
| ReceivingCompanyCode | ReceivingCompanyCode | Rcvg Co Code | ||
| ReceivingPlant | ReceivingPlant | Receiving Plant | ||
| ReceivingPlantName | ReceivingPlantName | |||
| GoodsReceiptQtyInOrderUnit | GoodsReceiptQtyInOrderUnit | |||
| GoodsReceiptQuantity | GoodsReceiptQuantity | Delivered | ||
| ReceivingStorageLocation | ReceivingStorageLocation | RecStorLoc | ||
| ReceivingBatch | ReceivingBatch | Lot No. | ||
| IssuingStorageLocation | IssuingStorageLocation | Iss. Stor. Loc. | ||
| IssuingBatch | IssuingBatch | |||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| DaysInTransit | DaysInTransit | |||
| NumbersOfDaysSincePurOrdPostg | NumbersOfDaysSincePurOrdPostg | |||
| DifferenceOfGRAndGIDate | DifferenceOfGRAndGIDate | |||
| DurationBetweenPOAndGI | DurationBetweenPOAndGI | |||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| StockInTransitProcessType | StockInTransitProcessType | |||
| StockInTransitProcessTypeName | ||||
| GoodsReceiptIsCanceled | GoodsReceiptIsCanceled | |||
| GoodsIssueIsCanceled | GoodsIssueIsCanceled | |||
| PredictedDaysOfDelivDeviation | PredictedDaysOfDelivDeviation | |||
| StartOfStockTransportOrder | StartOfStockTransportOrder | |||
| PredictedDelivDte | PredictedDelivDte | |||
| PredictedDelDaysRltnPOPostDate | PredictedDelDaysRltnPOPostDate | |||
| PlannedDelDaysRltnPOPostDate | PlannedDelDaysRltnPOPostDate | |||
| RealOrExpectedMaterialPostgDte | RealOrExpectedMaterialPostgDte | |||
| ShippingDaysSincePOPostingDate | ShippingDaysSincePOPostingDate | |||
| StkInTransitDelivDteCritlty | StkInTransitDelivDteCritlty | |||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Delivery Date | ||
| GoodsIssueForDeliveryDoc | GoodsIssueForDeliveryDoc | |||
| GoodsIssueForInboundDelivDoc | GoodsIssueForInboundDelivDoc | |||
| GoodsIssueForDeliveryDocItem | GoodsIssueForDeliveryDocItem | |||
| GoodsIssueDelivDocItmCrtnDte | GoodsIssueDelivDocItmCrtnDte | |||
| GoodsIssueDelivDocItmQty | GoodsIssueDelivDocItmQty | |||
| GoodsIssueDelivDocItmBatch | GoodsIssueDelivDocItmBatch | |||
| GoodsIssueDelivDocType | GoodsIssueDelivDocType | |||
| GoodsIssueDelivDocItmStatus | GoodsIssueDelivDocItmStatus | |||
| GoodsReceiptForDeliveryDoc | GoodsReceiptForDeliveryDoc | |||
| GoodsReceiptForOutbDelivDoc | GoodsReceiptForOutbDelivDoc | |||
| GoodsReceiptForDeliveryDocItem | GoodsReceiptForDeliveryDocItem | |||
| GoodsReceiptDelivDocItmCrtnDte | GoodsReceiptDelivDocItmCrtnDte | |||
| GoodsReceiptDelivDocItmQty | GoodsReceiptDelivDocItmQty | |||
| GoodsReceiptDelivDocItmBatch | GoodsReceiptDelivDocItmBatch | |||
| GoodsReceiptDelivDocType | GoodsReceiptDelivDocType | |||
| GoodsReceiptDelivDocItmStatus | GoodsReceiptDelivDocItmStatus | |||
| ReceivingPlantMRPResponsible | ||||
| TotalGoodsIssuedForPOQty | _TotalQuantities | TotalGoodsIssuedForPOQty | ||
| TotalGoodsReceiptForPOQty | _TotalQuantities | TotalGoodsReceiptForPOQty | ||
| TotalGoodsIssuedQtyExLmt | _TotalQuantities | TotalGoodsIssuedQtyExLmt | ||
| TotalGoodsReceiptQtyExLmt | _TotalQuantities | TotalGoodsReceiptQtyExLmt | ||
| DaysInTransitExLmt | DaysInTransitExLmt | |||
| _SitnInstceIndicator | _SitnInstceIndicator | |||
| _GoodsReceiptUserVH | _GoodsReceiptUserVH | |||
| _GoodsIssueUserVH | _GoodsIssueUserVH | |||
| _TotalQuantities | _TotalQuantities | |||
| _ReceivingPlantMRPResponsible | _ReceivingPlantMRPResponsible | |||
| _PurchaseOrderOfSIT | _PurchaseOrderOfSIT | |||
| _PurchaseOrderTypeOfSIT | _PurchaseOrderTypeOfSIT | |||
| _PurchaseOrderCategoryOfSIT | _PurchaseOrderCategoryOfSIT | |||
| _ReceivingCompanyCodeOfSIT | _ReceivingCompanyCodeOfSIT | |||
| _ReceivingPlantOfSIT | _ReceivingPlantOfSIT | |||
| _IssuingCompanyCodeOfSIT | _IssuingCompanyCodeOfSIT | |||
| _IssuingPlantOfSIT | _IssuingPlantOfSIT | |||
| _MaterialOfSIT | _MaterialOfSIT | |||
| _ReceiptMovementTypeOfSIT | _ReceiptMovementTypeOfSIT | |||
| _IssueMovementTypeOfSIT | _IssueMovementTypeOfSIT | |||
| _InventorySpecStockTypeOfSIT | _InventorySpecStockTypeOfSIT | |||
| _StorageLocationOfSIT | _StorageLocationOfSIT | |||
| _BatchOfSIT | _BatchOfSIT | |||
| _CreatedByUserOfSIT | _CreatedByUserOfSIT | |||
| _PurOrdDeletionCodeOfSIT | _PurOrdDeletionCodeOfSIT | |||
| _ProcessTypeOfSIT | _ProcessTypeOfSIT | |||
| _GoodsIssueMatDocYearOfSIT | _GoodsIssueMatDocYearOfSIT | |||
| _GoodsReceiptMatDocYearOfSIT | _GoodsReceiptMatDocYearOfSIT | |||
| _GoodsReceiptMatDocOfSIT | _GoodsReceiptMatDocOfSIT | |||
| _GoodsIssueMatDocOfSIT | _GoodsIssueMatDocOfSIT | |||
| _GoodsIssueForDeliveryDoc | _GoodsIssueForDeliveryDoc | |||
| _GoodsReceiptForDeliveryDoc | _GoodsReceiptForDeliveryDoc | |||
| _GIStorageLocationVH | _GIStorageLocationVH | |||
| _GIBatchVH | _GIBatchVH | |||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _ProductIssuingPlant | _ProductIssuingPlant | |||
| _Batch | _Batch |
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 C_MaterialOverdueSIT.
-- 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 C_MaterialOverdueSIT AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
GoodsIssueMaterialDocument,
GoodsIssueMaterialDocumentItem,
GoodsIssueMaterialDocumentYear,
GoodsReceiptMaterialDocument,
GoodsReceiptMaterialDocItem,
GoodsReceiptMaterialDocYear,
OverdueSITDocSelectionType,
MatlOverdueSitSitnAnchrID,
I_MatlOvrdStInTrPredictedDte._SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances,
PurchaseOrderItemCnctntdID,
PurchaseOrderItemQuantity,
BaseUnit,
PurchasingDocumentType,
I_MatlOvrdStInTrPredictedDte._PurchaseOrderTypeOfSIT.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
PurchasingDocumentCategory,
I_MatlOvrdStInTrPredictedDte._PurchaseOrderCategoryOfSIT.PurchasingDocumentCategoryName AS PurchasingDocumentCategoryName,
CreatedByUser,
I_MatlOvrdStInTrPredictedDte._CreatedByUser.UserDescription AS CreatedByUserDescription,
CreationDate,
PurchasingDocumentDeletionCode,
I_MatlOvrdStInTrPredictedDte._PurOrdDeletionCodeOfSIT.PurDocDeletionCodeName AS PurDocDeletionCodeName,
SupplyingStorageLocation,
IssuingCompanyCode,
IssuingPlant,
IssuingPlantName,
GoodsIssueQtyInOrderUnit,
GoodsIssueQuantity,
Material,
MaterialName,
IsCompletelyDelivered,
CompletelyDeliveredExLmt,
GoodsIssueMovementType,
GoodsIssuePostingDate,
GICreatedByUser,
I_MatlOvrdStInTrPredictedDte._GICreatedByUser.UserDescription AS GICreatedByUserDescription,
GoodsReceiptMovementType,
GoodsReceiptPostingDate,
GRCreatedByUser,
I_MatlOvrdStInTrPredictedDte._GRCreatedByUser.UserDescription AS GRCreatedByUserDescription,
ReceivingCompanyCode,
ReceivingPlant,
ReceivingPlantName,
GoodsReceiptQtyInOrderUnit,
GoodsReceiptQuantity,
ReceivingStorageLocation,
ReceivingBatch,
IssuingStorageLocation,
IssuingBatch,
InventorySpecialStockType,
NetAmount,
DocumentCurrency,
MaterialGroup,
DaysInTransit,
NumbersOfDaysSincePurOrdPostg,
DifferenceOfGRAndGIDate,
DurationBetweenPOAndGI,
UnitOfMeasure,
MaterialBaseUnit,
StockInTransitProcessType,
I_MatlOvrdStInTrPredictedDte._ProcessTypeOfSIT.StockInTransitProcessTypeName AS StockInTransitProcessTypeName,
GoodsReceiptIsCanceled,
GoodsIssueIsCanceled,
PredictedDaysOfDelivDeviation,
StartOfStockTransportOrder,
PredictedDelivDte,
PredictedDelDaysRltnPOPostDate,
PlannedDelDaysRltnPOPostDate,
RealOrExpectedMaterialPostgDte,
ShippingDaysSincePOPostingDate,
StkInTransitDelivDteCritlty,
ScheduleLineDeliveryDate,
GoodsIssueForDeliveryDoc,
GoodsIssueForInboundDelivDoc,
GoodsIssueForDeliveryDocItem,
GoodsIssueDelivDocItmCrtnDte,
GoodsIssueDelivDocItmQty,
GoodsIssueDelivDocItmBatch,
GoodsIssueDelivDocType,
GoodsIssueDelivDocItmStatus,
GoodsReceiptForDeliveryDoc,
GoodsReceiptForOutbDelivDoc,
GoodsReceiptForDeliveryDocItem,
GoodsReceiptDelivDocItmCrtnDte,
GoodsReceiptDelivDocItmQty,
GoodsReceiptDelivDocItmBatch,
GoodsReceiptDelivDocType,
GoodsReceiptDelivDocItmStatus,
cast( _MaterialPlant.MRPController as mmim_gr_mrp_controller preserving type ) AS ReceivingPlantMRPResponsible,
_TotalQuantities.TotalGoodsIssuedForPOQty AS TotalGoodsIssuedForPOQty,
_TotalQuantities.TotalGoodsReceiptForPOQty AS TotalGoodsReceiptForPOQty,
_TotalQuantities.TotalGoodsIssuedQtyExLmt AS TotalGoodsIssuedQtyExLmt,
_TotalQuantities.TotalGoodsReceiptQtyExLmt AS TotalGoodsReceiptQtyExLmt,
DaysInTransitExLmt
FROM I_MatlOvrdStInTrPredictedDte
LEFT OUTER JOIN I_InventoryMRPControllerVH AS _ReceivingPlantMRPResponsible ON ReceivingPlant = _ReceivingPlantMRPResponsible.Plant AND ReceivingPlantMRPResponsible = _ReceivingPlantMRPResponsible.MRPController -- 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 ReceivingPlant = _ProductPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductIssuingPlant ON Material = _ProductIssuingPlant.Product AND IssuingPlant = _ProductIssuingPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Material = _Batch.Material AND ReceivingPlant = _Batch.Plant AND ReceivingBatch = _Batch.Batch -- association [1..1]
LEFT OUTER JOIN I_GdsRecGdsIssdTotQtyForPO AS _TotalQuantities ON PurchaseOrder = _TotalQuantities.PurchaseOrder AND PurchaseOrderItem = _TotalQuantities.PurchaseOrderItem -- association [1..1]
LEFT OUTER JOIN I_MaterialPlant AS _MaterialPlant ON Material = _MaterialPlant.Material AND ReceivingPlant = _MaterialPlant.Plant -- association [1..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