P_RU_VATInvoiceClearingChain1

DDL: P_RU_VATINVOICECLEARINGCHAIN1 SQL: PRUVATINVCLRCH1 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

VAT Invoice Clearing Chain - 1

P_RU_VATInvoiceClearingChain1 is a Consumption CDS View that provides data about "VAT Invoice Clearing Chain - 1" in SAP S/4HANA. It reads from 2 data sources (P_RU_BSET, P_RU_BusPartnerClearingNotRvsd) and exposes 13 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (2)

SourceAliasJoin Type
P_RU_BSET bset inner
P_RU_BusPartnerClearingNotRvsd Level1 from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUVATINVCLRCH1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
CompanyCode P_RU_BusPartnerClearingNotRvsd CompanyCode Receiver Company Code
AccountingDocument P_RU_BusPartnerClearingNotRvsd AccountingDocument Journal Entry
FiscalYear P_RU_BusPartnerClearingNotRvsd FiscalYear G/L Fiscal Year
AccountingDocumentItem P_RU_BusPartnerClearingNotRvsd AccountingDocumentItem Posting View Item
DebitCreditCode P_RU_BusPartnerClearingNotRvsd DebitCreditCode Single-Character Flag
AccountType P_RU_BusPartnerClearingNotRvsd AccountType Accounting Type(dtl)
ClearingAccountingDocument P_RU_BusPartnerClearingNotRvsd ClearingAccountingDocument Clearing Journal Entry
ClearingFiscalYear P_RU_BusPartnerClearingNotRvsd ClearingFiscalYear
ClearingInformationIndex P_RU_BusPartnerClearingNotRvsd ClearingInformationIndex
ClearingInformationType P_RU_BusPartnerClearingNotRvsd ClearingInformationType
ClearedAccountingDocument P_RU_BusPartnerClearingNotRvsd ClearingAccountingDocument Clearing Journal Entry
ClearedFiscalYear P_RU_BusPartnerClearingNotRvsd ClearingFiscalYear
ClearingLevel

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_VATInvoiceClearingChain1.
-- 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: PRUVATINVCLRCH1

CREATE VIEW P_RU_VATInvoiceClearingChain1 AS
SELECT
  Level1.CompanyCode AS CompanyCode,
  Level1.AccountingDocument AS AccountingDocument,
  Level1.FiscalYear AS FiscalYear,
  Level1.AccountingDocumentItem AS AccountingDocumentItem,
  Level1.DebitCreditCode AS DebitCreditCode,
  Level1.AccountType AS AccountType,
  Level1.ClearingAccountingDocument AS ClearingAccountingDocument,
  Level1.ClearingFiscalYear AS ClearingFiscalYear,
  Level1.ClearingInformationIndex AS ClearingInformationIndex,
  Level1.ClearingInformationType AS ClearingInformationType,
  Level1.ClearingAccountingDocument AS ClearedAccountingDocument,
  Level1.ClearingFiscalYear AS ClearedFiscalYear,
  '1' AS ClearingLevel
FROM P_RU_BusPartnerClearingNotRvsd AS Level1
INNER JOIN P_RU_BSET AS bset ON /* join condition not captured in parsed metadata */
;