P_RU_VATSPLedgersJournal3

DDL: P_RU_VATSPLEDGERSJOURNAL3 SQL: PRUVATSPLDJ3 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

SPLedgers/Journal: Amounts-1

P_RU_VATSPLedgersJournal3 is a Consumption CDS View that provides data about "SPLedgers/Journal: Amounts-1" in SAP S/4HANA. It reads from 1 data source (P_RU_VATSPLedgersJournal2) and exposes 94 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (1)

SourceAliasJoin Type
P_RU_VATSPLedgersJournal2 VatSPLedgerJournal from

Annotations (6)

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

Fields (94)

KeyFieldSource TableSource FieldDescription
CompanyCode P_RU_VATSPLedgersJournal2 CompanyCode Receiver Company Code
AccountingDocument P_RU_VATSPLedgersJournal2 AccountingDocument Journal Entry
FiscalYear P_RU_VATSPLedgersJournal2 FiscalYear G/L Fiscal Year
TaxItem P_RU_VATSPLedgersJournal2 TaxItem Tax Item
PostingDate P_RU_VATSPLedgersJournal2 PostingDate Posting Date for GR
TaxReportingDate P_RU_VATSPLedgersJournal2 TaxReportingDate Tax Reporting Date
DocumentDate P_RU_VATSPLedgersJournal2 DocumentDate Journal Entry Date
AccountingDocumentType P_RU_VATSPLedgersJournal2 AccountingDocumentType Journal Entry Type
IsReversal P_RU_VATSPLedgersJournal2 IsReversal Reversal doc.
IsReversed P_RU_VATSPLedgersJournal2 IsReversed Reversed?
OriginalReferenceDocument P_RU_VATSPLedgersJournal2 OriginalReferenceDocument Reference Key
ReferenceDocumentType P_RU_VATSPLedgersJournal2 ReferenceDocumentType Reference Document Type
BusinessTransactionType P_RU_VATSPLedgersJournal2 BusinessTransactionType Bus.transaction
SenderLogicalSystem P_RU_VATSPLedgersJournal2 SenderLogicalSystem Sender Logical System
TaxCode P_RU_VATSPLedgersJournal2 TaxCode Tax Code
TaxRate P_RU_VATSPLedgersJournal2 TaxRate Tax Rate
CompanyCodeCurrency P_RU_VATSPLedgersJournal2 CompanyCodeCurrency Local Currency
Currency P_RU_VATSPLedgersJournal2 Currency Valuation Crcy
AmountInCompanyCodeCurrency P_RU_VATSPLedgersJournal2 AmountInCompanyCodeCurrency Local Crcy Amt
TaxBaseAmountInCoCodeCrcy P_RU_VATSPLedgersJournal2 TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy P_RU_VATSPLedgersJournal2 TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
AmountInTransactionCurrency P_RU_VATSPLedgersJournal2 AmountInTransactionCurrency Pt Crcy Amt
TaxBaseAmountInTransCrcy P_RU_VATSPLedgersJournal2 TaxBaseAmountInTransCrcy Value-Added Tax
TaxAmount P_RU_VATSPLedgersJournal2 TaxAmount Tax Amt in Rptg Crcy
OrigDocTotalTaxAmountInCCCrcy CnsldOrigDocAmount TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
OrigDocTotalTaxAmountInTrCrcy CnsldOrigDocAmount TaxAmountInTransCrcy TaxAmt in Tran. Crcy
SelDocTotalDCAmountInCCCrcy SelectedDocAmountDC AmountInCompanyCodeCurrency Local Crcy Amt
SelDocTotalDCAmountInTransCrcy SelectedDocAmountDC AmountInTransactionCurrency Pt Crcy Amt
TaxItemGroupingVersion TaxBasisBalancesGrp TaxItemGroupingVersion Tax Grping Ver.
DebitCreditCode P_RU_VATSPLedgersJournal2 DebitCreditCode Single-Character Flag
Invoice P_RU_VATSPLedgersJournal2 Invoice Orig.Inv.Number
InvoiceYear P_RU_VATSPLedgersJournal2 InvoiceYear Orig.Inv.Year
ExternalInvoice P_RU_VATSPLedgersJournal2 ExternalInvoice External Number
InvoiceDate P_RU_VATSPLedgersJournal2 InvoiceDate Run On
OriginalInvoiceRevisionNumber P_RU_VATSPLedgersJournal2 OriginalInvoiceRevisionNumber Rev.Num.Orig.Inv.
OriginalInvoiceRevisionDate P_RU_VATSPLedgersJournal2 OriginalInvoiceRevisionDate Rev.Date Orig.Inv.
CorrectionInvoice P_RU_VATSPLedgersJournal2 CorrectionInvoice Corr.Inv.Number
CorrectionInvoiceYear P_RU_VATSPLedgersJournal2 CorrectionInvoiceYear Corr.Inv.Year
ExternalCorrectionInvoice P_RU_VATSPLedgersJournal2 ExternalCorrectionInvoice Corr. VAT Inv. Ext.
CorrectionInvoiceDate P_RU_VATSPLedgersJournal2 CorrectionInvoiceDate Corr. VAT Inv. Date
CorrectionInvoiceRevisionNmbr P_RU_VATSPLedgersJournal2 CorrectionInvoiceRevisionNmbr Revision of Corr. No
CorrectionInvoiceRevisionDate P_RU_VATSPLedgersJournal2 CorrectionInvoiceRevisionDate Rev. Date of Corr.
RevisionInvoice P_RU_VATSPLedgersJournal2 RevisionInvoice Rev.Inv.Number
RevisionInvoiceYear P_RU_VATSPLedgersJournal2 RevisionInvoiceYear Rev.Inv.Year
CorRev_CompanyCodeName P_RU_VATSPLedgersJournal2 CorRev_CompanyCodeName
CorRev_CompanyCodeINN P_RU_VATSPLedgersJournal2 CorRev_CompanyCodeINN
CorRev_CompanyCodeKPP P_RU_VATSPLedgersJournal2 CorRev_CompanyCodeKPP
CorRev_BusinessPartnerName P_RU_VATSPLedgersJournal2 CorRev_BusinessPartnerName
CorRev_BusinessPartnerINN P_RU_VATSPLedgersJournal2 CorRev_BusinessPartnerINN
CorRev_BusinessPartnerKPP P_RU_VATSPLedgersJournal2 CorRev_BusinessPartnerKPP
CorRev_BusinessPartnerIsOrg P_RU_VATSPLedgersJournal2 CorRev_BusinessPartnerIsOrg
CorRev_BusinessPartnerIsNP P_RU_VATSPLedgersJournal2 CorRev_BusinessPartnerIsNP
CorRev_SupplierName P_RU_VATSPLedgersJournal2 CorRev_SupplierName
CorRev_SupplierINN P_RU_VATSPLedgersJournal2 CorRev_SupplierINN
CorRev_SupplierKPP P_RU_VATSPLedgersJournal2 CorRev_SupplierKPP
CorRev_SupplierIsOrg P_RU_VATSPLedgersJournal2 CorRev_SupplierIsOrg
CorRev_SupplierIsNP P_RU_VATSPLedgersJournal2 CorRev_SupplierIsNP
CorRev_CommisTradeSupplierName P_RU_VATSPLedgersJournal2 CorRev_CommisTradeSupplierName
CorRev_CommisTradeSupplierINN P_RU_VATSPLedgersJournal2 CorRev_CommisTradeSupplierINN
CorRev_CommisTradeSupplierKPP P_RU_VATSPLedgersJournal2 CorRev_CommisTradeSupplierKPP
CorRev_CommisTradeSupplIsOrg P_RU_VATSPLedgersJournal2 CorRev_CommisTradeSupplIsOrg
CorRev_CommisTradeSupplIsNP P_RU_VATSPLedgersJournal2 CorRev_CommisTradeSupplIsNP
CorRev_CommisTradeCustomerName P_RU_VATSPLedgersJournal2 CorRev_CommisTradeCustomerName
CorRev_CommisTradeCustomerINN P_RU_VATSPLedgersJournal2 CorRev_CommisTradeCustomerINN
CorRev_CommisTradeCustomerKPP P_RU_VATSPLedgersJournal2 CorRev_CommisTradeCustomerKPP
CorRev_CommisTradeCustIsOrg P_RU_VATSPLedgersJournal2 CorRev_CommisTradeCustIsOrg
CorRev_CommisTradeCustIsNP P_RU_VATSPLedgersJournal2 CorRev_CommisTradeCustIsNP
RU_VATReturnVersion P_RU_VATSPLedgersJournal2 RU_VATReturnVersion VAT Return Version
RU_VATReturnSectionType P_RU_VATSPLedgersJournal2 RU_VATReturnSectionType Section Type
RU_VATReturnSection P_RU_VATSPLedgersJournal2 RU_VATReturnSection VAT Return Section
RU_VATReturnLine P_RU_VATSPLedgersJournal2 RU_VATReturnLine Line
RU_VATSubScenarioVersion P_RU_VATSPLedgersJournal2 RU_VATSubScenarioVersion Subscenario Version
RU_VATSubScenario P_RU_VATSPLedgersJournal2 RU_VATSubScenario Subscenario
RU_VATScenario P_RU_VATSPLedgersJournal2 RU_VATScenario VAT Scenario
RU_TotalAmountCalcType P_RU_VATSPLedgersJournal2 RU_TotalAmountCalcType
RU_TaxBaseAmountCalcType P_RU_VATSPLedgersJournal2 RU_TaxBaseAmountCalcType
BusinessPartnerType P_RU_VATSPLedgersJournal2 BusinessPartnerType Undefined range (can be used for patch levels)
AgentType P_RU_VATSPLedgersJournal2 AgentType
PaymentOrderOutputType P_RU_VATSPLedgersJournal2 PaymentOrderOutputType
ImprtCstmsDeclnIsRead P_RU_VATSPLedgersJournal2 ImprtCstmsDeclnIsRead
MatlRcptDateIsRead P_RU_VATSPLedgersJournal2 MatlRcptDateIsRead
RU_CustomerOutputType P_RU_VATSPLedgersJournal2 RU_CustomerOutputType
RU_SupplierAgentOutputType P_RU_VATSPLedgersJournal2 RU_SupplierAgentOutputType
RU_SupplierOutputType P_RU_VATSPLedgersJournal2 RU_SupplierOutputType
RU_SubagentOutputType P_RU_VATSPLedgersJournal2 RU_SubagentOutputType
SalesDealType P_RU_VATSPLedgersJournal2 SalesDealType Deal Type
RU_OrgOperationType P_RU_VATSPLedgersJournal2 RU_OrgOperationType
RU_PersonOperationType P_RU_VATSPLedgersJournal2 RU_PersonOperationType
SourceDocument P_RU_VATSPLedgersJournal2 SourceDocument Document
SourceDocumentFiscalYear P_RU_VATSPLedgersJournal2 SourceDocumentFiscalYear
RevisionNumber P_RU_VATSPLedgersJournal2 RevisionNumber Revision Number
StatryRptgEntity P_RU_VATSPLedgersJournal2 StatryRptgEntity Reporting Entity
StatryRptCategory P_RU_VATSPLedgersJournal2 StatryRptCategory Report ID
StatryRptRunID P_RU_VATSPLedgersJournal2 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 P_RU_VATSPLedgersJournal3.
-- 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: PRUVATSPLDJ3

CREATE VIEW P_RU_VATSPLedgersJournal3 AS
SELECT
  VatSPLedgerJournal.CompanyCode AS CompanyCode,
  VatSPLedgerJournal.AccountingDocument AS AccountingDocument,
  VatSPLedgerJournal.FiscalYear AS FiscalYear,
  VatSPLedgerJournal.TaxItem AS TaxItem,
  VatSPLedgerJournal.PostingDate AS PostingDate,
  VatSPLedgerJournal.TaxReportingDate AS TaxReportingDate,
  VatSPLedgerJournal.DocumentDate AS DocumentDate,
  VatSPLedgerJournal.AccountingDocumentType AS AccountingDocumentType,
  VatSPLedgerJournal.IsReversal AS IsReversal,
  VatSPLedgerJournal.IsReversed AS IsReversed,
  VatSPLedgerJournal.OriginalReferenceDocument AS OriginalReferenceDocument,
  VatSPLedgerJournal.ReferenceDocumentType AS ReferenceDocumentType,
  VatSPLedgerJournal.BusinessTransactionType AS BusinessTransactionType,
  VatSPLedgerJournal.SenderLogicalSystem AS SenderLogicalSystem,
  VatSPLedgerJournal.TaxCode AS TaxCode,
  VatSPLedgerJournal.TaxRate AS TaxRate,
  VatSPLedgerJournal.CompanyCodeCurrency AS CompanyCodeCurrency,
  VatSPLedgerJournal.Currency AS Currency,
  VatSPLedgerJournal.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  VatSPLedgerJournal.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
  VatSPLedgerJournal.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
  VatSPLedgerJournal.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  VatSPLedgerJournal.TaxBaseAmountInTransCrcy AS TaxBaseAmountInTransCrcy,
  VatSPLedgerJournal.TaxAmount AS TaxAmount,
  CnsldOrigDocAmount.TaxAmountInCoCodeCrcy AS OrigDocTotalTaxAmountInCCCrcy,
  CnsldOrigDocAmount.TaxAmountInTransCrcy AS OrigDocTotalTaxAmountInTrCrcy,
  SelectedDocAmountDC.AmountInCompanyCodeCurrency AS SelDocTotalDCAmountInCCCrcy,
  SelectedDocAmountDC.AmountInTransactionCurrency AS SelDocTotalDCAmountInTransCrcy,
  TaxBasisBalancesGrp.TaxItemGroupingVersion AS TaxItemGroupingVersion,
  VatSPLedgerJournal.DebitCreditCode AS DebitCreditCode,
  VatSPLedgerJournal.Invoice AS Invoice,
  VatSPLedgerJournal.InvoiceYear AS InvoiceYear,
  VatSPLedgerJournal.ExternalInvoice AS ExternalInvoice,
  VatSPLedgerJournal.InvoiceDate AS InvoiceDate,
  VatSPLedgerJournal.OriginalInvoiceRevisionNumber AS OriginalInvoiceRevisionNumber,
  VatSPLedgerJournal.OriginalInvoiceRevisionDate AS OriginalInvoiceRevisionDate,
  VatSPLedgerJournal.CorrectionInvoice AS CorrectionInvoice,
  VatSPLedgerJournal.CorrectionInvoiceYear AS CorrectionInvoiceYear,
  VatSPLedgerJournal.ExternalCorrectionInvoice AS ExternalCorrectionInvoice,
  VatSPLedgerJournal.CorrectionInvoiceDate AS CorrectionInvoiceDate,
  VatSPLedgerJournal.CorrectionInvoiceRevisionNmbr AS CorrectionInvoiceRevisionNmbr,
  VatSPLedgerJournal.CorrectionInvoiceRevisionDate AS CorrectionInvoiceRevisionDate,
  VatSPLedgerJournal.RevisionInvoice AS RevisionInvoice,
  VatSPLedgerJournal.RevisionInvoiceYear AS RevisionInvoiceYear,
  VatSPLedgerJournal.CorRev_CompanyCodeName AS CorRev_CompanyCodeName,
  VatSPLedgerJournal.CorRev_CompanyCodeINN AS CorRev_CompanyCodeINN,
  VatSPLedgerJournal.CorRev_CompanyCodeKPP AS CorRev_CompanyCodeKPP,
  VatSPLedgerJournal.CorRev_BusinessPartnerName AS CorRev_BusinessPartnerName,
  VatSPLedgerJournal.CorRev_BusinessPartnerINN AS CorRev_BusinessPartnerINN,
  VatSPLedgerJournal.CorRev_BusinessPartnerKPP AS CorRev_BusinessPartnerKPP,
  VatSPLedgerJournal.CorRev_BusinessPartnerIsOrg AS CorRev_BusinessPartnerIsOrg,
  VatSPLedgerJournal.CorRev_BusinessPartnerIsNP AS CorRev_BusinessPartnerIsNP,
  VatSPLedgerJournal.CorRev_SupplierName AS CorRev_SupplierName,
  VatSPLedgerJournal.CorRev_SupplierINN AS CorRev_SupplierINN,
  VatSPLedgerJournal.CorRev_SupplierKPP AS CorRev_SupplierKPP,
  VatSPLedgerJournal.CorRev_SupplierIsOrg AS CorRev_SupplierIsOrg,
  VatSPLedgerJournal.CorRev_SupplierIsNP AS CorRev_SupplierIsNP,
  VatSPLedgerJournal.CorRev_CommisTradeSupplierName AS CorRev_CommisTradeSupplierName,
  VatSPLedgerJournal.CorRev_CommisTradeSupplierINN AS CorRev_CommisTradeSupplierINN,
  VatSPLedgerJournal.CorRev_CommisTradeSupplierKPP AS CorRev_CommisTradeSupplierKPP,
  VatSPLedgerJournal.CorRev_CommisTradeSupplIsOrg AS CorRev_CommisTradeSupplIsOrg,
  VatSPLedgerJournal.CorRev_CommisTradeSupplIsNP AS CorRev_CommisTradeSupplIsNP,
  VatSPLedgerJournal.CorRev_CommisTradeCustomerName AS CorRev_CommisTradeCustomerName,
  VatSPLedgerJournal.CorRev_CommisTradeCustomerINN AS CorRev_CommisTradeCustomerINN,
  VatSPLedgerJournal.CorRev_CommisTradeCustomerKPP AS CorRev_CommisTradeCustomerKPP,
  VatSPLedgerJournal.CorRev_CommisTradeCustIsOrg AS CorRev_CommisTradeCustIsOrg,
  VatSPLedgerJournal.CorRev_CommisTradeCustIsNP AS CorRev_CommisTradeCustIsNP,
  VatSPLedgerJournal.RU_VATReturnVersion AS RU_VATReturnVersion,
  VatSPLedgerJournal.RU_VATReturnSectionType AS RU_VATReturnSectionType,
  VatSPLedgerJournal.RU_VATReturnSection AS RU_VATReturnSection,
  VatSPLedgerJournal.RU_VATReturnLine AS RU_VATReturnLine,
  VatSPLedgerJournal.RU_VATSubScenarioVersion AS RU_VATSubScenarioVersion,
  VatSPLedgerJournal.RU_VATSubScenario AS RU_VATSubScenario,
  VatSPLedgerJournal.RU_VATScenario AS RU_VATScenario,
  VatSPLedgerJournal.RU_TotalAmountCalcType AS RU_TotalAmountCalcType,
  VatSPLedgerJournal.RU_TaxBaseAmountCalcType AS RU_TaxBaseAmountCalcType,
  VatSPLedgerJournal.BusinessPartnerType AS BusinessPartnerType,
  VatSPLedgerJournal.AgentType AS AgentType,
  VatSPLedgerJournal.PaymentOrderOutputType AS PaymentOrderOutputType,
  VatSPLedgerJournal.ImprtCstmsDeclnIsRead AS ImprtCstmsDeclnIsRead,
  VatSPLedgerJournal.MatlRcptDateIsRead AS MatlRcptDateIsRead,
  VatSPLedgerJournal.RU_CustomerOutputType AS RU_CustomerOutputType,
  VatSPLedgerJournal.RU_SupplierAgentOutputType AS RU_SupplierAgentOutputType,
  VatSPLedgerJournal.RU_SupplierOutputType AS RU_SupplierOutputType,
  VatSPLedgerJournal.RU_SubagentOutputType AS RU_SubagentOutputType,
  VatSPLedgerJournal.SalesDealType AS SalesDealType,
  VatSPLedgerJournal.RU_OrgOperationType AS RU_OrgOperationType,
  VatSPLedgerJournal.RU_PersonOperationType AS RU_PersonOperationType,
  VatSPLedgerJournal.SourceDocument AS SourceDocument,
  VatSPLedgerJournal.SourceDocumentFiscalYear AS SourceDocumentFiscalYear,
  VatSPLedgerJournal.RevisionNumber AS RevisionNumber,
  VatSPLedgerJournal.StatryRptgEntity AS StatryRptgEntity,
  VatSPLedgerJournal.StatryRptCategory AS StatryRptCategory,
  VatSPLedgerJournal.StatryRptRunID AS StatryRptRunID
FROM P_RU_VATSPLedgersJournal2 AS VatSPLedgerJournal
;