P_RU_VATInvoiceJournal1
Invoice Journal: Amounts
P_RU_VATInvoiceJournal1 is a Consumption CDS View that provides data about "Invoice Journal: Amounts" in SAP S/4HANA. It reads from 1 data source (P_RU_VATSPLedgersJournal) and exposes 74 fields. Part of development package GLO_FIN_IS_VAT_RU.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_VATSPLedgersJournal | VatSPLedgerJournal | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRUVATINVJ1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | P_RU_VATSPLedgersJournal | CompanyCode | Receiver Company Code | |
| AccountingDocument | P_RU_VATSPLedgersJournal | AccountingDocument | Journal Entry | |
| FiscalYear | P_RU_VATSPLedgersJournal | FiscalYear | G/L Fiscal Year | |
| TaxItem | P_RU_VATSPLedgersJournal | TaxItem | Tax Item | |
| PostingDate | P_RU_VATSPLedgersJournal | PostingDate | Posting Date for GR | |
| TaxReportingDate | P_RU_VATSPLedgersJournal | TaxReportingDate | Tax Reporting Date | |
| DocumentDate | P_RU_VATSPLedgersJournal | DocumentDate | Journal Entry Date | |
| AccountingDocumentType | P_RU_VATSPLedgersJournal | AccountingDocumentType | Journal Entry Type | |
| IsReversal | P_RU_VATSPLedgersJournal | IsReversal | Reversal doc. | |
| IsReversed | P_RU_VATSPLedgersJournal | IsReversed | Reversed? | |
| TaxCode | P_RU_VATSPLedgersJournal | TaxCode | Tax Code | |
| Invoice | P_RU_VATSPLedgersJournal | Invoice | Orig.Inv.Number | |
| InvoiceYear | P_RU_VATSPLedgersJournal | InvoiceYear | Orig.Inv.Year | |
| ExternalInvoice | P_RU_VATSPLedgersJournal | ExternalInvoice | External Number | |
| InvoiceDate | P_RU_VATSPLedgersJournal | InvoiceDate | Run On | |
| OriginalInvoiceRevisionNumber | P_RU_VATSPLedgersJournal | OriginalInvoiceRevisionNumber | Rev.Num.Orig.Inv. | |
| OriginalInvoiceRevisionDate | P_RU_VATSPLedgersJournal | OriginalInvoiceRevisionDate | Rev.Date Orig.Inv. | |
| CorrectionInvoice | P_RU_VATSPLedgersJournal | CorrectionInvoice | Corr.Inv.Number | |
| CorrectionInvoiceYear | P_RU_VATSPLedgersJournal | CorrectionInvoiceYear | Corr.Inv.Year | |
| ExternalCorrectionInvoice | P_RU_VATSPLedgersJournal | ExternalCorrectionInvoice | Corr. VAT Inv. Ext. | |
| CorrectionInvoiceDate | P_RU_VATSPLedgersJournal | CorrectionInvoiceDate | Corr. VAT Inv. Date | |
| CorrectionInvoiceRevisionNmbr | P_RU_VATSPLedgersJournal | CorrectionInvoiceRevisionNmbr | Revision of Corr. No | |
| CorrectionInvoiceRevisionDate | P_RU_VATSPLedgersJournal | CorrectionInvoiceRevisionDate | Rev. Date of Corr. | |
| RevisionInvoice | P_RU_VATSPLedgersJournal | RevisionInvoice | Rev.Inv.Number | |
| RevisionInvoiceYear | P_RU_VATSPLedgersJournal | RevisionInvoiceYear | Rev.Inv.Year | |
| RU_InvoiceType | P_RU_VATSPLedgersJournal | RU_InvoiceType | Invoice Type | |
| CorRev_BusinessPartnerName | P_RU_VATSPLedgersJournal | CorRev_BusinessPartnerName | ||
| CorRev_BusinessPartnerINN | P_RU_VATSPLedgersJournal | CorRev_BusinessPartnerINN | ||
| CorRev_BusinessPartnerKPP | P_RU_VATSPLedgersJournal | CorRev_BusinessPartnerKPP | ||
| CorRev_BusinessPartnerIsOrg | P_RU_VATSPLedgersJournal | CorRev_BusinessPartnerIsOrg | ||
| CorRev_BusinessPartnerIsNP | P_RU_VATSPLedgersJournal | CorRev_BusinessPartnerIsNP | ||
| CorRev_SupplierName | P_RU_VATSPLedgersJournal | CorRev_SupplierName | ||
| CorRev_SupplierINN | P_RU_VATSPLedgersJournal | CorRev_SupplierINN | ||
| CorRev_SupplierKPP | P_RU_VATSPLedgersJournal | CorRev_SupplierKPP | ||
| CorRev_SupplierIsOrg | P_RU_VATSPLedgersJournal | CorRev_SupplierIsOrg | ||
| CorRev_SupplierIsNP | P_RU_VATSPLedgersJournal | CorRev_SupplierIsNP | ||
| CorRev_CommisTradeSupplierName | P_RU_VATSPLedgersJournal | CorRev_CommisTradeSupplierName | ||
| CorRev_CommisTradeSupplierINN | P_RU_VATSPLedgersJournal | CorRev_CommisTradeSupplierINN | ||
| CorRev_CommisTradeSupplierKPP | P_RU_VATSPLedgersJournal | CorRev_CommisTradeSupplierKPP | ||
| CorRev_CommisTradeSupplIsOrg | P_RU_VATSPLedgersJournal | CorRev_CommisTradeSupplIsOrg | ||
| CorRev_CommisTradeSupplIsNP | P_RU_VATSPLedgersJournal | CorRev_CommisTradeSupplIsNP | ||
| CorRev_CommisTradeCustomerName | P_RU_VATSPLedgersJournal | CorRev_CommisTradeCustomerName | ||
| CorRev_CommisTradeCustomerINN | P_RU_VATSPLedgersJournal | CorRev_CommisTradeCustomerINN | ||
| CorRev_CommisTradeCustomerKPP | P_RU_VATSPLedgersJournal | CorRev_CommisTradeCustomerKPP | ||
| CorRev_CommisTradeCustIsOrg | P_RU_VATSPLedgersJournal | CorRev_CommisTradeCustIsOrg | ||
| CorRev_CommisTradeCustIsNP | P_RU_VATSPLedgersJournal | CorRev_CommisTradeCustIsNP | ||
| CompanyCodeCurrency | P_RU_VATSPLedgersJournal | CompanyCodeCurrency | Local Currency | |
| Currency | P_RU_VATSPLedgersJournal | Currency | Valuation Crcy | |
| CurrencyISOCode | P_RU_VATSPLedgersJournal | CurrencyISOCode | Document Currency | |
| TotalAmountInTransactionCrcy | P_RU_VATSPLedgersJournal | TotalAmountInTransactionCrcy | Total Amt In Tr Crcy | |
| AmountInTransactionCurrency | P_RU_VATSPLedgersJournal | TotalAmountInTransactionCrcy | Total Amt In Tr Crcy | |
| TaxAmountInTransCrcy | P_RU_VATSPLedgersJournal | TaxAmountInTransCrcy | TaxAmt in Tran. Crcy | |
| TaxItemGroupingVersion | P_RU_VATSPLedgersJournal | TaxItemGroupingVersion | Tax Grping Ver. | |
| Sign | P_RU_VATSPLedgersJournal | Sign | Type of SIGN component in row type of a Ranges type | |
| RU_VATReturnVersion | P_RU_VATSPLedgersJournal | RU_VATReturnVersion | VAT Return Version | |
| RU_VATReturnSectionType | P_RU_VATSPLedgersJournal | RU_VATReturnSectionType | Section Type | |
| RU_VATReturnSection | P_RU_VATSPLedgersJournal | RU_VATReturnSection | VAT Return Section | |
| RU_VATReturnLine | P_RU_VATSPLedgersJournal | RU_VATReturnLine | Line | |
| RU_VATSubScenarioVersion | P_RU_VATSPLedgersJournal | RU_VATSubScenarioVersion | Subscenario Version | |
| RU_VATSubScenario | P_RU_VATSPLedgersJournal | RU_VATSubScenario | Subscenario | |
| RU_VATScenario | P_RU_VATSPLedgersJournal | RU_VATScenario | VAT Scenario | |
| RU_CustomerOutputType | P_RU_VATSPLedgersJournal | RU_CustomerOutputType | ||
| RU_SupplierAgentOutputType | P_RU_VATSPLedgersJournal | RU_SupplierAgentOutputType | ||
| RU_SupplierOutputType | P_RU_VATSPLedgersJournal | RU_SupplierOutputType | ||
| RU_SubagentOutputType | P_RU_VATSPLedgersJournal | RU_SubagentOutputType | ||
| SalesDealType | P_RU_VATSPLedgersJournal | SalesDealType | Deal Type | |
| RU_OrgOperationType | P_RU_VATSPLedgersJournal | RU_OrgOperationType | ||
| RU_PersonOperationType | P_RU_VATSPLedgersJournal | RU_PersonOperationType | ||
| SourceDocument | P_RU_VATSPLedgersJournal | SourceDocument | Document | |
| SourceDocumentFiscalYear | P_RU_VATSPLedgersJournal | SourceDocumentFiscalYear | ||
| RevisionNumber | P_RU_VATSPLedgersJournal | RevisionNumber | Revision Number | |
| StatryRptgEntity | P_RU_VATSPLedgersJournal | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | P_RU_VATSPLedgersJournal | StatryRptCategory | Report ID | |
| StatryRptRunID | P_RU_VATSPLedgersJournal | 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_VATInvoiceJournal1.
-- 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: PRUVATINVJ1
CREATE VIEW P_RU_VATInvoiceJournal1 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.TaxCode AS TaxCode,
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.RU_InvoiceType AS RU_InvoiceType,
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.CompanyCodeCurrency AS CompanyCodeCurrency,
VatSPLedgerJournal.Currency AS Currency,
VatSPLedgerJournal.CurrencyISOCode AS CurrencyISOCode,
VatSPLedgerJournal.TotalAmountInTransactionCrcy AS TotalAmountInTransactionCrcy,
VatSPLedgerJournal.TotalAmountInTransactionCrcy AS AmountInTransactionCurrency,
VatSPLedgerJournal.TaxAmountInTransCrcy AS TaxAmountInTransCrcy,
VatSPLedgerJournal.TaxItemGroupingVersion AS TaxItemGroupingVersion,
VatSPLedgerJournal.Sign AS Sign,
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_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_VATSPLedgersJournal AS VatSPLedgerJournal
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA