P_DMVCECNodeAttribute
P_DMVCECNodeAttribute is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_DMVCECNode) and exposes 55 fields with key fields CostingReferenceObject, ParentProdCostEstNumber, ProdCostEstNumber, CostingType, CostingDate. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_DMVCECNode | P_DMVCECNode | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_DMVCECCostElement | _CostElement | P_DMVCECNode.ControllingArea = _CostElement.ControllingArea and P_DMVCECNode.CostElement = _CostElement.CostElement |
| [0..*] | I_MaterialText | _MaterialText | P_DMVCECNode.Material = _MaterialText.Material |
| [0..*] | I_CostCenterActivityTypeText | _ActivityText | P_DMVCECNode.ControllingArea = _ActivityText.ControllingArea and P_DMVCECNode.CostCtrActivityType = _ActivityText.CostCtrActivityType |
| [0..*] | I_CostCenterText | _CostCenterText | P_DMVCECNode.CostCenter = _CostCenterText.CostCenter and P_DMVCECNode.ControllingArea = _CostCenterText.ControllingArea |
| [0..1] | I_UnitOfMeasure | _BaseUoM | $projection.BaseUnitInternal = _BaseUoM.UnitOfMeasure |
| [0..1] | I_WorkCenter | _WorkCenter | P_DMVCECNode.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = 'A' |
| [0..1] | I_ProductionVersion | _ProductionVersion | $projection.Material = _ProductionVersion.Material and $projection.Plant = _ProductionVersion.Plant and $projection.ProductionVersion = _ProductionVersion.ProductionVersion |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostingReferenceObject | CostingReferenceObject | ||
| KEY | ParentProdCostEstNumber | ParentProdCostEstNumber | Cost EstimateNo | |
| KEY | ProdCostEstNumber | ProdCostEstNumber | ProdCostEst.No. | |
| KEY | CostingType | CostingType | ||
| KEY | CostingDate | CostingDate | ||
| KEY | CostingVersion | CostingVersion | ||
| KEY | ValuationVariant | ValuationVariant | ||
| KEY | CostIsEnteredManually | CostIsEnteredManually | ||
| KEY | CostingItem | CostingItem | ||
| KEY | CostingItemCategory | CostingItemCategory | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostingVariant | CostingVariant | |||
| CostComponent | CostComponent | |||
| Plant | Plant | Valuation Area | ||
| CostElement | P_DMVCECNode | CostElement | G/L Account | |
| CostElementName | ||||
| Material | Material | Vehicle Model | ||
| MaterialName | ||||
| CostingLotSize | CostingLotSize | |||
| ValuationQuantityUnitInternal | ValuationQuantityUnit | |||
| ValuationQuantityUnit | ||||
| TotalAmountInCoCodeCrcy | Total Amt In Co Crcy | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TotalAmountInGroupCrcy | ||||
| GroupCurrency | GroupCurrency | Ledger curr. | ||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterName | ||||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| CostCtrActivityTypeName | ||||
| Operation | Operation | Transaction | ||
| OperationName | OperationName | |||
| WorkCenter | _WorkCenter | WorkCenter | Work Center | |
| WorkCenterName | ||||
| QuantityInBaseUnit | QuantityInBaseUnit | Quantity | ||
| BaseUnitInternal | BaseUnit | Unit of Measure | ||
| BaseUnit | _BaseUoM | UnitOfMeasure_E | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| ProcessCategory | ||||
| NodeIcon | ||||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| Supplier | Supplier | Supplier | ||
| ProductionVersion | P_DMVCECNode | ProductionVersion | Version ID | |
| ProductionVersionName | ||||
| BillOfMaterial | TransferBillOfMaterial | |||
| TaskListType | TransferTaskListType | |||
| TaskListGroup | TransferTaskListGroup | |||
| TransferCostingType | TransferCostingType | |||
| TransferCostingDate | TransferCostingDate | |||
| TransferCostingVersion | TransferCostingVersion | |||
| TransferValuationVariant | TransferValuationVariant | |||
| CostingValuationStrategy | ||||
| CostingValuationStrategyName | ||||
| MaterialValnPurgInfoRecdStrgy | MaterialValnPurgInfoRecdStrgy | |||
| _CostEstimate | _CostEstimate | |||
| _CostEstimateHead | _CostEstimateHead |
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_DMVCECNodeAttribute.
-- 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_DMVCECNodeAttribute AS
SELECT
CostingReferenceObject,
ParentProdCostEstNumber,
ProdCostEstNumber,
CostingType,
CostingDate,
CostingVersion,
ValuationVariant,
CostIsEnteredManually,
CostingItem,
CostingItemCategory,
ControllingArea,
CostingVariant,
CostComponent,
Plant,
P_DMVCECNode.CostElement AS CostElement,
cast(_CostElement._Text[ 1: Language = $session.system_language ].CostElementName as fml_dmvcec_cost_element_name ) AS CostElementName,
Material,
_MaterialText[1:Language = $session.system_language].MaterialName AS MaterialName,
CostingLotSize,
ValuationQuantityUnit AS ValuationQuantityUnitInternal,
P_DMVCECNode._ChildUnitCosting._UnitOfMeasure.UnitOfMeasure_E AS ValuationQuantityUnit,
cast( TotalAmountInCoCodeCrcy as fml_dmvcec_total_costs ) AS TotalAmountInCoCodeCrcy,
CompanyCodeCurrency,
cast( TotalAmountInGroupCrcy as fml_dmvcec_total_costs ) AS TotalAmountInGroupCrcy,
GroupCurrency,
CostCenter,
_CostCenterText[1:Language = $session.system_language].CostCenterName AS CostCenterName,
CostCtrActivityType,
cast( _ActivityText[1:Language = $session.system_language].CostCtrActivityTypeName as fco_activity_type_name ) AS CostCtrActivityTypeName,
Operation,
OperationName,
_WorkCenter.WorkCenter AS WorkCenter,
cast( _WorkCenter._Text[1:Language = $session.system_language].WorkCenterText as fml_dmvcec_work_center_name ) AS WorkCenterName,
QuantityInBaseUnit,
BaseUnit AS BaseUnitInternal,
_BaseUoM.UnitOfMeasure_E AS BaseUnit,
PurchasingDocument,
cast( '' as ckml_btyp ) AS ProcessCategory,
cast( '' as abap.char( 40 ) ) AS NodeIcon,
PurchasingOrganization,
Supplier,
P_DMVCECNode.ProductionVersion AS ProductionVersion,
cast( _ProductionVersion.ProductionVersionText as fml_dmvcec_production_v_name ) AS ProductionVersionName,
TransferBillOfMaterial AS BillOfMaterial,
TransferTaskListType AS TaskListType,
TransferTaskListGroup AS TaskListGroup,
TransferCostingType,
TransferCostingDate,
TransferCostingVersion,
TransferValuationVariant,
cast(CostingValuationStrategy as fml_dmvcec_price_strategy ) AS CostingValuationStrategy,
cast( '' as fml_dmvcec_price_strategy_name ) AS CostingValuationStrategyName,
MaterialValnPurgInfoRecdStrgy
FROM P_DMVCECNode
LEFT OUTER JOIN P_DMVCECCostElement AS _CostElement ON P_DMVCECNode.ControllingArea = _CostElement.ControllingArea AND P_DMVCECNode.CostElement = _CostElement.CostElement -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON P_DMVCECNode.Material = _MaterialText.Material -- association [0..*]
LEFT OUTER JOIN I_CostCenterActivityTypeText AS _ActivityText ON P_DMVCECNode.ControllingArea = _ActivityText.ControllingArea AND P_DMVCECNode.CostCtrActivityType = _ActivityText.CostCtrActivityType -- association [0..*]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON P_DMVCECNode.CostCenter = _CostCenterText.CostCenter AND P_DMVCECNode.ControllingArea = _CostCenterText.ControllingArea -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUoM ON BaseUnitInternal = _BaseUoM.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON P_DMVCECNode.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND _WorkCenter.WorkCenterTypeCode = 'A' -- association [0..1]
LEFT OUTER JOIN I_ProductionVersion AS _ProductionVersion ON Material = _ProductionVersion.Material AND Plant = _ProductionVersion.Plant AND ProductionVersion = _ProductionVersion.ProductionVersion -- 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