P_DMVCNodeAttribute
DMVC: Node Attribute
P_DMVCNodeAttribute is a Composite CDS View that provides data about "DMVC: Node Attribute" in SAP S/4HANA. It reads from 1 data source (P_DMVCMaterialActivityNode) and exposes 32 fields with key fields CostEstimate, DMVCNodeType. It has 3 associations to related views. Part of development package ODATA_ML_MATLVCA_DISP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_DMVCMaterialActivityNode | P_DMVCMaterialActivityNode | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_DateFrom | calendardate | |
| P_DateTo | calendardate | |
| P_CurrencyType | curtp | |
| P_Ledger | rldnr |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_MLProcessCategoryText | _ProcessCategoryText | _ProcessCategoryText.ProcessCategory = _Node.DMVCNodeType and _ProcessCategoryText.Language = $session.system_language |
| [0..1] | I_MatlProcurementTypeText | _ProcurementTypeText | _ProcurementTypeText.MaterialProcurementType = _Node.MaterialProcurementType and _ProcurementTypeText.Language = $session.system_language |
| [0..1] | I_UnitOfMeasure | _UoM | $projection.ValuationQuantityUnitInternal = _UoM.UnitOfMeasure |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PDMVCNODEATTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| KEY | DMVCNodeType | DMVCNodeType | ||
| NodeNameendasNodeName | ||||
| ProcessCategory | ProcessCategory | |||
| Shape | Shape | |||
| Plant | Plant | Valuation Area | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| MaterialDescription | MaterialName | Material Description | ||
| MaterialProcurementType | MaterialProcurementType | Spec. procuremt | ||
| MaterialProcurementTypeName | _ProcurementTypeText | MaterialProcurementTypeName | ||
| MaterialType | MaterialType | Material Type | ||
| MaterialTypeName | MaterialTypeName | Mat.Type Desc. | ||
| MaterialValuationClass | MaterialValuationClass | Valuation Class | ||
| ShownConsumptionQty | ||||
| ValuationQuantityUnitInternal | _Node | ValuationQuantityUnit | ||
| ValuationQuantityUnit | _UoM | UnitOfMeasure_E | ||
| ShownConsumptionValue | ||||
| Currency | Currency | Valuation Crcy | ||
| LedgerValuationCurrencyRole | LedgerValuationCurrencyRole | |||
| ProfitCenter | ||||
| ProfitCenterMD | ProfitCenterMD | |||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| Supplier | Supplier | Supplier | ||
| SourceLedger | SourceLedger | Source Ledger | ||
| SourceCompanyCode | SourceCompanyCode | |||
| AccountingDocument | ||||
| LedgerGLLineItem | ||||
| Timestamp |
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_DMVCNodeAttribute.
-- 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.
-- SQL view name: PDMVCNODEATTR
-- Parameters: P_DateFrom : calendardate, P_DateTo : calendardate, P_CurrencyType : curtp, P_Ledger : rldnr
CREATE VIEW P_DMVCNodeAttribute AS
SELECT
CostEstimate,
DMVCNodeType,
case when _Node.NodeName is null or _Node.NodeName = '' then _ProcessCategoryText.ProcessCategoryName else _Node.NodeName end as NodeName AS NodeNameendasNodeName,
ProcessCategory,
Shape,
Plant,
ValuationArea,
InventoryValuationType,
CompanyCode,
MaterialName AS MaterialDescription,
MaterialProcurementType,
_ProcurementTypeText.MaterialProcurementTypeName AS MaterialProcurementTypeName,
MaterialType,
MaterialTypeName,
MaterialValuationClass,
cast( MaterialConsumptionQty as fml_dmvc_shown_cons_qty) AS ShownConsumptionQty,
_Node.ValuationQuantityUnit AS ValuationQuantityUnitInternal,
_UoM.UnitOfMeasure_E AS ValuationQuantityUnit,
cast( MaterialConsumptionValue as fml_dmvc_shown_cons_value) AS ShownConsumptionValue,
Currency,
LedgerValuationCurrencyRole,
max(ProfitCenter) AS ProfitCenter,
ProfitCenterMD,
SalesDocument,
SalesDocumentItem,
WBSElement,
Supplier,
SourceLedger,
SourceCompanyCode,
max( all AccountingDocument) AS AccountingDocument,
max( all LedgerGLLineItem) AS LedgerGLLineItem,
max(Timestamp) AS Timestamp
FROM P_DMVCMaterialActivityNode
LEFT OUTER JOIN P_MLProcessCategoryText AS _ProcessCategoryText ON _ProcessCategoryText.ProcessCategory = _Node.DMVCNodeType AND _ProcessCategoryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementTypeText AS _ProcurementTypeText ON _ProcurementTypeText.MaterialProcurementType = _Node.MaterialProcurementType AND _ProcurementTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UoM ON ValuationQuantityUnitInternal = _UoM.UnitOfMeasure -- 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