P_OffsettingAccountVH

DDL: P_OFFSETTINGACCOUNTVH SQL: PFIOFFACCTVH Type: view COMPOSITE

P_OffsettingAccountVH is a Composite CDS View in SAP S/4HANA. It reads from 5 data sources (I_Customer, I_GLAccountInChartOfAccounts, I_GLAccountInChartOfAccounts, I_GLAccountInChartOfAccounts, I_Supplier) and exposes 9 fields with key fields ChartOfAccounts, OffsettingAccount, ChartOfAccounts, OffsettingAccount, ChartOfAccounts.

Data Sources (5)

SourceAliasJoin Type
I_Customer I_Customer union_all
I_GLAccountInChartOfAccounts I_GLAccountInChartOfAccounts from
I_GLAccountInChartOfAccounts I_GLAccountInChartOfAccounts union_all
I_GLAccountInChartOfAccounts I_GLAccountInChartOfAccounts union_all
I_Supplier I_Supplier union_all

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIOFFACCTVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAccountInChartOfAccounts ChartOfAccounts Node Class
KEY OffsettingAccount
KEY ChartOfAccounts Node Class
KEY OffsettingAccount
KEY ChartOfAccounts Node Class
KEY OffsettingAccount
KEY OffsettingAccount
KEY OffsettingAccount
KEY OffsettingAccountType

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_OffsettingAccountVH.
-- 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: PFIOFFACCTVH

CREATE VIEW P_OffsettingAccountVH AS
SELECT
  I_GLAccountInChartOfAccounts.ChartOfAccounts AS ChartOfAccounts,
  cast(I_GLAccountInChartOfAccounts.GLAccount as fis_gkont preserving type ) AS OffsettingAccount,
  cast('K' as farp_gkoar preserving type ) AS OffsettingAccountType
FROM I_GLAccountInChartOfAccounts
-- UNION ALL with additional select branch(es): I_GLAccountInChartOfAccounts, I_Customer, I_Supplier
;