I_PRAGLAccount

DDL: I_PRAGLACCOUNT SQL: IPVPRAGLACCOUNT Type: view BASIC

PRA GL Account

I_PRAGLAccount (Basic)

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

PRA General Ledger Account · Cross Applications

I_PRAGLAccount is a Basic CDS View (Dimension) that provides data about "PRA GL Account" in SAP S/4HANA. It reads from 1 data source (P_PRAGLChartOfAccounts) and exposes 10 fields with key fields CompanyCode, GLAccount. It has 5 associations to related views. It is exposed through 2 OData services (UI_INTERESTDETAILSDATAMANAGE, UI_INTRSTOWNRDETSDATAMANAGE).

SAP API Hub

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

Documentation

Data Sources (1)

SourceAliasJoin Type
P_PRAGLChartOfAccounts P_PRAGLChartOfAccounts from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
[0..1] I_PRAGLAccountType _GLAccountType $projection.GLAccountType = _GLAccountType.GLAccountType
[0..*] I_PRAGLAccountText _Text $projection.CompanyCode = _Text.CompanyCode and $projection.GLAccount = _Text.GLAccount
[0..1] I_Indicator _StatusIsActive $projection.StatusIsActive = _StatusIsActive.IndicatorValue

Annotations (14)

NameValueLevelField
EndUserText.label PRA GL Account view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVPRAGLACCOUNT view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey GLAccount view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view

OData Services (2)

ServiceBindingVersionContractRelease
UI_INTERESTDETAILSDATAMANAGE UI_INTRSTDETAILSDATAMANAGE V2 C1 NOT_RELEASED
UI_INTRSTOWNRDETSDATAMANAGE UI_INTRSTOWNRDETSMANAGE V2 C1 NOT_RELEASED

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY GLAccount GLAccount G/L Account Number
ChartOfAccounts _CompanyCode ChartOfAccounts Chart of Accounts
GLAccountType GLAccountType G/L Account Type
StatusIsActive StatusIsActive Active Indicator
_CompanyCode _CompanyCode
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccountType _GLAccountType
_StatusIsActive _StatusIsActive
_Text _Text

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_PRAGLAccount.
-- 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: IPVPRAGLACCOUNT

CREATE VIEW I_PRAGLAccount AS
SELECT
  CompanyCode,
  GLAccount,
  _CompanyCode.ChartOfAccounts AS ChartOfAccounts,
  GLAccountType,
  StatusIsActive
FROM P_PRAGLChartOfAccounts
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]
LEFT OUTER JOIN I_PRAGLAccountType AS _GLAccountType ON GLAccountType = _GLAccountType.GLAccountType  -- association [0..1]
LEFT OUTER JOIN I_PRAGLAccountText AS _Text ON CompanyCode = _Text.CompanyCode AND GLAccount = _Text.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _StatusIsActive ON StatusIsActive = _StatusIsActive.IndicatorValue  -- association [0..1]
;