C_PL_StRpCustTrialBalItmQuery

DDL: C_PL_STRPCUSTTRIALBALITMQUERY SQL: CPLSRCUSTTRBLITQ Type: view CONSUMPTION Package: GLO_FIN_IS_PL

Customer Trial Balance Query – Poland

C_PL_StRpCustTrialBalItmQuery is a Consumption CDS View that provides data about "Customer Trial Balance Query – Poland" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 40 fields. Part of development package GLO_FIN_IS_PL.

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

NameValueLevelField
AbapCatalog.sqlViewName CPLSRCUSTTRBLITQ view
VDM.viewType #CONSUMPTION view
Analytics.query true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Customer Trial Balance Query – Poland view

Fields (40)

KeyFieldSource TableSource FieldDescription
Ledger Ledger Ledger
CompanyCode CompanyCode Receiver Company Code
SourceLedger SourceLedger Source Ledger
AccountingDocument AccountingDocument Journal Entry
LedgerGLLineItem LedgerGLLineItem Journal Entry Item
FiscalPeriod FiscalPeriod Tax period
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
ItemType ItemType Object Type
Customer Customer Sold-to Party
CustomerName _Customer BPCustomerName Name of Customer
GLAccount GLAccount General Ledger
GLAccountLongName GLAccountLongName Long Text
Supplier Supplier Supplier
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
AccountingDocumentType AccountingDocumentType Journal Entry Type
PostingKey PostingKey Posting Key
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
DebitCreditCode DebitCreditCode Single-Character Flag
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DebitCarryFwdBalAmtInCCCrcy
CreditCarryFwdBalAmtInCCCrcy
DebitPrevPeriodYTDAmtInCCCrcy DebitPrevPeriodYTDAmtInCCCrcy
CreditPrevPeriodYTDAmtInCCCrcy CreditPrevPeriodYTDAmtInCCCrcy
DebitStartingBalAmtInCCCrcy
CreditStartingBalAmtInCCCrcy
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
YTDDebitAmtInCoCodeCrcy YTDDebitAmtInCoCodeCrcy
YTDCrdtAmtInCoCodeCrcy YTDCrdtAmtInCoCodeCrcy
DebitEndingBalAmtInCCCrcy
CreditEndingBalAmtInCCCrcy
AssignmentReference AssignmentReference Assignment Reference
DocumentItemText DocumentItemText Text
TransactionCurrency TransactionCurrency Transaction Currency
StatryRptgEntity StatryRptgEntity Reporting Entity
StatryRptCategory StatryRptCategory Report ID
StatryRptRunID StatryRptRunID Report Run ID

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

CREATE VIEW C_PL_StRpCustTrialBalItmQuery AS
SELECT
  Ledger,
  CompanyCode,
  SourceLedger,
  AccountingDocument,
  LedgerGLLineItem,
  FiscalPeriod,
  PostingDate,
  DocumentDate,
  ItemType,
  Customer,
  _Customer.BPCustomerName AS CustomerName,
  GLAccount,
  GLAccountLongName,
  Supplier,
  FinancialAccountType,
  SpecialGLCode,
  AccountingDocumentType,
  PostingKey,
  AccountingDocumentCategory,
  AccountingDocCreatedByUser,
  DebitCreditCode,
  CompanyCodeCurrency,
  cast( 1 as glo_dr_cfwd_bal_hsl ) AS DebitCarryFwdBalAmtInCCCrcy,
  cast( 1 as glo_cr_cfwd_bal_hsl ) AS CreditCarryFwdBalAmtInCCCrcy,
  DebitPrevPeriodYTDAmtInCCCrcy,
  CreditPrevPeriodYTDAmtInCCCrcy,
  cast( 1 as glo_dr_strt_bal_hsl ) AS DebitStartingBalAmtInCCCrcy,
  cast( 1 as glo_cr_strt_bal_hsl ) AS CreditStartingBalAmtInCCCrcy,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  YTDDebitAmtInCoCodeCrcy,
  YTDCrdtAmtInCoCodeCrcy,
  cast( 1 as glo_dr_end_bal_hsl ) AS DebitEndingBalAmtInCCCrcy,
  cast( 1 as glo_cr_end_bal_hsl ) AS CreditEndingBalAmtInCCCrcy,
  AssignmentReference,
  DocumentItemText,
  TransactionCurrency,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID
FROM I_StRpTrialBalanceItemCube
;