C_BalanceAuditTrail

DDL: C_BALANCEAUDITTRAIL SQL: CFINS_BAT_ITEMS Type: view CONSUMPTION Package: FINS_FIS_AUDIT

Line Items for Balance Audit Trail

C_BalanceAuditTrail is a Consumption CDS View that provides data about "Line Items for Balance Audit Trail" in SAP S/4HANA. It reads from 1 data source (I_BalanceAuditTrail) and exposes 32 fields with key fields CompanyCode, AccountingDocument, FiscalYear, LedgerGLLineItem. Part of development package FINS_FIS_AUDIT.

Data Sources (1)

SourceAliasJoin Type
I_BalanceAuditTrail I_BalanceAuditTrail from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CFINS_BAT_ITEMS view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Line Items for Balance Audit Trail view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
PostingDate PostingDate Posting Date for GR
ClearingDate ClearingDate Clearing Date
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
FiscalPeriod FiscalPeriod Tax period
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
IsCleared IsCleared Integer
Customer Customer Sold-to Party
Supplier Supplier Supplier
GLAccount GLAccount General Ledger
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
DebitCreditCode DebitCreditCode Single-Character Flag
ProfitCenter ProfitCenter Profit Center
ClearingCreationDate ClearingCreationDate Clrg Creation Date
FinancialAccountType FinancialAccountType Fin. Account Type
TaxCode TaxCode Tax Code
AssignmentReference AssignmentReference Assignment Reference
DocumentItemText DocumentItemText Text
ClearingFiscalPeriod ClearingFiscalPeriod
ClearingFiscalYear ClearingFiscalYear
CompanyCodeName CompanyCodeName Company Name
CustomerName CustomerName Name of Customer
SupplierName SupplierName Supplier Name
ChartOfAccounts ChartOfAccounts Node Class
IsOpenItemManaged IsOpenItemManaged Open Item Management
DocumentDate DocumentDate Journal Entry Date
BaseUnit BaseUnit Unit of Measure
AccountingDocumentType AccountingDocumentType Journal Entry Type

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_BalanceAuditTrail.
-- 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: CFINS_BAT_ITEMS

CREATE VIEW C_BalanceAuditTrail AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  LedgerGLLineItem,
  PostingDate,
  ClearingDate,
  ClearingAccountingDocument,
  FiscalPeriod,
  AccountingDocumentCategory,
  IsCleared,
  Customer,
  Supplier,
  GLAccount,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  DebitCreditCode,
  ProfitCenter,
  ClearingCreationDate,
  FinancialAccountType,
  TaxCode,
  AssignmentReference,
  DocumentItemText,
  ClearingFiscalPeriod,
  ClearingFiscalYear,
  CompanyCodeName,
  CustomerName,
  SupplierName,
  ChartOfAccounts,
  IsOpenItemManaged,
  DocumentDate,
  BaseUnit,
  AccountingDocumentType
FROM I_BalanceAuditTrail
;