C_AT_StRpAuditBalanceItemQuery

DDL: C_AT_STRPAUDITBALANCEITEMQUERY SQL: CATSTRBALITMQ Type: view CONSUMPTION

Austrian Audit Balance Item Query

C_AT_StRpAuditBalanceItemQuery is a Consumption CDS View that provides data about "Austrian Audit Balance Item Query" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 32 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 (13)

NameValueLevelField
AbapCatalog.sqlViewName CATSTRBALITMQ 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 Austrian Audit Balance Item Query view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (32)

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
ReconciliationAccountType ReconciliationAccountType Reconcil. ID
GLAccount GLAccount General Ledger
GLAccountLongName GLAccountLongName Long Text
ChartOfAccounts ChartOfAccounts Node Class
AlternativeGLAccount AlternativeGLAccount Group Account
CountryChartOfAccounts CountryChartOfAccounts Chart of Accts
Customer Customer Sold-to Party
CustomerName _Customer CustomerName Name of Customer
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
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
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CarryFwdBalAmtInCCCrcy CarryFwdBalAmtInCCCrcy
StartingBalanceAmtInCoCodeCrcy StartingBalanceAmtInCoCodeCrcy
PrevPeriodYTDAmtInCCCrcy PrevPeriodYTDAmtInCCCrcy
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
EndingBalanceAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy

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

CREATE VIEW C_AT_StRpAuditBalanceItemQuery AS
SELECT
  Ledger,
  CompanyCode,
  FiscalYear,
  SourceLedger,
  AccountingDocument,
  LedgerGLLineItem,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  AccountingDocumentItem,
  ReconciliationAccountType,
  GLAccount,
  GLAccountLongName,
  ChartOfAccounts,
  AlternativeGLAccount,
  CountryChartOfAccounts,
  Customer,
  _Customer.CustomerName AS CustomerName,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  AccountingDocumentType,
  FinancialAccountType,
  SpecialGLCode,
  FiscalPeriod,
  PostingDate,
  CompanyCodeCurrency,
  CarryFwdBalAmtInCCCrcy,
  StartingBalanceAmtInCoCodeCrcy,
  PrevPeriodYTDAmtInCCCrcy,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  EndingBalanceAmtInCoCodeCrcy
FROM I_StRpTrialBalanceItemCube
;