I_MaterialOverdueSIT

DDL: I_MATERIALOVERDUESIT Type: view_entity COMPOSITE Package: ODATA_MM_IM_OVERDUE_GRBLOCKED

Interface View for Material Overdue SIT

I_MaterialOverdueSIT is a Composite CDS View that provides data about "Interface View for Material Overdue SIT" in SAP S/4HANA. It reads from 1 data source (P_MaterialOverdueSITLoc) and exposes 95 fields. It has 6 associations to related views. Part of development package ODATA_MM_IM_OVERDUE_GRBLOCKED.

Data Sources (1)

SourceAliasJoin Type
P_MaterialOverdueSITLoc P_MaterialOverdueSITLoc from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_GoodsIssueMatDocOfSIT _GoodsIssueMatDocOfSIT $projection.GoodsIssueMaterialDocument = _GoodsIssueMatDocOfSIT.MaterialDocument
[1..1] I_GoodsReceiptMatDocOfSIT _GoodsReceiptMatDocOfSIT $projection.GoodsReceiptMaterialDocument = _GoodsReceiptMatDocOfSIT.MaterialDocument
[1..1] I_MatlDocYearOfStInTransit _GoodsIssueMatDocYearOfSIT $projection.GoodsIssueMaterialDocumentYear = _GoodsIssueMatDocYearOfSIT.MaterialDocumentYear
[1..1] I_MatlDocYearOfStInTransit _GoodsReceiptMatDocYearOfSIT $projection.GoodsReceiptMaterialDocYear = _GoodsReceiptMatDocYearOfSIT.MaterialDocumentYear
[1..1] I_StorageLocationOfSIT _StorageLocationOfSIT $projection.ReceivingPlant = _StorageLocationOfSIT.ReceivingPlant and $projection.StorageLocation = _StorageLocationOfSIT.StorageLocation
[1..1] I_BatchOfSIT _BatchOfSIT $projection.Batch = _BatchOfSIT.Batch and $projection.Material = _BatchOfSIT.Material

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Interface View for Material Overdue SIT view
ObjectModel.dataCategory #VALUE_HELP view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.private false view
VDM.viewType #COMPOSITE view

Fields (95)

KeyFieldSource TableSource FieldDescription
PurchaseOrder PurchaseOrder Purchasing Document
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
GoodsIssueMaterialDocument
GoodsIssueMaterialDocumentItem
GoodsIssueMaterialDocumentYear
GoodsReceiptMaterialDocument
GoodsReceiptMaterialDocItem
GoodsReceiptMaterialDocYear
GoodsIssueUTCDateTime
GoodsReceiptUTCDateTime
MatlOverdueSitSitnAnchrID MatlOverdueSitSitnAnchrID
SupplyingStorageLocation SupplyingStorageLocation Location
IssuingCompanyCode IssuingCompanyCode
IssuingPlant IssuingPlant
IssuingPlantName IssuingPlantName
PurchasingDocumentType PurchasingDocumentType RFQ Type
CreatedByUser CreatedByUser User Name
GRCreatedByUser GRCreatedByUser
GICreatedByUser GICreatedByUser
CreationDate CreationDate Time Stamp
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
InventorySpecialStockType InventorySpecialStockType Special Stock Type
Material Material Vehicle Model
MaterialName MaterialName Material Description
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
PurchaseOrderItemQuantity PurchaseOrderItemQuantity
BaseUnit BaseUnit Unit of Measure
NetAmount NetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency
MaterialGroup MaterialGroup Product Group
NumbersOfDaysSincePurOrdPostg NumbersOfDaysSincePurOrdPostg
DifferenceOfGRAndGIDate DifferenceOfGRAndGIDate
DurationBetweenPOAndGI DurationBetweenPOAndGI
UnitOfMeasure UnitOfMeasure Unit Protected Qty
MaterialBaseUnit MaterialBaseUnit Valuation Unit
StockInTransitProcessType StockInTransitProcessType
GoodsIssueMovementType GoodsIssueMovementType
GoodsIssuePostingDate GoodsIssuePostingDate
GoodsIssueQuantity GoodsIssueQuantity
GoodsIssueQtyInOrderUnit GoodsIssueQtyInOrderUnit
ReceivingPlant ReceivingPlant Receiving Plant
ReceivingPlantName ReceivingPlantName
GoodsReceiptMovementType GoodsReceiptMovementType
GoodsReceiptPostingDate GoodsReceiptPostingDate
ReceivingCompanyCode ReceivingCompanyCode Rcvg Co Code
GoodsReceiptQuantity GoodsReceiptQuantity Delivered
GoodsReceiptQtyInOrderUnit GoodsReceiptQtyInOrderUnit
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
IssuingStorageLocation IssuingStorageLocation Iss. Stor. Loc.
IssuingBatch IssuingBatch
LastPostingDateOfMaterialDoc LastPostingDateOfMaterialDoc
ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
GoodsReceiptIsCanceled GoodsReceiptIsCanceled
GoodsIssueIsCanceled GoodsIssueIsCanceled
RealOrExpectedMaterialPostgDte RealOrExpectedMaterialPostgDte
DaysInTransit DaysInTransit
GoodsIssueForDeliveryDocItem GoodsIssueForDeliveryDocItem
GoodsIssueDelivDocItmCrtnDte GoodsIssueDelivDocItmCrtnDte
GoodsIssueDelivDocItmQty GoodsIssueDelivDocItmQty
GoodsIssueDelivDocItmBatch GoodsIssueDelivDocItmBatch
GoodsIssueDelivDocType GoodsIssueDelivDocType
GoodsIssueDelivDocItmStatus GoodsIssueDelivDocItmStatus
GoodsReceiptForDeliveryDocItem GoodsReceiptForDeliveryDocItem
GoodsReceiptDelivDocItmCrtnDte GoodsReceiptDelivDocItmCrtnDte
GoodsReceiptDelivDocItmQty GoodsReceiptDelivDocItmQty
GoodsReceiptDelivDocItmBatch GoodsReceiptDelivDocItmBatch
GoodsReceiptDelivDocType GoodsReceiptDelivDocType
GoodsReceiptDelivDocItmStatus GoodsReceiptDelivDocItmStatus
_GoodsReceiptUserVH _GoodsReceiptUserVH
_GoodsIssueUserVH _GoodsIssueUserVH
_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
_GIStorageLocationVH _GIStorageLocationVH
_GIBatchVH _GIBatchVH

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_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 I_MaterialOverdueSIT AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  case when GoodsIssueMaterialDocument is null then cast( '0000000000' as nsdm_gi_mblnr) else GoodsIssueMaterialDocument end AS GoodsIssueMaterialDocument,
  case when GoodsIssueMaterialDocumentItem is null then '0000' else GoodsIssueMaterialDocumentItem end AS GoodsIssueMaterialDocumentItem,
  case when GoodsIssueMaterialDocumentYear is null then '0000' else GoodsIssueMaterialDocumentYear end AS GoodsIssueMaterialDocumentYear,
  case when GoodsReceiptMaterialDocument is null then cast( '0000000000' as nsdm_gr_mblnr) else GoodsReceiptMaterialDocument end AS GoodsReceiptMaterialDocument,
  case when GoodsReceiptMaterialDocItem is null then '0000' else GoodsReceiptMaterialDocItem end AS GoodsReceiptMaterialDocItem,
  case when GoodsReceiptMaterialDocYear is null then '0000' else GoodsReceiptMaterialDocYear end AS GoodsReceiptMaterialDocYear,
  case when GoodsIssueUTCDateTime is null then cast( '000000000000000' as mmim_date_time) else GoodsIssueUTCDateTime end AS GoodsIssueUTCDateTime,
  case when GoodsReceiptUTCDateTime is null then cast( '000000000000000' as mmim_date_time) else GoodsReceiptUTCDateTime end AS GoodsReceiptUTCDateTime,
  MatlOverdueSitSitnAnchrID,
  SupplyingStorageLocation,
  IssuingCompanyCode,
  IssuingPlant,
  IssuingPlantName,
  PurchasingDocumentType,
  CreatedByUser,
  GRCreatedByUser,
  GICreatedByUser,
  CreationDate,
  PurchasingDocumentCategory,
  PurchasingDocumentDeletionCode,
  InventorySpecialStockType,
  Material,
  MaterialName,
  IsCompletelyDelivered,
  PurchaseOrderItemQuantity,
  BaseUnit,
  NetAmount,
  DocumentCurrency,
  MaterialGroup,
  NumbersOfDaysSincePurOrdPostg,
  DifferenceOfGRAndGIDate,
  DurationBetweenPOAndGI,
  UnitOfMeasure,
  MaterialBaseUnit,
  StockInTransitProcessType,
  GoodsIssueMovementType,
  GoodsIssuePostingDate,
  GoodsIssueQuantity,
  GoodsIssueQtyInOrderUnit,
  ReceivingPlant,
  ReceivingPlantName,
  GoodsReceiptMovementType,
  GoodsReceiptPostingDate,
  ReceivingCompanyCode,
  GoodsReceiptQuantity,
  GoodsReceiptQtyInOrderUnit,
  StorageLocation,
  Batch,
  IssuingStorageLocation,
  IssuingBatch,
  LastPostingDateOfMaterialDoc,
  ScheduleLine,
  ScheduleLineDeliveryDate,
  GoodsReceiptIsCanceled,
  GoodsIssueIsCanceled,
  RealOrExpectedMaterialPostgDte,
  DaysInTransit,
  GoodsIssueForDeliveryDocItem,
  GoodsIssueDelivDocItmCrtnDte,
  GoodsIssueDelivDocItmQty,
  GoodsIssueDelivDocItmBatch,
  GoodsIssueDelivDocType,
  GoodsIssueDelivDocItmStatus,
  GoodsReceiptForDeliveryDocItem,
  GoodsReceiptDelivDocItmCrtnDte,
  GoodsReceiptDelivDocItmQty,
  GoodsReceiptDelivDocItmBatch,
  GoodsReceiptDelivDocType,
  GoodsReceiptDelivDocItmStatus
FROM P_MaterialOverdueSITLoc
LEFT OUTER JOIN I_GoodsIssueMatDocOfSIT AS _GoodsIssueMatDocOfSIT ON GoodsIssueMaterialDocument = _GoodsIssueMatDocOfSIT.MaterialDocument  -- association [1..1]
LEFT OUTER JOIN I_GoodsReceiptMatDocOfSIT AS _GoodsReceiptMatDocOfSIT ON GoodsReceiptMaterialDocument = _GoodsReceiptMatDocOfSIT.MaterialDocument  -- association [1..1]
LEFT OUTER JOIN I_MatlDocYearOfStInTransit AS _GoodsIssueMatDocYearOfSIT ON GoodsIssueMaterialDocumentYear = _GoodsIssueMatDocYearOfSIT.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_MatlDocYearOfStInTransit AS _GoodsReceiptMatDocYearOfSIT ON GoodsReceiptMaterialDocYear = _GoodsReceiptMatDocYearOfSIT.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_StorageLocationOfSIT AS _StorageLocationOfSIT ON ReceivingPlant = _StorageLocationOfSIT.ReceivingPlant AND StorageLocation = _StorageLocationOfSIT.StorageLocation  -- association [1..1]
LEFT OUTER JOIN I_BatchOfSIT AS _BatchOfSIT ON Batch = _BatchOfSIT.Batch AND Material = _BatchOfSIT.Material  -- association [1..1]
;