P_EstdCostCostgRunWthCurStep
Estd Cost Costing Run with Current Step
P_EstdCostCostgRunWthCurStep is a Composite CDS View that provides data about "Estd Cost Costing Run with Current Step" in SAP S/4HANA. It reads from 1 data source (I_EstimatedCostCostingRun) and exposes 8 fields with key fields EstimatedCostCostingRun, EstimatedCostCostingRunDate, CostingVersion. It has 1 association to related views. Part of development package ODATA_COSTRUN_EST_COST_MANAGE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EstimatedCostCostingRun | EstimatedCostCostingRun | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_EstdCostCostgRunOrderedSteps | _CostingRunStepWithOrder | $projection.EstimatedCostCostingRun = _CostingRunStepWithOrder.EstimatedCostCostingRun and $projection.EstimatedCostCostingRunDate = _CostingRunStepWithOrder.EstimatedCostCostingRunDate and $projection.CostingVersion = _CostingRunStepWithOrder.CostingVersion and $projection.EstdCostCostingRunStepOrder = _CostingRunStepWithOrder.EstdCostCostingRunStepOrder |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIESTCOSTRWSTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EstimatedCostCostingRun | I_EstimatedCostCostingRun | EstimatedCostCostingRun | Costing Run |
| KEY | EstimatedCostCostingRunDate | I_EstimatedCostCostingRun | EstimatedCostCostingRunDate | Cstg Run Date |
| KEY | CostingVersion | I_EstimatedCostCostingRun | CostingVersion | Costing Version |
| EstdCostCostingRunStepOrder | CurrentCostingRunStep | EstdCostCostingRunStepOrder | ||
| EstimatedCostCostingRunStep | _CostingRunStepWithOrder | EstimatedCostCostingRunStep | ||
| NumberOfProcessedObjects | _CostingRunStepWithOrder | NumberOfProcessedObjects | ||
| NumberOfErroneousProcdObjects | _CostingRunStepWithOrder | NumberOfErroneousProcdObjects | ||
| Severity | _CostingRunStepWithOrder | Severity | Thresh.Val. Severity |
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_EstdCostCostgRunWthCurStep.
-- 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 P_EstdCostCostgRunWthCurStep AS
SELECT
EstimatedCostCostingRun.EstimatedCostCostingRun AS EstimatedCostCostingRun,
EstimatedCostCostingRun.EstimatedCostCostingRunDate AS EstimatedCostCostingRunDate,
EstimatedCostCostingRun.CostingVersion AS CostingVersion,
CurrentCostingRunStep.EstdCostCostingRunStepOrder AS EstdCostCostingRunStepOrder,
_CostingRunStepWithOrder.EstimatedCostCostingRunStep AS EstimatedCostCostingRunStep,
_CostingRunStepWithOrder.NumberOfProcessedObjects AS NumberOfProcessedObjects,
_CostingRunStepWithOrder.NumberOfErroneousProcdObjects AS NumberOfErroneousProcdObjects,
_CostingRunStepWithOrder.Severity AS Severity
FROM I_EstimatedCostCostingRun AS EstimatedCostCostingRun
LEFT OUTER JOIN P_EstdCostCostgRunOrderedSteps AS _CostingRunStepWithOrder ON EstimatedCostCostingRun = _CostingRunStepWithOrder.EstimatedCostCostingRun AND EstimatedCostCostingRunDate = _CostingRunStepWithOrder.EstimatedCostCostingRunDate AND CostingVersion = _CostingRunStepWithOrder.CostingVersion AND EstdCostCostingRunStepOrder = _CostingRunStepWithOrder.EstdCostCostingRunStepOrder -- 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