P_EstdCostCostgRunWthCurStep

DDL: P_ESTDCOSTCOSTGRUNWTHCURSTEP Type: view COMPOSITE

P_EstdCostCostgRunWthCurStep is a Composite CDS View 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.

Data Sources (1)

SourceAliasJoin Type
I_EstimatedCostCostingRun EstimatedCostCostingRun from

Associations (1)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
AbapCatalog.sqlViewName PFIESTCOSTRWSTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
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]
;