C_GR_JournalDocumentCube

DDL: C_GR_JOURNALDOCUMENTCUBE Type: view_entity CONSUMPTION Package: GLO_FIN_IS_GL_GR

Greece Journal document - Cube

C_GR_JournalDocumentCube is a Consumption CDS View (Cube) that provides data about "Greece Journal document - Cube" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 65 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package GLO_FIN_IS_GL_GR.

Data Sources (1)

SourceAliasJoin Type
I_StRpTrialBalanceItemCube I_StRpTrialBalanceItemCube from

Parameters (4)

NameTypeDefault
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to
P_FromFiscalPeriod fis_period_from
P_ToFiscalPeriod fis_period_to

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Greece Journal document - Cube view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY SourceLedger SourceLedger Source Ledger
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptRunID StatryRptRunID Report Run ID
ChartOfAccounts ChartOfAccounts Node Class
GLAccount GLAccount General Ledger
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
FiscalPeriod FiscalPeriod Tax period
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Customer Customer Sold-to Party
CustomerName _Customer CustomerName Name of Customer
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
PostingKey PostingKey Posting Key
PostingKeyName
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
DebitCreditCode DebitCreditCode Single-Character Flag
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DocumentItemText DocumentItemText Text
AlternativeGLAccount AlternativeGLAccount Group Account
TransactionCurrency TransactionCurrency Transaction Currency
ReferenceDocument ReferenceDocument Reference Document
AccountingDocumentHeaderText _JournalEntry AccountingDocumentHeaderText Doc.Header Text
FiscalYearVariant
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
CarryFwdBalAmtInCCCrcy CarryFwdBalAmtInCCCrcy
DebitCarryFwdBalAmtInCCCrcy DebitCarryFwdBalAmtInCCCrcy
CreditCarryFwdBalAmtInCCCrcy CreditCarryFwdBalAmtInCCCrcy
PrevPeriodYTDAmtInCCCrcy PrevPeriodYTDAmtInCCCrcy
DebitPrevPeriodYTDAmtInCCCrcy DebitPrevPeriodYTDAmtInCCCrcy
CreditPrevPeriodYTDAmtInCCCrcy CreditPrevPeriodYTDAmtInCCCrcy
StartingBalanceAmtInCoCodeCrcy StartingBalanceAmtInCoCodeCrcy
DebitStartingBalAmtInCCCrcy DebitStartingBalAmtInCCCrcy
CreditStartingBalAmtInCCCrcy CreditStartingBalAmtInCCCrcy
EndingBalanceAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy
DebitEndingBalAmtInCCCrcy DebitEndingBalAmtInCCCrcy
CreditEndingBalAmtInCCCrcy CreditEndingBalAmtInCCCrcy
YTDAmtInLoclCrcy YTDAmtInLoclCrcy
YTDDebitAmtInCoCodeCrcy YTDDebitAmtInCoCodeCrcy
YTDCrdtAmtInCoCodeCrcy YTDCrdtAmtInCoCodeCrcy
DebitAmountInTransCrcy DebitAmountInTransCrcy Debit Amt in DC
CreditAmountInTransCrcy CreditAmountInTransCrcy Credit Amt in DC
AuthorizationGroup _GLAccountInCompanyCode AuthorizationGroup AuthorizGroup
GLAccountGroup _GLAccountInChartOfAccounts GLAccountGroup Account Group
BusinessArea BusinessArea Business Area
FunctionalArea FunctionalArea Sendr Fctl Area
_CompanyCode _CompanyCode
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccountInCompanyCode _GLAccountInCompanyCode
_ChartOfAccounts _ChartOfAccounts
_GLAccountText _GLAccountText
_Supplier _Supplier
_Customer _Customer

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 C_GR_JournalDocumentCube.
-- 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, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to

CREATE VIEW C_GR_JournalDocumentCube AS
SELECT
  Ledger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  SourceLedger,
  StatryRptCategory,
  StatryRptgEntity,
  StatryRptRunID,
  ChartOfAccounts,
  GLAccount,
  PostingDate,
  DocumentDate,
  FiscalPeriod,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  Customer,
  _Customer.CustomerName AS CustomerName,
  AccountingDocumentType,
  _JournalEntry._AccountingDocumentType._Text[1: Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  PostingKey,
  _JournalEntry._JournalEntryItem[to one: left outer where Ledger = ledger and LedgerGLLineItem = ledgergllineitem ]._PostingKey._PostingKeyText[1: Language = $session.system_language].PostingKeyName AS PostingKeyName,
  FinancialAccountType,
  SpecialGLCode,
  AccountingDocumentCategory,
  AccountingDocCreatedByUser,
  DebitCreditCode,
  CompanyCodeCurrency,
  DocumentItemText,
  AlternativeGLAccount,
  TransactionCurrency,
  ReferenceDocument,
  _JournalEntry.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
  _JournalEntry._JournalEntryItem[to one: left outer where Ledger = ledger and LedgerGLLineItem = ledgergllineitem ].FiscalYearVariant AS FiscalYearVariant,
  AmountInCompanyCodeCurrency,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  CarryFwdBalAmtInCCCrcy,
  DebitCarryFwdBalAmtInCCCrcy,
  CreditCarryFwdBalAmtInCCCrcy,
  PrevPeriodYTDAmtInCCCrcy,
  DebitPrevPeriodYTDAmtInCCCrcy,
  CreditPrevPeriodYTDAmtInCCCrcy,
  StartingBalanceAmtInCoCodeCrcy,
  DebitStartingBalAmtInCCCrcy,
  CreditStartingBalAmtInCCCrcy,
  EndingBalanceAmtInCoCodeCrcy,
  DebitEndingBalAmtInCCCrcy,
  CreditEndingBalAmtInCCCrcy,
  YTDAmtInLoclCrcy,
  YTDDebitAmtInCoCodeCrcy,
  YTDCrdtAmtInCoCodeCrcy,
  DebitAmountInTransCrcy,
  CreditAmountInTransCrcy,
  _GLAccountInCompanyCode.AuthorizationGroup AS AuthorizationGroup,
  _GLAccountInChartOfAccounts.GLAccountGroup AS GLAccountGroup,
  BusinessArea,
  FunctionalArea
FROM I_StRpTrialBalanceItemCube
;