P_GR_StRpTrialBalanceItem

DDL: P_GR_STRPTRIALBALANCEITEM Type: view_entity COMPOSITE Package: GLO_FIN_IS_GL_GR

Greece Journal document Select

P_GR_StRpTrialBalanceItem is a Composite CDS View that provides data about "Greece Journal document Select" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 67 fields with key fields Ledger, CompanyCode, FiscalYear, SourceLedger, AccountingDocument. Part of development package GLO_FIN_IS_GL_GR.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountLineItem Item from

Parameters (2)

NameTypeDefault
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (67)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_GLAccountLineItem Ledger Ledger
KEY CompanyCode I_GLAccountLineItem CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItem FiscalYear G/L Fiscal Year
KEY SourceLedger I_GLAccountLineItem SourceLedger Source Ledger
KEY AccountingDocument I_GLAccountLineItem AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItem LedgerGLLineItem Journal Entry Item
AccountingDocumentItem I_GLAccountLineItem AccountingDocumentItem Posting View Item
FiscalPeriod I_GLAccountLineItem FiscalPeriod Tax period
FiscalYearVariant I_GLAccountLineItem FiscalYearVariant FY Variant
LedgerFiscalYear I_GLAccountLineItem LedgerFiscalYear
PostingDate I_GLAccountLineItem PostingDate Posting Date for GR
DocumentDate I_GLAccountLineItem DocumentDate Journal Entry Date
IsReversal I_GLAccountLineItem IsReversal Reversal doc.
IsReversed I_GLAccountLineItem IsReversed Reversed?
ProfitCenter I_GLAccountLineItem ProfitCenter Profit Center
FunctionalArea I_GLAccountLineItem FunctionalArea Sendr Fctl Area
BusinessArea I_GLAccountLineItem BusinessArea Business Area
ControllingArea I_GLAccountLineItem ControllingArea Controlling Area
Segment I_GLAccountLineItem Segment Segment number
ChartOfAccounts I_GLAccountLineItem ChartOfAccounts Node Class
AlternativeGLAccount I_GLAccountLineItem AlternativeGLAccount Group Account
CountryChartOfAccounts I_GLAccountLineItem CountryChartOfAccounts Chart of Accts
GLAccount I_GLAccountLineItem GLAccount General Ledger
ReconciliationAccountType
Supplier I_GLAccountLineItem Supplier Supplier
Customer I_GLAccountLineItem Customer Sold-to Party
FinancialAccountType I_GLAccountLineItem FinancialAccountType Fin. Account Type
SpecialGLCode I_GLAccountLineItem SpecialGLCode Special G/L Ind
AccountingDocumentType I_GLAccountLineItem AccountingDocumentType Journal Entry Type
PostingKey I_GLAccountLineItem PostingKey Posting Key
AccountingDocumentCategory I_GLAccountLineItem AccountingDocumentCategory Journal Entry Category
AccountingDocCreatedByUser I_GLAccountLineItem AccountingDocCreatedByUser User which created overhead document
DebitCreditCode I_GLAccountLineItem DebitCreditCode Single-Character Flag
TaxCode I_GLAccountLineItem TaxCode Tax Code
ReferenceDocument I_GLAccountLineItem ReferenceDocument Reference Document
DocumentReferenceID
CompanyCodeCurrency I_GLAccountLineItem CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency I_GLAccountLineItem AmountInCompanyCodeCurrency Local Crcy Amt
AssignmentReference I_GLAccountLineItem AssignmentReference Assignment Reference
DocumentItemText I_GLAccountLineItem DocumentItemText Text
_Supplier I_GLAccountLineItem _Supplier
_Customer I_GLAccountLineItem _Customer
_GLAccountInChartOfAccounts I_GLAccountLineItem _GLAccountInChartOfAccounts
_ProfitCenter I_GLAccountLineItem _ProfitCenter
_FunctionalArea I_GLAccountLineItem _FunctionalArea
_BusinessArea I_GLAccountLineItem _BusinessArea
_Segment I_GLAccountLineItem _Segment
_AlternativeGLAccount I_GLAccountLineItem _AlternativeGLAccount
_ControllingArea I_GLAccountLineItem _ControllingArea
_CountryChartOfAccounts I_GLAccountLineItem _CountryChartOfAccounts
_ChartOfAccounts I_GLAccountLineItem _ChartOfAccounts
_GLAccountInCompanyCode I_GLAccountLineItem _GLAccountInCompanyCode
_Ledger I_GLAccountLineItem _Ledger
_CompanyCode I_GLAccountLineItem _CompanyCode
_AccountingDocumentType I_GLAccountLineItem _AccountingDocumentType
_FiscalYear I_GLAccountLineItem _FiscalYear
_SourceLedger I_GLAccountLineItem _SourceLedger
_FiscalPeriodForVariant I_GLAccountLineItem _FiscalPeriodForVariant
_FiscalYearVariant I_GLAccountLineItem _FiscalYearVariant
_LedgerFiscalYearForVariant I_GLAccountLineItem _LedgerFiscalYearForVariant
_FinancialAccountType I_GLAccountLineItem _FinancialAccountType
_PostingKey I_GLAccountLineItem _PostingKey
_SpecialGLCode I_GLAccountLineItem _SpecialGLCode
_AccountingDocumentCategory I_GLAccountLineItem _AccountingDocumentCategory
_DebitCreditCode I_GLAccountLineItem _DebitCreditCode
_TaxCode I_GLAccountLineItem _TaxCode
_CompanyCodeCurrency I_GLAccountLineItem _CompanyCodeCurrency

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_GR_StRpTrialBalanceItem.
-- 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.
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to

CREATE VIEW P_GR_StRpTrialBalanceItem AS
SELECT
  Item.Ledger AS Ledger,
  Item.CompanyCode AS CompanyCode,
  Item.FiscalYear AS FiscalYear,
  Item.SourceLedger AS SourceLedger,
  Item.AccountingDocument AS AccountingDocument,
  Item.LedgerGLLineItem AS LedgerGLLineItem,
  Item.AccountingDocumentItem AS AccountingDocumentItem,
  Item.FiscalPeriod AS FiscalPeriod,
  Item.FiscalYearVariant AS FiscalYearVariant,
  Item.LedgerFiscalYear AS LedgerFiscalYear,
  Item.PostingDate AS PostingDate,
  Item.DocumentDate AS DocumentDate,
  Item.IsReversal AS IsReversal,
  Item.IsReversed AS IsReversed,
  Item.ProfitCenter AS ProfitCenter,
  Item.FunctionalArea AS FunctionalArea,
  Item.BusinessArea AS BusinessArea,
  Item.ControllingArea AS ControllingArea,
  Item.Segment AS Segment,
  Item.ChartOfAccounts AS ChartOfAccounts,
  Item.AlternativeGLAccount AS AlternativeGLAccount,
  Item.CountryChartOfAccounts AS CountryChartOfAccounts,
  Item.GLAccount AS GLAccount,
  Item._GLAccountInCompanyCode.ReconciliationAccountType AS ReconciliationAccountType,
  Item.Supplier AS Supplier,
  Item.Customer AS Customer,
  Item.FinancialAccountType AS FinancialAccountType,
  Item.SpecialGLCode AS SpecialGLCode,
  Item.AccountingDocumentType AS AccountingDocumentType,
  Item.PostingKey AS PostingKey,
  Item.AccountingDocumentCategory AS AccountingDocumentCategory,
  Item.AccountingDocCreatedByUser AS AccountingDocCreatedByUser,
  Item.DebitCreditCode AS DebitCreditCode,
  Item.TaxCode AS TaxCode,
  Item.ReferenceDocument AS ReferenceDocument,
  Item._JournalEntry.DocumentReferenceID AS DocumentReferenceID,
  Item.CompanyCodeCurrency AS CompanyCodeCurrency,
  Item.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  Item.AssignmentReference AS AssignmentReference,
  Item.DocumentItemText AS DocumentItemText,
  Item._Supplier AS _Supplier,
  Item._Customer AS _Customer,
  Item._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
  Item._ProfitCenter AS _ProfitCenter,
  Item._FunctionalArea AS _FunctionalArea,
  Item._BusinessArea AS _BusinessArea,
  Item._Segment AS _Segment,
  Item._AlternativeGLAccount AS _AlternativeGLAccount,
  Item._ControllingArea AS _ControllingArea,
  Item._CountryChartOfAccounts AS _CountryChartOfAccounts,
  Item._ChartOfAccounts AS _ChartOfAccounts,
  Item._GLAccountInCompanyCode AS _GLAccountInCompanyCode,
  Item._Ledger AS _Ledger,
  Item._CompanyCode AS _CompanyCode,
  Item._AccountingDocumentType AS _AccountingDocumentType,
  Item._FiscalYear AS _FiscalYear,
  Item._SourceLedger AS _SourceLedger,
  Item._FiscalPeriodForVariant AS _FiscalPeriodForVariant,
  Item._FiscalYearVariant AS _FiscalYearVariant,
  Item._LedgerFiscalYearForVariant AS _LedgerFiscalYearForVariant,
  Item._FinancialAccountType AS _FinancialAccountType,
  Item._PostingKey AS _PostingKey,
  Item._SpecialGLCode AS _SpecialGLCode,
  Item._AccountingDocumentCategory AS _AccountingDocumentCategory,
  Item._DebitCreditCode AS _DebitCreditCode,
  Item._TaxCode AS _TaxCode,
  Item._CompanyCodeCurrency AS _CompanyCodeCurrency
FROM I_GLAccountLineItem AS Item
;