I_ProdPlantPlndIndepRqmt
Plnd Indep Rqmt join Prod & Plan
I_ProdPlantPlndIndepRqmt is a Basic CDS View that provides data about "Plnd Indep Rqmt join Prod & Plan" in SAP S/4HANA. It reads from 3 data sources (I_ProdPlantPlndIndepRqmtBasic, mdma, P_PlndIndepRqmt) and exposes 16 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdPlantPlndIndepRqmtBasic | master | from |
| mdma | mdma | left_outer |
| P_PlndIndepRqmt | plan | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Plnd Indep Rqmt join Prod & Plan | view | |
| AbapCatalog.sqlViewName | IPRODPIR | view | |
| VDM.private | false | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProdPlantPlndIndepRqmtBasic | Product | Product Sold |
| KEY | Plant | I_ProdPlantPlndIndepRqmtBasic | Plant | Valuation Area |
| KEY | MRPArea | |||
| KEY | PlndIndepRqmtType | |||
| KEY | PlndIndepRqmtVersion | |||
| KEY | RequirementPlan | |||
| KEY | RequirementSegment | |||
| RequirementPlanIsExternal | P_PlndIndepRqmt | RequirementPlanIsExternal | ||
| PlndIndepRqmtInternalID | P_PlndIndepRqmt | PlndIndepRqmtInternalID | PIR Pointer | |
| PlndIndepRqmtIsActive | ||||
| ChangedDate | ||||
| PeriodType | I_ProdPlantPlndIndepRqmtBasic | PeriodType | PeriodIndicator | |
| UnitOfMeasure | I_ProdPlantPlndIndepRqmtBasic | UnitOfMeasure | Unit Protected Qty | |
| ProductName | I_ProdPlantPlndIndepRqmtBasic | ProductName | Description | |
| MRPController | ||||
| PlanningStrategyGroup |
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_ProdPlantPlndIndepRqmt.
-- 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: IPRODPIR
CREATE VIEW I_ProdPlantPlndIndepRqmt AS
SELECT
master.Product AS Product,
master.Plant AS Plant,
coalesce(plan.MRPArea, cast(rpad(master.Plant,10,'') as berid preserving type) ) AS MRPArea,
coalesce(plan.PlndIndepRqmtType, master.PlndIndepRqmtType) AS PlndIndepRqmtType,
coalesce(plan.PlndIndepRqmtVersion, '00') AS PlndIndepRqmtVersion,
coalesce(plan.RequirementPlan, '') AS RequirementPlan,
coalesce(plan.RequirementSegment, '') AS RequirementSegment,
plan.RequirementPlanIsExternal AS RequirementPlanIsExternal,
plan.PlndIndepRqmtInternalID AS PlndIndepRqmtInternalID,
coalesce(plan.PlndIndepRqmtIsActive , '' ) AS PlndIndepRqmtIsActive,
cast ( plan.PlndIndepRqmtLastChgdDateTime as abap.char( 23 ) ) AS ChangedDate,
master.PeriodType AS PeriodType,
master.UnitOfMeasure AS UnitOfMeasure,
master.ProductName AS ProductName,
coalesce(mdma.dispo, master.MRPController) AS MRPController
FROM I_ProdPlantPlndIndepRqmtBasic AS master
LEFT OUTER JOIN P_PlndIndepRqmt AS plan ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mdma ON /* join condition not captured in parsed metadata */
;
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