I_MRPProcurementSOS

DDL: I_MRPPROCUREMENTSOS SQL: IMRPPROCSOS Type: view COMPOSITE

Basic Purchasing SOS List

I_MRPProcurementSOS is a Composite CDS View that provides data about "Basic Purchasing SOS List" in SAP S/4HANA. It reads from 2 data sources (I_MRPPurchasingInfoRecordMPN, I_MRPOutlineAgreementMPN) and exposes 73 fields.

Data Sources (2)

SourceAliasJoin Type
I_MRPPurchasingInfoRecordMPN InfoRecord union_all
I_MRPOutlineAgreementMPN OA from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMRPPROCSOS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Basic Purchasing SOS List view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (73)

KeyFieldSource TableSource FieldDescription
Material I_MRPOutlineAgreementMPN Material Vehicle Model
ManufacturerMaterial I_MRPOutlineAgreementMPN ManufacturerMaterial MPN: Material
Plant I_MRPOutlineAgreementMPN Plant Valuation Area
ValidityStartDate I_MRPOutlineAgreementMPN ValidityStartDate Validity Start Date
PreferredSupplier I_MRPOutlineAgreementMPN PreferredSupplier Supplier
ValidityEndDate I_MRPOutlineAgreementMPN ValidityEndDate ValidTo
MaterialMinLotSizeQuantity I_MRPOutlineAgreementMPN MaterialMinLotSizeQuantity
MaterialMaxLotSizeQuantity I_MRPOutlineAgreementMPN MaterialMaxLotSizeQuantity
IsRelevantForAutomSrcg I_MRPOutlineAgreementMPN IsRelevantForAutomSrcg Checkbox
ActivePurchasingInfoRecord
PurchasingDocument I_MRPOutlineAgreementMPN PurchasingDocument Purchasing Document
PurchasingDocumentItem I_MRPOutlineAgreementMPN PurchasingDocumentItem Purchasing Doc. Item
PurchasingObjectCategory I_MRPOutlineAgreementMPN PurchasingObjectCategory Doc. Category
PurchasingDocumentItemCategory I_MRPOutlineAgreementMPN PurchasingDocumentItemCategory Item Category
PurchasingOrganization I_MRPOutlineAgreementMPN PurchasingOrganization Purchasing Organization
PurchasingGroup I_MRPOutlineAgreementMPN PurchasingGroup Purchasing Group
PurchasingInfoRecordCategory Infotype
StorageLocation I_MRPOutlineAgreementMPN StorageLocation StorageLocation
PurgDocSupplyingPlant I_MRPOutlineAgreementMPN PurgDocSupplyingPlant
IssuingOrReceivingStorageLoc I_MRPOutlineAgreementMPN IssuingOrReceivingStorageLoc Receiving SLoc.
IssgOrRcvgStkIdfgSpclStkType I_MRPOutlineAgreementMPN IssgOrRcvgStkIdfgSpclStkType
AccountAssignmentCategory I_MRPOutlineAgreementMPN AccountAssignmentCategory Acct Assgmt Cat
ConsumptionPosting I_MRPOutlineAgreementMPN ConsumptionPosting Consumption Posting
PlndOrderReplnmtElmntType I_MRPOutlineAgreementMPN PlndOrderReplnmtElmntType Kanban Indicat.
GoodsReceiptDuration I_MRPOutlineAgreementMPN GoodsReceiptDuration GR proc. time
PlannedDeliveryDuration I_MRPOutlineAgreementMPN PlannedDeliveryDuration Pl. Deliv. Time
ProductionVersion I_MRPOutlineAgreementMPN ProductionVersion Version ID
PurgDocReceivingSupplier I_MRPOutlineAgreementMPN PurgDocReceivingSupplier
SupplierIsSubcontractor I_MRPOutlineAgreementMPN SupplierIsSubcontractor SC Supplier
ScheduleAgreementHasReleaseDoc I_MRPOutlineAgreementMPN ScheduleAgreementHasReleaseDoc
RoundingProfile I_MRPOutlineAgreementMPN RoundingProfile Rnding Profile
ProductVariantGroup I_MRPOutlineAgreementMPN ProductVariantGroup
PurgDocHasRefPurchasingOrg I_MRPOutlineAgreementMPN PurgDocHasRefPurchasingOrg
LeadingSalesOrder I_MRPOutlineAgreementMPN LeadingSalesOrder Sales Document
LeadingSalesOrderItem I_MRPOutlineAgreementMPN LeadingSalesOrderItem Item
WBSElementInternalID I_MRPOutlineAgreementMPN WBSElementInternalID WBS Internal ID
Material Vehicle Model
ManufacturerMaterial I_MRPPurchasingInfoRecordMPN ManufacturerMaterial MPN: Material
Plant I_MRPPurchasingInfoRecordMPN Plant Valuation Area
ValidityStartDate I_MRPPurchasingInfoRecordMPN ValidityStartDate Validity Start Date
PreferredSupplier I_MRPPurchasingInfoRecordMPN PreferredSupplier Supplier
ValidityEndDate I_MRPPurchasingInfoRecordMPN ValidityEndDate ValidTo
MaterialMinLotSizeQuantity I_MRPPurchasingInfoRecordMPN MaterialMinLotSizeQuantity
MaterialMaxLotSizeQuantity I_MRPPurchasingInfoRecordMPN MaterialMaxLotSizeQuantity
IsRelevantForAutomSrcg I_MRPPurchasingInfoRecordMPN IsRelevantForAutomSrcg Checkbox
ActivePurchasingInfoRecord I_MRPPurchasingInfoRecordMPN ActivePurchasingInfoRecord
PurchasingDocument Purchasing Document
PurchasingDocumentItem Purchasing Doc. Item
PurchasingObjectCategory Doc. Category
PurchasingDocumentItemCategory Item Category
PurchasingOrganization I_MRPPurchasingInfoRecordMPN PurchasingOrganization Purchasing Organization
PurchasingGroup I_MRPPurchasingInfoRecordMPN PurchasingGroup Purchasing Group
PurchasingInfoRecordCategory I_MRPPurchasingInfoRecordMPN PurchasingInfoRecordCategory Infotype
StorageLocation StorageLocation
PurgDocSupplyingPlant
IssuingOrReceivingStorageLoc Receiving SLoc.
IssgOrRcvgStkIdfgSpclStkType
AccountAssignmentCategory Acct Assgmt Cat
ConsumptionPosting Consumption Posting
PlndOrderReplnmtElmntType Kanban Indicat.
GoodsReceiptDuration I_MRPPurchasingInfoRecordMPN GoodsReceiptDuration GR proc. time
PlannedDeliveryDuration I_MRPPurchasingInfoRecordMPN PlannedDeliveryDuration Pl. Deliv. Time
ProductionVersion I_MRPPurchasingInfoRecordMPN ProductionVersion Version ID
PurgDocReceivingSupplier
SupplierIsSubcontractor SC Supplier
ScheduleAgreementHasReleaseDoc
RoundingProfile I_MRPPurchasingInfoRecordMPN RoundingProfile Rnding Profile
ProductVariantGroup I_MRPPurchasingInfoRecordMPN ProductVariantGroup
PurgDocHasRefPurchasingOrg I_MRPPurchasingInfoRecordMPN PurgDocHasRefPurchasingOrg
LeadingSalesOrder Sales Document
LeadingSalesOrderItem Item
WBSElementInternalID WBS Internal ID
PurgDocHasPlant I_MRPPurchasingInfoRecordMPN PurgDocHasPlant

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_MRPProcurementSOS.
-- 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: IMRPPROCSOS

CREATE VIEW I_MRPProcurementSOS AS
SELECT
  OA.Material AS Material,
  OA.ManufacturerMaterial AS ManufacturerMaterial,
  OA.Plant AS Plant,
  OA.ValidityStartDate AS ValidityStartDate,
  OA.PreferredSupplier AS PreferredSupplier,
  OA.ValidityEndDate AS ValidityEndDate,
  OA.MaterialMinLotSizeQuantity AS MaterialMinLotSizeQuantity,
  OA.MaterialMaxLotSizeQuantity AS MaterialMaxLotSizeQuantity,
  OA.IsRelevantForAutomSrcg AS IsRelevantForAutomSrcg,
  cast('' as infnr) AS ActivePurchasingInfoRecord,
  OA.PurchasingDocument AS PurchasingDocument,
  OA.PurchasingDocumentItem AS PurchasingDocumentItem,
  OA.PurchasingObjectCategory AS PurchasingObjectCategory,
  OA.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
  OA.PurchasingOrganization AS PurchasingOrganization,
  OA.PurchasingGroup AS PurchasingGroup,
  cast('' as esokz) AS PurchasingInfoRecordCategory,
  OA.StorageLocation AS StorageLocation,
  OA.PurgDocSupplyingPlant AS PurgDocSupplyingPlant,
  OA.IssuingOrReceivingStorageLoc AS IssuingOrReceivingStorageLoc,
  OA.IssgOrRcvgStkIdfgSpclStkType AS IssgOrRcvgStkIdfgSpclStkType,
  OA.AccountAssignmentCategory AS AccountAssignmentCategory,
  OA.ConsumptionPosting AS ConsumptionPosting,
  OA.PlndOrderReplnmtElmntType AS PlndOrderReplnmtElmntType,
  OA.GoodsReceiptDuration AS GoodsReceiptDuration,
  OA.PlannedDeliveryDuration AS PlannedDeliveryDuration,
  OA.ProductionVersion AS ProductionVersion,
  OA.PurgDocReceivingSupplier AS PurgDocReceivingSupplier,
  OA.SupplierIsSubcontractor AS SupplierIsSubcontractor,
  OA.ScheduleAgreementHasReleaseDoc AS ScheduleAgreementHasReleaseDoc,
  OA.RoundingProfile AS RoundingProfile,
  OA.ProductVariantGroup AS ProductVariantGroup,
  OA.PurgDocHasRefPurchasingOrg AS PurgDocHasRefPurchasingOrg,
  OA.LeadingSalesOrder AS LeadingSalesOrder,
  OA.LeadingSalesOrderItem AS LeadingSalesOrderItem,
  OA.WBSElementInternalID AS WBSElementInternalID,
  InfoRecord.PurgDocHasPlant AS PurgDocHasPlant
FROM I_MRPOutlineAgreementMPN AS OA
-- UNION ALL with additional select branch(es): I_MRPPurchasingInfoRecordMPN
;