P_DMVCECNode
Node for F4898
P_DMVCECNode is a Basic CDS View that provides data about "Node for F4898" in SAP S/4HANA. It reads from 1 data source (I_ProductCostEstimateItem) and exposes 65 fields with key fields CostingReferenceObject, ParentProdCostEstNumber, ProdCostEstNumber, CostingType, CostingDate. It has 6 associations to related views. Part of development package ODATA_ML_DMVC_EC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductCostEstimateItem | _ProdCostEst | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProductCostEstimateItem | _ChildNode | _ProdCostEst.TransferCostEstimate = _ChildNode.CostEstimate and _ProdCostEst.TransferCostingType = _ChildNode.CostingType and _ProdCostEst.TransferCostingDate = _ChildNode.CostingDate and _ProdCostEst.TransferCostingVersion = _ChildNode.CostingVersion and _ProdCostEst.TransferValuationVariant = _ChildNode.ValuationVariant and _ProdCostEst.CostingObject = _ChildNode.CostingObject |
| [0..*] | P_CKHS | _ParentUnitCosting | _ProdCostEst.CostEstimate = _ParentUnitCosting.ProdCostEstNumber and _ProdCostEst.CostingType = _ParentUnitCosting.CostingType and _ProdCostEst.CostingDate = _ParentUnitCosting.CostingDate and _ProdCostEst.CostingVersion = _ParentUnitCosting.CostingVersion and _ProdCostEst.ValuationVariant = _ParentUnitCosting.ValuationVariant |
| [0..*] | P_CKHS | _ChildUnitCosting | _ProdCostEst.TransferCostEstimate = _ChildUnitCosting.ProdCostEstNumber and _ProdCostEst.TransferCostingType = _ChildUnitCosting.CostingType and _ProdCostEst.TransferCostingDate = _ChildUnitCosting.CostingDate and _ProdCostEst.TransferCostingVersion = _ChildUnitCosting.CostingVersion and _ProdCostEst.TransferValuationVariant = _ChildUnitCosting.ValuationVariant |
| [0..*] | P_ProductCostEstimateItemText | _ParentText | _ProdCostEst.CostEstimate = _ParentText.ProdCostEstNumber and _ProdCostEst.CostingType = _ParentText.CostingType and _ProdCostEst.CostingDate = _ParentText.CostingDate and _ProdCostEst.CostingVersion = _ParentText.CostingVersion and _ProdCostEst.ValuationVariant = _ParentText.ValuationVariant and _ProdCostEst.CostingItem = _ParentText.CostingItem |
| [0..1] | I_Supplier | _Supplier | _ProdCostEst.Creditor = _Supplier.Supplier and _Supplier.IsBusinessPurposeCompleted <> 'X' |
| [0..1] | I_CostingVariant | _CostingVariant | _ProdCostEst.CostingType = _CostingVariant.CostingType and _ProdCostEst.ValuationVariant = _CostingVariant.ValuationVariant and _CostingVariant.CostEstimateReferenceVariant = '00' |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostingReferenceObject | I_ProductCostEstimateItem | CostingReferenceObject | |
| KEY | ParentProdCostEstNumber | I_ProductCostEstimateItem | CostEstimate | Cost EstimateNo |
| KEY | ProdCostEstNumber | I_ProductCostEstimateItem | TransferCostEstimate | |
| KEY | CostingType | I_ProductCostEstimateItem | CostingType | |
| KEY | CostingDate | I_ProductCostEstimateItem | CostingDate | |
| KEY | CostingVersion | I_ProductCostEstimateItem | CostingVersion | |
| KEY | ValuationVariant | I_ProductCostEstimateItem | ValuationVariant | |
| KEY | CostingItem | I_ProductCostEstimateItem | CostingItem | |
| KEY | CostIsEnteredManually | I_ProductCostEstimateItem | CostIsEnteredManually | |
| KEY | CostingItemCategory | I_ProductCostEstimateItem | CostingItemCategory | |
| CostElement | I_ProductCostEstimateItem | CostElement | G/L Account | |
| Material | I_ProductCostEstimateItem | Product | Product Sold | |
| Plant | I_ProductCostEstimateItem | Plant | Valuation Area | |
| ControllingArea | ||||
| CostingVariant | _CostingVariant | CostingVariant | ||
| CostComponentendasCostComponent | ||||
| ProductionVersion | ||||
| BillOfMaterial | ||||
| TaskListType | ||||
| TaskListGroup | ||||
| CostEstimateCostingLevel | ||||
| CostEstimateValidityStartDate | ||||
| CostEstimateValidityEndDate | ||||
| CostEstimateStatus | ||||
| CostEstIsMixedCosting | ||||
| QuantityInBaseUnit | I_ProductCostEstimateItem | QuantityInBaseUnit | Quantity | |
| BaseUnit | I_ProductCostEstimateItem | BaseUnit | Unit of Measure | |
| CostingLotSize | _ChildUnitCosting | CostingLotSize | ||
| ValuationQuantityUnit | _ChildUnitCosting | ValuationQuantityUnit | ||
| TotalAmountInCoCodeCrcy | _ChildUnitCosting | TotalAmountInCoCodeCrcy | Total Amt In Co Crcy | |
| CompanyCodeCurrency | _ChildUnitCosting | CompanyCodeCurrency | Local Currency | |
| TotalAmountInGroupCrcy | _ChildUnitCosting | TotalAmountInGroupCrcy | ||
| GroupCurrency | _ChildUnitCosting | GroupCurrency | Ledger curr. | |
| Operation | ||||
| OperationName | ||||
| CostCenter | I_ProductCostEstimateItem | CostCenter | Cost Center | |
| CostCtrActivityType | I_ProductCostEstimateItem | CostCtrActivityType | Activity Type | |
| Supplier | _Supplier | Supplier | Supplier | |
| PurchasingDocument | I_ProductCostEstimateItem | PurchasingDocument | Purchasing Document | |
| PurchasingOrganization | I_ProductCostEstimateItem | PurchasingOrganization | Purchasing Organization | |
| WorkCenterInternalID | I_ProductCostEstimateItem | CostingObject | ||
| CostingValuationStrategy | I_ProductCostEstimateItem | CostingValuationStrategy | ||
| MaterialValnPurgInfoRecdStrgy | I_ProductCostEstimateItem | ProductValnPurgInfoRecdStrgy | ||
| TransferCostEstimate | I_ProductCostEstimateItem | TransferCostEstimate | ||
| TransferCostingType | I_ProductCostEstimateItem | TransferCostingType | ||
| TransferCostingDate | I_ProductCostEstimateItem | TransferCostingDate | ||
| TransferCostingVersion | I_ProductCostEstimateItem | TransferCostingVersion | ||
| TransferValuationVariant | I_ProductCostEstimateItem | TransferValuationVariant | ||
| TransferProdCostEstNumber | _ChildNode | TransferCostEstimate | ||
| TransferMaterial | _ChildNode | Product | Product Sold | |
| TransferPlant | _ChildNode | Plant | Valuation Area | |
| TransferCostingItemCategory | _ChildNode | CostingItemCategory | ||
| TransferCostingItem | _ChildNode | CostingItem | ||
| TransferBillOfMaterial | ||||
| TransferTaskListType | ||||
| TransferTaskListGroup | ||||
| TransferCostingLotSize | _ChildUnitCosting | CostingLotSize | ||
| TransferValuationQuantityUnit | _ChildUnitCosting | ValuationQuantityUnit | ||
| TransferCostElement | _ChildNode | CostElement | G/L Account | |
| _Product | _Product | |||
| _ChildNode | _ChildNode | |||
| _ParentUnitCosting | _ParentUnitCosting | |||
| _ChildUnitCosting | _ChildUnitCosting | |||
| _CostEstimate | I_ProductCostEstimateItem | _CostEstimate | ||
| _CostEstimateHead | I_ProductCostEstimateItem | _CostEstimate |
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_DMVCECNode.
-- 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_DMVCECNode AS
SELECT
_ProdCostEst.CostingReferenceObject AS CostingReferenceObject,
_ProdCostEst.CostEstimate AS ParentProdCostEstNumber,
_ProdCostEst.TransferCostEstimate AS ProdCostEstNumber,
_ProdCostEst.CostingType AS CostingType,
_ProdCostEst.CostingDate AS CostingDate,
_ProdCostEst.CostingVersion AS CostingVersion,
_ProdCostEst.ValuationVariant AS ValuationVariant,
_ProdCostEst.CostingItem AS CostingItem,
_ProdCostEst.CostIsEnteredManually AS CostIsEnteredManually,
_ProdCostEst.CostingItemCategory AS CostingItemCategory,
_ProdCostEst.CostElement AS CostElement,
_ProdCostEst.Product AS Material,
_ProdCostEst.Plant AS Plant,
_ProdCostEst._CostEstimate.ControllingArea AS ControllingArea,
_CostingVariant.CostingVariant AS CostingVariant,
case when _ProdCostEst.CostingItemCategory = 'M' then _ChildNode.CostComponent else _ProdCostEst.CostComponent end as CostComponent AS CostComponentendasCostComponent,
_ProdCostEst._CostEstimate.ProductionVersion AS ProductionVersion,
_ProdCostEst._CostEstimate.BillOfMaterial AS BillOfMaterial,
_ProdCostEst._CostEstimate.TaskListType AS TaskListType,
_ProdCostEst._CostEstimate.TaskListGroup AS TaskListGroup,
_ProdCostEst._CostEstimate.CostEstimateCostingLevel AS CostEstimateCostingLevel,
_ProdCostEst._CostEstimate.CostEstimateValidityStartDate AS CostEstimateValidityStartDate,
_ProdCostEst._CostEstimate.CostEstimateValidityEndDate AS CostEstimateValidityEndDate,
_ProdCostEst._CostEstimate.CostEstimateStatus AS CostEstimateStatus,
_ProdCostEst._CostEstimate.CostEstIsMixedCosting AS CostEstIsMixedCosting,
_ProdCostEst.QuantityInBaseUnit AS QuantityInBaseUnit,
_ProdCostEst.BaseUnit AS BaseUnit,
_ChildUnitCosting.CostingLotSize AS CostingLotSize,
_ChildUnitCosting.ValuationQuantityUnit AS ValuationQuantityUnit,
_ChildUnitCosting.TotalAmountInCoCodeCrcy AS TotalAmountInCoCodeCrcy,
_ChildUnitCosting.CompanyCodeCurrency AS CompanyCodeCurrency,
_ChildUnitCosting.TotalAmountInGroupCrcy AS TotalAmountInGroupCrcy,
_ChildUnitCosting.GroupCurrency AS GroupCurrency,
cast( _ProdCostEst.Operation as fml_dmvcec_operation preserving type ) AS Operation,
cast( _ParentText[1: Language = $session.system_language or Language = 'D' ].Description as fml_dmvcec_operation_name preserving type ) AS OperationName,
_ProdCostEst.CostCenter AS CostCenter,
_ProdCostEst.CostCtrActivityType AS CostCtrActivityType,
_Supplier.Supplier AS Supplier,
_ProdCostEst.PurchasingDocument AS PurchasingDocument,
_ProdCostEst.PurchasingOrganization AS PurchasingOrganization,
_ProdCostEst.CostingObject AS WorkCenterInternalID,
_ProdCostEst.CostingValuationStrategy AS CostingValuationStrategy,
_ProdCostEst.ProductValnPurgInfoRecdStrgy AS MaterialValnPurgInfoRecdStrgy,
_ProdCostEst.TransferCostEstimate AS TransferCostEstimate,
_ProdCostEst.TransferCostingType AS TransferCostingType,
_ProdCostEst.TransferCostingDate AS TransferCostingDate,
_ProdCostEst.TransferCostingVersion AS TransferCostingVersion,
_ProdCostEst.TransferValuationVariant AS TransferValuationVariant,
_ChildNode.TransferCostEstimate AS TransferProdCostEstNumber,
_ChildNode.Product AS TransferMaterial,
_ChildNode.Plant AS TransferPlant,
_ChildNode.CostingItemCategory AS TransferCostingItemCategory,
_ChildNode.CostingItem AS TransferCostingItem,
_ChildNode._CostEstimate.BillOfMaterial AS TransferBillOfMaterial,
_ChildNode._CostEstimate.TaskListType AS TransferTaskListType,
_ChildNode._CostEstimate.TaskListGroup AS TransferTaskListGroup,
_ChildUnitCosting.CostingLotSize AS TransferCostingLotSize,
_ChildUnitCosting.ValuationQuantityUnit AS TransferValuationQuantityUnit,
_ChildNode.CostElement AS TransferCostElement,
_ProdCostEst._CostEstimate AS _CostEstimate,
_ProdCostEst._CostEstimate AS _CostEstimateHead
FROM I_ProductCostEstimateItem AS _ProdCostEst
LEFT OUTER JOIN I_ProductCostEstimateItem AS _ChildNode ON _ProdCostEst.TransferCostEstimate = _ChildNode.CostEstimate AND _ProdCostEst.TransferCostingType = _ChildNode.CostingType AND _ProdCostEst.TransferCostingDate = _ChildNode.CostingDate AND _ProdCostEst.TransferCostingVersion = _ChildNode.CostingVersion AND _ProdCostEst.TransferValuationVariant = _ChildNode.ValuationVariant AND _ProdCostEst.CostingObject = _ChildNode.CostingObject -- association [0..*]
LEFT OUTER JOIN P_CKHS AS _ParentUnitCosting ON _ProdCostEst.CostEstimate = _ParentUnitCosting.ProdCostEstNumber AND _ProdCostEst.CostingType = _ParentUnitCosting.CostingType AND _ProdCostEst.CostingDate = _ParentUnitCosting.CostingDate AND _ProdCostEst.CostingVersion = _ParentUnitCosting.CostingVersion AND _ProdCostEst.ValuationVariant = _ParentUnitCosting.ValuationVariant -- association [0..*]
LEFT OUTER JOIN P_CKHS AS _ChildUnitCosting ON _ProdCostEst.TransferCostEstimate = _ChildUnitCosting.ProdCostEstNumber AND _ProdCostEst.TransferCostingType = _ChildUnitCosting.CostingType AND _ProdCostEst.TransferCostingDate = _ChildUnitCosting.CostingDate AND _ProdCostEst.TransferCostingVersion = _ChildUnitCosting.CostingVersion AND _ProdCostEst.TransferValuationVariant = _ChildUnitCosting.ValuationVariant -- association [0..*]
LEFT OUTER JOIN P_ProductCostEstimateItemText AS _ParentText ON _ProdCostEst.CostEstimate = _ParentText.ProdCostEstNumber AND _ProdCostEst.CostingType = _ParentText.CostingType AND _ProdCostEst.CostingDate = _ParentText.CostingDate AND _ProdCostEst.CostingVersion = _ParentText.CostingVersion AND _ProdCostEst.ValuationVariant = _ParentText.ValuationVariant AND _ProdCostEst.CostingItem = _ParentText.CostingItem -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON _ProdCostEst.Creditor = _Supplier.Supplier AND _Supplier.IsBusinessPurposeCompleted <> 'X' -- association [0..1]
LEFT OUTER JOIN I_CostingVariant AS _CostingVariant ON _ProdCostEst.CostingType = _CostingVariant.CostingType AND _ProdCostEst.ValuationVariant = _CostingVariant.ValuationVariant AND _CostingVariant.CostEstimateReferenceVariant = '00' -- 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