I_PlndIndepRqmt
Planned Independent Req Basic View
I_PlndIndepRqmt is a Basic CDS View that provides data about "Planned Independent Req Basic View" in SAP S/4HANA. It reads from 1 data source (P_PlndIndepRqmt) and exposes 20 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion. It has 2 associations to related views. Part of development package PPH_FORECAST_DEMAND.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PlndIndepRqmt | P_PlndIndepRqmt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PlndIndepRqmtItem | _PlndIndepRqmtItem | $projection.Product = _PlndIndepRqmtItem.Product and $projection.Plant = _PlndIndepRqmtItem.Plant and $projection.MRPArea = _PlndIndepRqmtItem.MRPArea and $projection.PlndIndepRqmtType = _PlndIndepRqmtItem.PlndIndepRqmtType and $projection.PlndIndepRqmtVersion = _PlndIndepRqmtItem.PlndIndepRqmtVersion and $projection.RequirementPlan = _PlndIndepRqmtItem.RequirementPlan and $projection.RequirementSegment = _PlndIndepRqmtItem.RequirementSegment |
| [0..1] | I_WBSElementBasicData | _WBSElement | $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Planned Independent Req Basic View | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.compositionRoot | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | PlndIndepRqmtType | PlndIndepRqmtType | Reqmts type | |
| KEY | PlndIndepRqmtVersion | PlndIndepRqmtVersion | Version | |
| KEY | RequirementPlan | RequirementPlan | Requirements Plan | |
| KEY | RequirementSegment | RequirementSegment | Req. Segment | |
| RequirementPlanIsExternal | RequirementPlanIsExternal | |||
| PlndIndepRqmtInternalID | PlndIndepRqmtInternalID | PIR Pointer | ||
| PlndIndepRqmtIsActive | PlndIndepRqmtIsActive | Active | ||
| WBSElementInternalID | WBS Internal ID | |||
| WBSElement | ||||
| PlndIndepRqmtAcctAssgmtCat | PlndIndepRqmtAcctAssgmtCat | AcctAssgnCat:CC | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation | ||
| PlndIndepRqmtOwningApplication | PlndIndepRqmtOwningApplication | Copied | ||
| PlndIndepRqmtLastChgdDateTime | PlndIndepRqmtLastChgdDateTime | Time Stamp | ||
| _PlndIndepRqmtItem | _PlndIndepRqmtItem | |||
| _WBSElement | _WBSElement |
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_PlndIndepRqmt.
-- 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_PlndIndepRqmt AS
SELECT
Product,
Plant,
MRPArea,
PlndIndepRqmtType,
PlndIndepRqmtVersion,
RequirementPlan,
RequirementSegment,
RequirementPlanIsExternal,
PlndIndepRqmtInternalID,
PlndIndepRqmtIsActive,
cast ( WBSElementInternalID as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
cast ( _WBSElement.WBSElement as ps_s4_posid preserving type ) AS WBSElement,
PlndIndepRqmtAcctAssgmtCat,
InventorySpecialStockType,
ConsumptionPosting,
InventorySpecialStockValnType,
PlndIndepRqmtOwningApplication,
PlndIndepRqmtLastChgdDateTime
FROM P_PlndIndepRqmt
LEFT OUTER JOIN I_PlndIndepRqmtItem AS _PlndIndepRqmtItem ON Product = _PlndIndepRqmtItem.Product AND Plant = _PlndIndepRqmtItem.Plant AND MRPArea = _PlndIndepRqmtItem.MRPArea AND PlndIndepRqmtType = _PlndIndepRqmtItem.PlndIndepRqmtType AND PlndIndepRqmtVersion = _PlndIndepRqmtItem.PlndIndepRqmtVersion AND RequirementPlan = _PlndIndepRqmtItem.RequirementPlan AND RequirementSegment = _PlndIndepRqmtItem.RequirementSegment -- association [0..*]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID -- association [0..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