P_PlndIndepRqmt
Planned Independent Requirement: Union of PBIM and PBID
P_PlndIndepRqmt is a Basic CDS View that provides data about "Planned Independent Requirement: Union of PBIM and PBID" in SAP S/4HANA. It reads from 2 data sources (pbid, pbim) and exposes 28 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion. Part of development package PPH_FORECAST_DEMAND.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | 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 | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PPIR_H | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | matnr | Vehicle Model | |
| KEY | Plant | werks | Receiving Plant | |
| KEY | MRPArea | Single-Character Flag | ||
| KEY | PlndIndepRqmtType | bedae | Reqmts type | |
| KEY | PlndIndepRqmtVersion | versb | Version | |
| KEY | RequirementSegment | sgt_rcat | Req. Segment | |
| PlndIndepRqmtInternalID | bdzei | PIR Pointer | ||
| PlndIndepRqmtIsActive | vervs | Active | ||
| WBSElementInternalID | pspel | WBS Element | ||
| PlndIndepRqmtAcctAssgmtCat | knttp | AcctAssgnCat:CC | ||
| InventorySpecialStockType | sobkz | Special Stock | ||
| ConsumptionPosting | kzvbr | Consumption | ||
| InventorySpecialStockValnType | kzbws | Valuation | ||
| PlndIndepRqmtOwningApplication | Copied | |||
| KEY | Plant | werks | Receiving Plant | |
| KEY | MRPArea | berid | Single-Character Flag | |
| KEY | PlndIndepRqmtType | bedae | Reqmts type | |
| KEY | PlndIndepRqmtVersion | versb | Version | |
| KEY | RequirementSegment | sgt_rcat | Req. Segment | |
| PlndIndepRqmtInternalID | bdzei | PIR Pointer | ||
| PlndIndepRqmtIsActive | vervs | Active | ||
| WBSElementInternalID | pspel | WBS Element | ||
| PlndIndepRqmtAcctAssgmtCat | knttp | AcctAssgnCat:CC | ||
| InventorySpecialStockType | sobkz | Special Stock | ||
| ConsumptionPosting | kzvbr | Consumption | ||
| InventorySpecialStockValnType | kzbws | Valuation | ||
| PlndIndepRqmtOwningApplication | uebkz | Copied | ||
| PlndIndepRqmtLastChgdDateTime | lastchangedts | Time Stamp |
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 P_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.
-- SQL view name: PPIR_H
CREATE VIEW P_PlndIndepRqmt AS
SELECT
matnr AS Product,
werks AS Plant,
cast(rpad(werks,10,'') as berid preserving type ) AS MRPArea,
bedae AS PlndIndepRqmtType,
versb AS PlndIndepRqmtVersion,
sgt_rcat AS RequirementSegment,
bdzei AS PlndIndepRqmtInternalID,
vervs AS PlndIndepRqmtIsActive,
pspel AS WBSElementInternalID,
knttp AS PlndIndepRqmtAcctAssgmtCat,
sobkz AS InventorySpecialStockType,
kzvbr AS ConsumptionPosting,
kzbws AS InventorySpecialStockValnType,
cast ( uebkz as pph_uebkz_cds ) AS PlndIndepRqmtOwningApplication,
lastchangedts AS PlndIndepRqmtLastChgdDateTime
FROM pbim
-- UNION ALL with additional select branch(es): pbid
;
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