I_PRAGLAccountText

DDL: I_PRAGLACCOUNTTEXT SQL: IPVPRAGLACCOUNTT Type: view BASIC

PRA General Ledger Account - Text

I_PRAGLAccountText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_PRAGLAccountText is a Basic CDS View that provides data about "PRA General Ledger Account - Text" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, I_GLAccountText) and exposes 8 fields with key fields CompanyCode, GLAccount, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesLanguage-Dependent Text, Data Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (2)

SourceAliasJoin Type
I_CompanyCode I_CompanyCode inner
I_GLAccountText I_GLAccountText from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount

Annotations (13)

NameValueLevelField
EndUserText.label PRA General Ledger Account - Text view
ObjectModel.dataCategory #TEXT view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVPRAGLACCOUNTT view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey GLAccount view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_CompanyCode CompanyCode Receiver Company Code
KEY GLAccount GLAccount G/L Account Number
KEY Language I_GLAccountText Language Report Text Language
ChartOfAccounts I_CompanyCode ChartOfAccounts Chart of Accounts
GLAccountName GLAccountName G/L Account Name
GLAccountLongName GLAccountLongName G/L Account Long Name
_CompanyCode _CompanyCode
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts

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_PRAGLAccountText.
-- 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: IPVPRAGLACCOUNTT

CREATE VIEW I_PRAGLAccountText AS
SELECT
  I_CompanyCode.CompanyCode AS CompanyCode,
  GLAccount,
  I_GLAccountText.Language AS Language,
  I_CompanyCode.ChartOfAccounts AS ChartOfAccounts,
  GLAccountName,
  GLAccountLongName
FROM I_GLAccountText
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
;