I_PMRPSourceOfSupplyInput
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)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_sos_input | pmrp_sos_input | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA