I_MRPOutlineAgreementMPN

DDL: I_MRPOUTLINEAGREEMENTMPN SQL: IMRPOUTLAGRMPN Type: view COMPOSITE

Outline Agreement with MPN

I_MRPOutlineAgreementMPN is a Composite CDS View that provides data about "Outline Agreement with MPN" in SAP S/4HANA. It reads from 1 data source (I_MRPOutlineAgreement) and exposes 38 fields.

Data Sources (1)

SourceAliasJoin Type
I_MRPOutlineAgreement oa from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMRPOUTLAGRMPN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Outline Agreement with MPN view

Fields (38)

KeyFieldSource TableSource FieldDescription
PurchasingDocument I_MRPOutlineAgreement PurchasingDocument Purchasing Document
PurchasingDocumentItem I_MRPOutlineAgreement PurchasingDocumentItem Purchasing Doc. Item
Material I_MRPOutlineAgreement Material Vehicle Model
ManufacturerMaterial I_MRPOutlineAgreement ManufacturerMaterial MPN: Material
Plant purgorgplant Plant Valuation Area
ValidityStartDate I_MRPOutlineAgreement ValidityStartDate Validity Start Date
ValidityEndDate I_MRPOutlineAgreement ValidityEndDate ValidTo
PreferredSupplier I_MRPOutlineAgreement PreferredSupplier Supplier
MaterialMinLotSizeQuantity
dec133asMaterialMaxLotSizeQuantity
IsRelevantForAutomSrcg
PurchasingObjectCategory I_MRPOutlineAgreement PurchasingObjectCategory Doc. Category
PurchasingDocumentItemCategory I_MRPOutlineAgreement PurchasingDocumentItemCategory Item Category
PurchasingOrganization I_MRPOutlineAgreement PurchasingOrganization Purchasing Organization
PurchasingGroup I_MRPOutlineAgreement PurchasingGroup Purchasing Group
StorageLocation I_MRPOutlineAgreement StorageLocation StorageLocation
ProductVariantGroup I_MRPOutlineAgreement ProductVariantGroup Product Sold Group
PurgDocSupplyingPlant I_MRPOutlineAgreement PurgDocSupplyingPlant Supplying Plant
IssuingOrReceivingStorageLoc I_MRPOutlineAgreement IssuingOrReceivingStorageLoc Receiving SLoc.
IssgOrRcvgStkIdfgSpclStkType I_MRPOutlineAgreement IssgOrRcvgStkIdfgSpclStkType Special Stock
GoodsReceiptDuration I_MRPOutlineAgreement GoodsReceiptDuration GR proc. time
PlannedDeliveryDuration I_MRPOutlineAgreement PlannedDeliveryDuration Pl. Deliv. Time
ProductionVersion
PurgDocReceivingSupplier I_MRPOutlineAgreement PurgDocReceivingSupplier Supplier
SupplierIsSubcontractor I_MRPOutlineAgreement SupplierIsSubcontractor SC Supplier
ScheduleAgreementHasReleaseDoc I_MRPOutlineAgreement ScheduleAgreementHasReleaseDoc Release Docu.
RoundingProfile I_MRPOutlineAgreement RoundingProfile Rnding Profile
AccountAssignmentCategory I_MRPOutlineAgreement AccountAssignmentCategory Acct Assgmt Cat
ConsumptionPosting I_MRPOutlineAgreement ConsumptionPosting Consumption Posting
PlndOrderReplnmtElmntType I_MRPOutlineAgreement PlndOrderReplnmtElmntType Kanban Indicat.
char1endasPurgDocHasRefPurchasingOrg
PurchasingProcessingStatus I_MRPOutlineAgreement PurchasingProcessingStatus Proc. State
LeadingSalesOrder I_MRPOutlineAgreement LeadingSalesOrder Sales Document
LeadingSalesOrderItem I_MRPOutlineAgreement LeadingSalesOrderItem Item
WBSElementInternalID I_MRPOutlineAgreement WBSElementInternalID WBS Internal ID
ItemValidityStartDate ampl datub Valid to
ItemValidityEndDate ampl datuv Valid-from date
PurgDocHasPlant I_MRPOutlineAgreement 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_MRPOutlineAgreementMPN.
-- 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: IMRPOUTLAGRMPN

CREATE VIEW I_MRPOutlineAgreementMPN AS
SELECT
  oa.PurchasingDocument AS PurchasingDocument,
  oa.PurchasingDocumentItem AS PurchasingDocumentItem,
  oa.Material AS Material,
  oa.ManufacturerMaterial AS ManufacturerMaterial,
  purgorgplant.Plant AS Plant,
  oa.ValidityStartDate AS ValidityStartDate,
  oa.ValidityEndDate AS ValidityEndDate,
  oa.PreferredSupplier AS PreferredSupplier,
  cast('0' as abap.dec(13,3)) AS MaterialMinLotSizeQuantity,
  cast('9999999999' as abap.dec(13,3))as MaterialMaxLotSizeQuantity AS dec133asMaterialMaxLotSizeQuantity,
  'X' AS IsRelevantForAutomSrcg,
  oa.PurchasingObjectCategory AS PurchasingObjectCategory,
  oa.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
  oa.PurchasingOrganization AS PurchasingOrganization,
  oa.PurchasingGroup AS PurchasingGroup,
  oa.StorageLocation AS StorageLocation,
  oa.ProductVariantGroup AS ProductVariantGroup,
  oa.PurgDocSupplyingPlant AS PurgDocSupplyingPlant,
  oa.IssuingOrReceivingStorageLoc AS IssuingOrReceivingStorageLoc,
  oa.IssgOrRcvgStkIdfgSpclStkType AS IssgOrRcvgStkIdfgSpclStkType,
  oa.GoodsReceiptDuration AS GoodsReceiptDuration,
  oa.PlannedDeliveryDuration AS PlannedDeliveryDuration,
  coalesce(oa.ProductionVersion, '') AS ProductionVersion,
  oa.PurgDocReceivingSupplier AS PurgDocReceivingSupplier,
  oa.SupplierIsSubcontractor AS SupplierIsSubcontractor,
  oa.ScheduleAgreementHasReleaseDoc AS ScheduleAgreementHasReleaseDoc,
  oa.RoundingProfile AS RoundingProfile,
  oa.AccountAssignmentCategory AS AccountAssignmentCategory,
  oa.ConsumptionPosting AS ConsumptionPosting,
  oa.PlndOrderReplnmtElmntType AS PlndOrderReplnmtElmntType,
  case when purgorgplant.IsRefOrg = 'X' then cast('X' as abap.char( 1 )) else cast('' as abap.char( 1 )) end as PurgDocHasRefPurchasingOrg AS char1endasPurgDocHasRefPurchasingOrg,
  oa.PurchasingProcessingStatus AS PurchasingProcessingStatus,
  oa.LeadingSalesOrder AS LeadingSalesOrder,
  oa.LeadingSalesOrderItem AS LeadingSalesOrderItem,
  oa.WBSElementInternalID AS WBSElementInternalID,
  ampl.datub AS ItemValidityStartDate,
  ampl.datuv AS ItemValidityEndDate,
  oa.PurgDocHasPlant AS PurgDocHasPlant
FROM I_MRPOutlineAgreement AS oa
;