P_DMVCEdgeSemanticTag

DDL: P_DMVCEDGESEMANTICTAG SQL: PDMVCEDGESEMTAG Type: view COMPOSITE Package: ODATA_ML_MATLVCA_DISP

DMVC: Semantic Tag for Edge

P_DMVCEdgeSemanticTag is a Composite CDS View that provides data about "DMVC: Semantic Tag for Edge" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItemSemTag, P_DMVCGLAccLineItemEdge) and exposes 25 fields with key fields MaterialValueChainNodeFrom, MaterialValueChainNodeTo, CompanyCode, AccountingDocument, LedgerGLLineItem. Part of development package ODATA_ML_MATLVCA_DISP.

Data Sources (2)

SourceAliasJoin Type
I_GLAccountLineItemSemTag _SemTag inner
P_DMVCGLAccLineItemEdge P_DMVCGLAccLineItemEdge from

Parameters (4)

NameTypeDefault
P_DateFrom calendardate
P_DateTo calendardate
P_CurrencyType fins_curtype
P_Ledger fins_ledger

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PDMVCEDGESEMTAG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY MaterialValueChainNodeFrom MaterialValueChainNodeFrom
KEY MaterialValueChainNodeTo MaterialValueChainNodeTo
KEY CompanyCode I_GLAccountLineItemSemTag CompanyCode Receiver Company Code
KEY AccountingDocument I_GLAccountLineItemSemTag AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItemSemTag LedgerGLLineItem Journal Entry Item
KEY GLAccountHierarchy I_GLAccountLineItemSemTag GLAccountHierarchy
KEY SemanticTag I_GLAccountLineItemSemTag SemanticTag Semantic Tag
KEY ValidityStartDate I_GLAccountLineItemSemTag ValidityStartDate Validity Start Date
KEY ValidityEndDate I_GLAccountLineItemSemTag ValidityEndDate ValidTo
SemanticTagName
Currency _Edge Currency Valuation Crcy
Ledger Ledger Ledger
FinancialAccountType FinancialAccountType Fin. Account Type
BusinessArea BusinessArea Business Area
FunctionalArea I_GLAccountLineItemSemTag FunctionalArea Sendr Fctl Area
Segment Segment Segment number
ValuationArea I_GLAccountLineItemSemTag ValuationArea Valuation Area
GLAccountAuthorizationGroup
SupplierAuthznGrp
CustomerAuthznGrp
AcctgDocTypeAuthorizationGroup
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
GLAccount GLAccount General Ledger
ProfitCtrResponsibleUser

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_DMVCEdgeSemanticTag.
-- 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: PDMVCEDGESEMTAG
-- Parameters: P_DateFrom : calendardate, P_DateTo : calendardate, P_CurrencyType : fins_curtype, P_Ledger : fins_ledger

CREATE VIEW P_DMVCEdgeSemanticTag AS
SELECT
  MaterialValueChainNodeFrom,
  MaterialValueChainNodeTo,
  _SemTag.CompanyCode AS CompanyCode,
  _SemTag.AccountingDocument AS AccountingDocument,
  _SemTag.LedgerGLLineItem AS LedgerGLLineItem,
  _SemTag.GLAccountHierarchy AS GLAccountHierarchy,
  _SemTag.SemanticTag AS SemanticTag,
  _SemTag.ValidityStartDate AS ValidityStartDate,
  _SemTag.ValidityEndDate AS ValidityEndDate,
  _SemTag._SemanticTag._Text[ Language = $session.system_language ].SemanticTagName AS SemanticTagName,
  _Edge.Currency AS Currency,
  Ledger,
  FinancialAccountType,
  BusinessArea,
  _SemTag.FunctionalArea AS FunctionalArea,
  Segment,
  _SemTag.ValuationArea AS ValuationArea,
  _SemTag._GLAccountInCompanyCode.AuthorizationGroup AS GLAccountAuthorizationGroup,
  _SemTag._Supplier.AuthorizationGroup AS SupplierAuthznGrp,
  _SemTag._Customer.AuthorizationGroup AS CustomerAuthznGrp,
  _SemTag._AccountingDocumentType.AuthorizationGroup AS AcctgDocTypeAuthorizationGroup,
  ProfitCenter,
  ControllingArea,
  GLAccount,
  _SemTag._CurrentProfitCenter.ProfitCtrResponsibleUser AS ProfitCtrResponsibleUser
FROM P_DMVCGLAccLineItemEdge
INNER JOIN I_GLAccountLineItemSemTag AS _SemTag ON /* join condition not captured in parsed metadata */
;