P_GLAccountInCompany

DDL: P_GLACCOUNTINCOMPANY SQL: PFIGLACCTRCOMP Type: view BASIC

P_GLAccountInCompany is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_CompanyCode) and exposes 3 fields with key fields PartnerCompany, GLAccount.

Data Sources (1)

SourceAliasJoin Type
I_CompanyCode _CompanyCode inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PFIGLACCTRCOMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PartnerCompany I_GLAccount PartnerCompany Trading Partner
KEY GLAccount I_GLAccount GLAccount General Ledger
AuthorizationGroup I_GLAccount AuthorizationGroup AuthorizGroup

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_GLAccountInCompany.
-- 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: PFIGLACCTRCOMP

CREATE VIEW P_GLAccountInCompany AS
SELECT
  I_GLAccount.PartnerCompany AS PartnerCompany,
  I_GLAccount.GLAccount AS GLAccount,
  I_GLAccount.AuthorizationGroup AS AuthorizationGroup
INNER JOIN I_CompanyCode AS _CompanyCode ON /* join condition not captured in parsed metadata */
;