C_MaterialOverdueSIT

DDL: C_MATERIALOVERDUESIT Type: view CONSUMPTION

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.

Data Sources (1)

SourceAliasJoin Type
I_MatlOvrdStInTrPredictedDte I_MatlOvrdStInTrPredictedDte from

Associations (7)

CardinalityTargetAliasCondition
[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 (18)

NameValueLevelField
AbapCatalog.sqlViewName CMATOVERDUESIT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
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
ClientHandling.algorithm #SESSION_VARIABLE 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)

KeyFieldSource TableSource FieldDescription
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 _SitnInstceIndicator SitnNumberOfInstances
PurchaseOrderItemCnctntdID PurchaseOrderItemCnctntdID
PurchaseOrderItemQuantity PurchaseOrderItemQuantity
BaseUnit BaseUnit Unit of Measure
PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingDocumentTypeName _PurchaseOrderTypeOfSIT PurchasingDocumentTypeName Description
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentCategoryName _PurchaseOrderCategoryOfSIT PurchasingDocumentCategoryName Short Description
CreatedByUser CreatedByUser User Name
CreatedByUserDescription _CreatedByUser UserDescription Full Name
CreationDate CreationDate Time Stamp
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
PurDocDeletionCodeName _PurOrdDeletionCodeOfSIT 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 _GICreatedByUser UserDescription Full Name
GoodsReceiptMovementType GoodsReceiptMovementType
GoodsReceiptPostingDate GoodsReceiptPostingDate
GRCreatedByUser GRCreatedByUser
GRCreatedByUserDescription _GRCreatedByUser UserDescription Full Name
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 _ProcessTypeOfSIT 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,
  _SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances,
  PurchaseOrderItemCnctntdID,
  PurchaseOrderItemQuantity,
  BaseUnit,
  PurchasingDocumentType,
  _PurchaseOrderTypeOfSIT.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
  PurchasingDocumentCategory,
  _PurchaseOrderCategoryOfSIT.PurchasingDocumentCategoryName AS PurchasingDocumentCategoryName,
  CreatedByUser,
  _CreatedByUser.UserDescription AS CreatedByUserDescription,
  CreationDate,
  PurchasingDocumentDeletionCode,
  _PurOrdDeletionCodeOfSIT.PurDocDeletionCodeName AS PurDocDeletionCodeName,
  SupplyingStorageLocation,
  IssuingCompanyCode,
  IssuingPlant,
  IssuingPlantName,
  GoodsIssueQtyInOrderUnit,
  GoodsIssueQuantity,
  Material,
  MaterialName,
  IsCompletelyDelivered,
  CompletelyDeliveredExLmt,
  GoodsIssueMovementType,
  GoodsIssuePostingDate,
  GICreatedByUser,
  _GICreatedByUser.UserDescription AS GICreatedByUserDescription,
  GoodsReceiptMovementType,
  GoodsReceiptPostingDate,
  GRCreatedByUser,
  _GRCreatedByUser.UserDescription AS GRCreatedByUserDescription,
  ReceivingCompanyCode,
  ReceivingPlant,
  ReceivingPlantName,
  GoodsReceiptQtyInOrderUnit,
  GoodsReceiptQuantity,
  ReceivingStorageLocation,
  ReceivingBatch,
  IssuingStorageLocation,
  IssuingBatch,
  InventorySpecialStockType,
  NetAmount,
  DocumentCurrency,
  MaterialGroup,
  DaysInTransit,
  NumbersOfDaysSincePurOrdPostg,
  DifferenceOfGRAndGIDate,
  DurationBetweenPOAndGI,
  UnitOfMeasure,
  MaterialBaseUnit,
  StockInTransitProcessType,
  _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]
;