I_PMRPSourceOfSupplyInput

DDL: I_PMRPSOURCEOFSUPPLYINPUT Type: view_entity BASIC Package: PMRP_ENGINE

A Source Of Supply Input in pMRP

I_PMRPSourceOfSupplyInput is a Basic CDS View that provides data about "A Source Of Supply Input in pMRP" in SAP S/4HANA. It reads from 1 data source (pmrp_sos_input) and exposes 18 fields with key fields PMRPReferencePlan, PMRPSourceOfSupplyInternalID, PMRPSourceOfSupplyInput. It has 4 associations to related views. Part of development package PMRP_ENGINE.

Data Sources (1)

SourceAliasJoin Type
pmrp_sos_input pmrp_sos_input from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_PMRPSourceOfSupply _SourceOfSupply $projection.PMRPReferencePlan = _SourceOfSupply.PMRPReferencePlan and $projection.PMRPSourceOfSupplyInternalID = _SourceOfSupply.PMRPSourceOfSupplyInternalID
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_MRPArea _MRPArea $projection.Plant = _MRPArea.MRPArea

Annotations (7)

NameValueLevelField
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label A Source Of Supply Input in pMRP view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY PMRPReferencePlan reference_id Reference No.
KEY PMRPSourceOfSupplyInternalID sos_id Source of Supply ID
KEY PMRPSourceOfSupplyInput sos_item_id SoS Item ID
PMRPOrderCategory
ValidityStartDate valid_from Validity Start Time
ValidityEndDate valid_to Validity End Time
Product input_product Material
Plant input_plant Plant
MRPArea input_mrparea MRP Area
MaterialComponentQuantity input_quantity Quantity
UnitOfMeasure input_uom Component UoM
OffsetInDays offset_cal_days Offset in Cal Days
OffsetInWorkDays
BOMIsRecursive is_cycle Recursive
_Product _Product
_Plant _Plant
_MRPArea _MRPArea
_SourceOfSupply _SourceOfSupply

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_PMRPSourceOfSupplyInput.
-- 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_PMRPSourceOfSupplyInput AS
SELECT
  reference_id AS PMRPReferencePlan,
  sos_id AS PMRPSourceOfSupplyInternalID,
  sos_item_id AS PMRPSourceOfSupplyInput,
  valid_from AS ValidityStartDate,
  valid_to AS ValidityEndDate,
  input_product AS Product,
  input_plant AS Plant,
  input_mrparea AS MRPArea,
  input_quantity AS MaterialComponentQuantity,
  input_uom AS UnitOfMeasure,
  offset_cal_days AS OffsetInDays,
  is_cycle AS BOMIsRecursive
FROM pmrp_sos_input
LEFT OUTER JOIN I_PMRPSourceOfSupply AS _SourceOfSupply ON PMRPReferencePlan = _SourceOfSupply.PMRPReferencePlan AND PMRPSourceOfSupplyInternalID = _SourceOfSupply.PMRPSourceOfSupplyInternalID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_MRPArea AS _MRPArea ON Plant = _MRPArea.MRPArea  -- association [1..1]
;