I_EstimatedCostCostingRun

DDL: I_ESTIMATEDCOSTCOSTINGRUN Type: view BASIC Package: FINS_PCP_COSTING_RUN

Estimated Cost Costing Run

I_EstimatedCostCostingRun is a Basic CDS View that provides data about "Estimated Cost Costing Run" in SAP S/4HANA. It reads from 1 data source (kala) and exposes 38 fields with key fields EstimatedCostCostingRun, EstimatedCostCostingRunDate, CostingVersion. It has 12 associations to related views. Part of development package FINS_PCP_COSTING_RUN.

Data Sources (1)

SourceAliasJoin Type
kala kala from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_CostingVersion _CostingVersion $projection.CostingVersion = _CostingVersion.CostingVersion and $projection.CostingType = _CostingVersion.CostingType and $projection.valuationvariant = _CostingVersion.ValuationVariant
[0..1] I_CostingVariant _CostingVariant _CostingVariant.CostingVariant = $projection.CostingVariant
[0..1] I_CostingType _CostingType _CostingType.CostingType = $projection.CostingType
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_CostEstimateTransferControl _TransferControl $projection.CostEstimateTransferControl = _TransferControl.CostEstimateTransferControl
[0..1] I_QuantityStructureType _QuantityStructureType $projection.QuantityStructureType = _QuantityStructureType.QuantityStructureType
[0..1] I_CostingValuationVariant _CostingValuationVariant $projection.valuationvariant = _CostingValuationVariant.ValuationVariant
[0..1] I_EstdCostRunRcrrcFrqcy _EstdCostRunRcrrcFrqcy $projection.EstdCostCostgRunRcrrcFrqcy = _EstdCostRunRcrrcFrqcy.EstdCostCostgRunRcrrcFrqcy
[0..1] I_EstdCostRunStopStep _EstdCostRunStopStep $projection.EstdCostCostgRunStoppingStep = _EstdCostRunStopStep.EstdCostCostgRunStoppingStep
[0..1] I_ControllingValuationType _ControllingValuationType $projection.controllingvaluationtype = _ControllingValuationType.ControllingValuationType
[0..1] I_CostEstimateReferenceVariant _CostEstimateReferenceVariant _CostingVariant.CostEstimateReferenceVariant = _CostEstimateReferenceVariant.CostEstimateReferenceVariant

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IFIESTDCOSTRUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey EstimatedCostCostingRun view
EndUserText.label Estimated Cost Costing Run view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY EstimatedCostCostingRun kalaid Costing Run
KEY EstimatedCostCostingRunDate kaladat Cstg Run Date
KEY CostingVersion tvers Costing Version
EstimatedCostCostingRunDesc
CostingVariant kala klvaf Costing Variant
ControllingArea kala kokrs Org. Value
CompanyCode kala bukrs Value
CostEstimateTransferControl kala uebid Transfer Control
CreatedByUser kala erfnm Created By
CreationDate kala cpudt Imported On
QuantityStructureType kala mgtyp QtyStruct. Type
QuantityStructureDate kala aldat Qty Struc. Date
CostingType kala kalka Costing Type
MaterialValuationDate kala bwdat Valuation Date
CostEstimateValidityEndDate kala bidat Costing Date To
CostEstimateValidityStartDate kala kadat Cstg Date From
EstdCostCostgRunRcrrcFrqcy kala freq Frequency ID
EstdCostCostgRunStoppingStep kala rec_step Pause Exec. After
EstdCostCostgRunRcrrcDate kala rec_date Start Date
EstdCostCostgRunRcrrcTime kala rec_time Start Time
ValuationVariant _CostingVariant ValuationVariant
_Ledger _CostingType _Ledger
_LedgerText _CostingType _LedgerText
CostEstimateReferenceVariant _CostingVariant CostEstimateReferenceVariant
_CostingValuationVariant _CostingValuationVariant
ControllingValuationType _CostingType ControllingValuationType
Ledger _CostingType Ledger Ledger
_CostingVersion _CostingVersion
_CostEstimateReferenceVariant _CostEstimateReferenceVariant
_CostingVariant _CostingVariant
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_CostingType _CostingType
_ControllingValuationType _ControllingValuationType
_QuantityStructureType _QuantityStructureType
_TransferControl _TransferControl
_EstdCostRunRcrrcFrqcy _EstdCostRunRcrrcFrqcy
_EstdCostRunStopStep _EstdCostRunStopStep

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_EstimatedCostCostingRun.
-- 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_EstimatedCostCostingRun AS
SELECT
  kalaid AS EstimatedCostCostingRun,
  kaladat AS EstimatedCostCostingRunDate,
  tvers AS CostingVersion,
  cast(kala.kalabez as fpc_costing_run_description preserving type) AS EstimatedCostCostingRunDesc,
  kala.klvaf AS CostingVariant,
  kala.kokrs AS ControllingArea,
  kala.bukrs AS CompanyCode,
  kala.uebid AS CostEstimateTransferControl,
  kala.erfnm AS CreatedByUser,
  kala.cpudt AS CreationDate,
  kala.mgtyp AS QuantityStructureType,
  kala.aldat AS QuantityStructureDate,
  kala.kalka AS CostingType,
  kala.bwdat AS MaterialValuationDate,
  kala.bidat AS CostEstimateValidityEndDate,
  kala.kadat AS CostEstimateValidityStartDate,
  kala.freq AS EstdCostCostgRunRcrrcFrqcy,
  kala.rec_step AS EstdCostCostgRunStoppingStep,
  kala.rec_date AS EstdCostCostgRunRcrrcDate,
  kala.rec_time AS EstdCostCostgRunRcrrcTime,
  _CostingVariant.ValuationVariant AS ValuationVariant,
  _CostingType._Ledger AS _Ledger,
  _CostingType._LedgerText AS _LedgerText,
  _CostingVariant.CostEstimateReferenceVariant AS CostEstimateReferenceVariant,
  _CostingType.ControllingValuationType AS ControllingValuationType,
  _CostingType.Ledger AS Ledger
FROM kala
LEFT OUTER JOIN I_CostingVersion AS _CostingVersion ON CostingVersion = _CostingVersion.CostingVersion AND CostingType = _CostingVersion.CostingType AND valuationvariant = _CostingVersion.ValuationVariant  -- association [0..1]
LEFT OUTER JOIN I_CostingVariant AS _CostingVariant ON _CostingVariant.CostingVariant = CostingVariant  -- association [0..1]
LEFT OUTER JOIN I_CostingType AS _CostingType ON _CostingType.CostingType = CostingType  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CostEstimateTransferControl AS _TransferControl ON CostEstimateTransferControl = _TransferControl.CostEstimateTransferControl  -- association [0..1]
LEFT OUTER JOIN I_QuantityStructureType AS _QuantityStructureType ON QuantityStructureType = _QuantityStructureType.QuantityStructureType  -- association [0..1]
LEFT OUTER JOIN I_CostingValuationVariant AS _CostingValuationVariant ON valuationvariant = _CostingValuationVariant.ValuationVariant  -- association [0..1]
LEFT OUTER JOIN I_EstdCostRunRcrrcFrqcy AS _EstdCostRunRcrrcFrqcy ON EstdCostCostgRunRcrrcFrqcy = _EstdCostRunRcrrcFrqcy.EstdCostCostgRunRcrrcFrqcy  -- association [0..1]
LEFT OUTER JOIN I_EstdCostRunStopStep AS _EstdCostRunStopStep ON EstdCostCostgRunStoppingStep = _EstdCostRunStopStep.EstdCostCostgRunStoppingStep  -- association [0..1]
LEFT OUTER JOIN I_ControllingValuationType AS _ControllingValuationType ON controllingvaluationtype = _ControllingValuationType.ControllingValuationType  -- association [0..1]
LEFT OUTER JOIN I_CostEstimateReferenceVariant AS _CostEstimateReferenceVariant ON _CostingVariant.CostEstimateReferenceVariant = _CostEstimateReferenceVariant.CostEstimateReferenceVariant  -- association [0..1]
;