I_GLAcctInChartOfAcctsProdn

DDL: I_GLACCTINCHARTOFACCTSPRODN SQL: IFIGLACCINCOAPRN Type: view BASIC

GL Account not needed in production

I_GLAcctInChartOfAcctsProdn is a Basic CDS View that provides data about "GL Account not needed in production" in SAP S/4HANA. It reads from 1 data source (skad) and exposes 5 fields with key fields ChartOfAccounts, GLAccount. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
skad skad from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_GLAccountInChartOfAccounts _GLAcct $projection.ChartOfAccounts = _GLAcct.ChartOfAccounts and $projection.GLAccount = _GLAcct.GLAccount
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (15)

NameValueLevelField
EndUserText.label GL Account not needed in production view
AbapCatalog.sqlViewName IFIGLACCINCOAPRN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts skad ktopl G/L Chart of Accounts
KEY GLAccount skad saknr G/L Account
GLAccountIsNotProdnRelevant skad not_needed G/L Account Not Used
_GLAcct _GLAcct
_ChartOfAccounts _ChartOfAccounts

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 I_GLAcctInChartOfAcctsProdn.
-- 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: IFIGLACCINCOAPRN

CREATE VIEW I_GLAcctInChartOfAcctsProdn AS
SELECT
  skad.ktopl AS ChartOfAccounts,
  skad.saknr AS GLAccount,
  skad.not_needed AS GLAccountIsNotProdnRelevant
FROM skad
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAcct ON ChartOfAccounts = _GLAcct.ChartOfAccounts AND GLAccount = _GLAcct.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
;