R_ProjectedStock
Projected Stock Chart
R_ProjectedStock is a Basic CDS View that provides data about "Projected Stock Chart" in SAP S/4HANA. It reads from 1 data source (/sapapo/prjstk_h) and exposes 24 fields with key field ProjectedStockUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /sapapo/prjstk_h | /sapapo/prjstk_h | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Projected Stock Chart | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectedStockUUID | projected_stock_uuid | UUID | |
| SimulationSessionUUID | simsession_uuid | Sim. Session | ||
| StartValueQuantity | start_value_qty | Rec./Reqmts Qty | ||
| UnitOfMeasure | unit_of_measure | Unit of Measure | ||
| Product | product | Product Sold | ||
| ProductDescription | product_desc | Product Description | ||
| Location | location | Text | ||
| PlanningSegment | planning_segment | Acct.Assgt Obj. | ||
| PlanningVersionExternal | planning_vers_ext | Plng Version | ||
| AdvncdPlngSftyStkMeth | safety_stock_method | Safety Stock Method | ||
| AdvncdPlngTgtStkLvlMeth | target_stock_method | Targ.Stk Lvl Md | ||
| TargetDaysSupply1Quantity | target_days_supply_qty1 | Days' Supply | ||
| TargetDaysSupply2Quantity | target_days_supply_qty2 | Days' Supply | ||
| TargetDaysSupply3Quantity | target_days_supply_qty3 | Days' Supply | ||
| TargetDaysSupply1Description | target_days_supply_desc1 | Days' type des | ||
| TargetDaysSupply2Description | target_days_supply_desc2 | Days' type des | ||
| TargetDaysSupply3Description | target_days_supply_desc3 | Days' type des | ||
| TargetDaysSupply1Unit | target_days_supply_unit1 | Days'SupplyUnit | ||
| TargetDaysSupply2Unit | target_days_supply_unit2 | Days'SupplyUnit | ||
| TargetDaysSupply3Unit | target_days_supply_unit3 | Days'SupplyUnit | ||
| TargetDaysSupply1AlertLevel | target_days_supply_alert_lvl1 | Alert DSupply 1 | ||
| TargetDaysSupply2AlertLevel | target_days_supply_alert_lvl2 | Alert DSupply 2 | ||
| TargetDaysSupply3AlertLevel | target_days_supply_alert_lvl3 | Alert DSupply3 | ||
| LastChangeDateTime | last_change_date_time | 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 R_ProjectedStock.
-- 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 R_ProjectedStock AS
SELECT
projected_stock_uuid AS ProjectedStockUUID,
simsession_uuid AS SimulationSessionUUID,
start_value_qty AS StartValueQuantity,
unit_of_measure AS UnitOfMeasure,
Product,
product_desc AS ProductDescription,
Location,
planning_segment AS PlanningSegment,
planning_vers_ext AS PlanningVersionExternal,
safety_stock_method AS AdvncdPlngSftyStkMeth,
target_stock_method AS AdvncdPlngTgtStkLvlMeth,
target_days_supply_qty1 AS TargetDaysSupply1Quantity,
target_days_supply_qty2 AS TargetDaysSupply2Quantity,
target_days_supply_qty3 AS TargetDaysSupply3Quantity,
target_days_supply_desc1 AS TargetDaysSupply1Description,
target_days_supply_desc2 AS TargetDaysSupply2Description,
target_days_supply_desc3 AS TargetDaysSupply3Description,
target_days_supply_unit1 AS TargetDaysSupply1Unit,
target_days_supply_unit2 AS TargetDaysSupply2Unit,
target_days_supply_unit3 AS TargetDaysSupply3Unit,
target_days_supply_alert_lvl1 AS TargetDaysSupply1AlertLevel,
target_days_supply_alert_lvl2 AS TargetDaysSupply2AlertLevel,
target_days_supply_alert_lvl3 AS TargetDaysSupply3AlertLevel,
last_change_date_time AS LastChangeDateTime
FROM /sapapo/prjstk_h
;
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