P_RU_BusPartnerClearingNotRvsd

DDL: P_RU_BUSPARTNERCLEARINGNOTRVSD SQL: PRUBPCLRNR Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

Business Partner Clearing Not Reversed

P_RU_BusPartnerClearingNotRvsd is a Consumption CDS View that provides data about "Business Partner Clearing Not Reversed" in SAP S/4HANA. It reads from 2 data sources (P_RU_BusPartnerClearing, I_JournalEntry) and exposes 13 fields with key fields ClearingInfoCompanyCode, ClearingAccountingDocument, ClearingFiscalYear, ClearingInformationIndex. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (2)

SourceAliasJoin Type
P_RU_BusPartnerClearing ClearedBPItem from
I_JournalEntry ClearingAccDocHeader inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PRUBPCLRNR view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ClearingInfoCompanyCode P_RU_BusPartnerClearing ClearingInfoCompanyCode
KEY ClearingAccountingDocument P_RU_BusPartnerClearing ClearingAccountingDocument Clearing Journal Entry
KEY ClearingFiscalYear P_RU_BusPartnerClearing ClearingFiscalYear
KEY ClearingInformationIndex P_RU_BusPartnerClearing ClearingInformationIndex
TransactionCurrency P_RU_BusPartnerClearing TransactionCurrency Transaction Currency
ClearingInformationType P_RU_BusPartnerClearing ClearingInformationType
CompanyCode P_RU_BusPartnerClearing CompanyCode Receiver Company Code
AccountingDocument P_RU_BusPartnerClearing AccountingDocument Journal Entry
FiscalYear P_RU_BusPartnerClearing FiscalYear G/L Fiscal Year
AccountingDocumentItem P_RU_BusPartnerClearing AccountingDocumentItem Posting View Item
DebitCreditCode P_RU_BusPartnerClearing DebitCreditCode Single-Character Flag
AccountType P_RU_BusPartnerClearing AccountType Accounting Type(dtl)
SpecialGLCode P_RU_BusPartnerClearing SpecialGLCode Special G/L Ind

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 P_RU_BusPartnerClearingNotRvsd.
-- 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: PRUBPCLRNR

CREATE VIEW P_RU_BusPartnerClearingNotRvsd AS
SELECT
  ClearedBPItem.ClearingInfoCompanyCode AS ClearingInfoCompanyCode,
  ClearedBPItem.ClearingAccountingDocument AS ClearingAccountingDocument,
  ClearedBPItem.ClearingFiscalYear AS ClearingFiscalYear,
  ClearedBPItem.ClearingInformationIndex AS ClearingInformationIndex,
  ClearedBPItem.TransactionCurrency AS TransactionCurrency,
  ClearedBPItem.ClearingInformationType AS ClearingInformationType,
  ClearedBPItem.CompanyCode AS CompanyCode,
  ClearedBPItem.AccountingDocument AS AccountingDocument,
  ClearedBPItem.FiscalYear AS FiscalYear,
  ClearedBPItem.AccountingDocumentItem AS AccountingDocumentItem,
  ClearedBPItem.DebitCreditCode AS DebitCreditCode,
  ClearedBPItem.AccountType AS AccountType,
  ClearedBPItem.SpecialGLCode AS SpecialGLCode
FROM P_RU_BusPartnerClearing AS ClearedBPItem
INNER JOIN I_JournalEntry AS ClearingAccDocHeader ON /* join condition not captured in parsed metadata */
;