P_CO_DIANInventoryGLAccount

DDL: P_CO_DIANINVENTORYGLACCOUNT Type: view CONSUMPTION

P_CO_DIANInventoryGLAccount is a Consumption CDS View in SAP S/4HANA. It reads from 4 data sources (I_CompanyCode, I_COPCCMaterialValuation, I_TransactionTypeStdGLAcct, t001k) and exposes 6 fields with key fields Material, ValuationArea, ValuationType, CompanyCode, ChartOfAccounts.

Data Sources (4)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
I_COPCCMaterialValuation MaterialValuation from
I_TransactionTypeStdGLAcct TransactionTypeStdGLAcct inner
t001k ValuationArea inner

Annotations (11)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PCOINVTRYGLACCT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #P view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Material I_COPCCMaterialValuation Material Vehicle Model
KEY ValuationArea I_COPCCMaterialValuation ValuationArea Valuation Area
KEY ValuationType I_COPCCMaterialValuation ValuationType Valuation Type
KEY CompanyCode I_CompanyCode CompanyCode Receiver Company Code
KEY ChartOfAccounts I_CompanyCode ChartOfAccounts Node Class
DebitGLAccount I_TransactionTypeStdGLAcct DebitGLAccount G/L Account

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_CO_DIANInventoryGLAccount.
-- 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_CO_DIANInventoryGLAccount AS
SELECT
  MaterialValuation.Material AS Material,
  MaterialValuation.ValuationArea AS ValuationArea,
  MaterialValuation.ValuationType AS ValuationType,
  CompanyCode.CompanyCode AS CompanyCode,
  CompanyCode.ChartOfAccounts AS ChartOfAccounts,
  TransactionTypeStdGLAcct.DebitGLAccount AS DebitGLAccount
FROM I_COPCCMaterialValuation AS MaterialValuation
INNER JOIN t001k AS ValuationArea ON /* join condition not captured in parsed metadata */
INNER JOIN I_CompanyCode AS CompanyCode ON /* join condition not captured in parsed metadata */
INNER JOIN I_TransactionTypeStdGLAcct AS TransactionTypeStdGLAcct ON /* join condition not captured in parsed metadata */
;