C_NO_StRpTrialBalanceItemQuery

DDL: C_NO_STRPTRIALBALANCEITEMQUERY SQL: CNOSRTRLBALITEMQ Type: view CONSUMPTION

Norway Trial Balance Query

C_NO_StRpTrialBalanceItemQuery is a Consumption CDS View that provides data about "Norway Trial Balance Query" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 38 fields with key fields Ledger, CompanyCode, FiscalYear, SourceLedger, AccountingDocument.

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 (11)

NameValueLevelField
AbapCatalog.sqlViewName CNOSRTRLBALITEMQ view
VDM.viewType #CONSUMPTION view
Analytics.query true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Norway Trial Balance Query view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY SourceLedger SourceLedger Source Ledger
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
AccountingDocumentItem AccountingDocumentItem Posting View Item
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
ReconciliationAccountType ReconciliationAccountType Reconcil. ID
GLAccount GLAccount General Ledger
GLAccountLongName GLAccountLongName Long Text
Customer Customer Sold-to Party
CustomerName _Customer CustomerName Name of Customer
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Country _Supplier Country Venue: Ctry/Reg
TaxNumber1 _Supplier TaxNumber1 VAT Reg. No.
TaxNumber2 _Supplier TaxNumber2 Tax Number 2
ChartOfAccounts ChartOfAccounts Node Class
AccountingDocumentType AccountingDocumentType Journal Entry Type
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
FiscalPeriod FiscalPeriod Tax period
PostingDate PostingDate Posting Date for GR
TaxCode TaxCode Tax Code
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
StartingBalanceAmtInCoCodeCrcy StartingBalanceAmtInCoCodeCrcy
EndingBalanceAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
_ChartOfAccounts _ChartOfAccounts
_ControllingArea _ControllingArea
_ProfitCenter _ProfitCenter

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_NO_StRpTrialBalanceItemQuery.
-- 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: CNOSRTRLBALITEMQ
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to

CREATE VIEW C_NO_StRpTrialBalanceItemQuery AS
SELECT
  Ledger,
  CompanyCode,
  FiscalYear,
  SourceLedger,
  AccountingDocument,
  LedgerGLLineItem,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  AccountingDocumentItem,
  ControllingArea,
  ProfitCenter,
  ReconciliationAccountType,
  GLAccount,
  GLAccountLongName,
  Customer,
  _Customer.CustomerName AS CustomerName,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  _Supplier.Country AS Country,
  _Supplier.TaxNumber1 AS TaxNumber1,
  _Supplier.TaxNumber2 AS TaxNumber2,
  ChartOfAccounts,
  AccountingDocumentType,
  FinancialAccountType,
  SpecialGLCode,
  FiscalPeriod,
  PostingDate,
  TaxCode,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  StartingBalanceAmtInCoCodeCrcy,
  EndingBalanceAmtInCoCodeCrcy,
  TransactionCurrency,
  AmountInTransactionCurrency
FROM I_StRpTrialBalanceItemCube
;