P_DefaultCOGSSplitTargetAcct

DDL: P_DEFAULTCOGSSPLITTARGETACCT SQL: PDFLTCOGSACCT Type: view COMPOSITE

P_DefaultCOGSSplitTargetAcct is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_COGSSplitProfileItem) and exposes 8 fields with key fields GLAccount, ChartOfAccounts, COGSSplitProfile, COGSSplitSourceAccount, COGSSplitStrategy.

Data Sources (1)

SourceAliasJoin Type
I_COGSSplitProfileItem I_COGSSplitProfileItem from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PDFLTCOGSACCT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY GLAccount
KEY ChartOfAccounts I_COGSSplitProfileItem ChartOfAccounts Node Class
KEY COGSSplitProfile I_COGSSplitProfileItem COGSSplitProfile Cost Splitting Prof.
KEY COGSSplitSourceAccount I_COGSSplitProfileItem COGSSplitSourceAccount Source Account
KEY COGSSplitStrategy I_COGSSplitProfileItem COGSSplitStrategy Strategy
KEY CostComponentStructure I_COGSSplitProfileItem CostComponentStructure Cost Comp. Str.
KEY CostComponent I_COGSSplitProfileItem CostComponent Cost Component
COGSSplitTargetAccount I_COGSSplitProfileItem COGSSplitTargetAccount Target 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_DefaultCOGSSplitTargetAcct.
-- 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: PDFLTCOGSACCT

CREATE VIEW P_DefaultCOGSSplitTargetAcct AS
SELECT
  '' AS GLAccount,
  I_COGSSplitProfileItem.ChartOfAccounts AS ChartOfAccounts,
  I_COGSSplitProfileItem.COGSSplitProfile AS COGSSplitProfile,
  I_COGSSplitProfileItem.COGSSplitSourceAccount AS COGSSplitSourceAccount,
  I_COGSSplitProfileItem.COGSSplitStrategy AS COGSSplitStrategy,
  I_COGSSplitProfileItem.CostComponentStructure AS CostComponentStructure,
  I_COGSSplitProfileItem.CostComponent AS CostComponent,
  I_COGSSplitProfileItem.COGSSplitTargetAccount AS COGSSplitTargetAccount
FROM I_COGSSplitProfileItem
;