P_RU_VATItemLogDelta
ACR Reported Tax Items Log Table
P_RU_VATItemLogDelta is a Consumption CDS View that provides data about "ACR Reported Tax Items Log Table" in SAP S/4HANA. It reads from 2 data sources (I_RU_StRpJournalEntryLog, I_RU_StRpJournalEntryLog) and exposes 21 fields. Part of development package GLO_FIN_IS_VAT_RU.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_RU_StRpJournalEntryLog | Run1 | from |
| I_RU_StRpJournalEntryLog | Run2 | union_all |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_RunID1 | srf_report_run_id | |
| P_RunID2 | srf_report_run_id |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRUVATITMLOGD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| StatryRptgEntity | I_RU_StRpJournalEntryLog | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | I_RU_StRpJournalEntryLog | StatryRptCategory | Report ID | |
| StatryRptRunID | I_RU_StRpJournalEntryLog | StatryRptRunID | Report Run ID | |
| CompanyCode | I_RU_StRpJournalEntryLog | CompanyCode | Receiver Company Code | |
| AccountingDocument | I_RU_StRpJournalEntryLog | AccountingDocument | Journal Entry | |
| FiscalYear | I_RU_StRpJournalEntryLog | FiscalYear | G/L Fiscal Year | |
| TaxItem | I_RU_StRpJournalEntryLog | TaxItem | Tax Item | |
| RevisionNumber | I_RU_StRpJournalEntryLog | RevisionNumber | Revision Number | |
| RU_VATReturnSectionType | I_RU_StRpJournalEntryLog | RU_VATReturnSectionType | Section Type | |
| RunID1 | ||||
| StatryRptgEntity | Reporting Entity | |||
| StatryRptCategory | I_RU_StRpJournalEntryLog | StatryRptCategory | Report ID | |
| StatryRptRunID | I_RU_StRpJournalEntryLog | StatryRptRunID | Report Run ID | |
| CompanyCode | I_RU_StRpJournalEntryLog | CompanyCode | Receiver Company Code | |
| AccountingDocument | I_RU_StRpJournalEntryLog | AccountingDocument | Journal Entry | |
| FiscalYear | I_RU_StRpJournalEntryLog | FiscalYear | G/L Fiscal Year | |
| TaxItem | I_RU_StRpJournalEntryLog | TaxItem | Tax Item | |
| RevisionNumber | I_RU_StRpJournalEntryLog | RevisionNumber | Revision Number | |
| RU_VATReturnSectionType | I_RU_StRpJournalEntryLog | RU_VATReturnSectionType | Section Type | |
| RunID1 | ||||
| RunID2 |
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_VATItemLogDelta.
-- 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: PRUVATITMLOGD
-- Parameters: P_RunID1 : srf_report_run_id, P_RunID2 : srf_report_run_id
CREATE VIEW P_RU_VATItemLogDelta AS
SELECT
Run1.StatryRptgEntity AS StatryRptgEntity,
Run1.StatryRptCategory AS StatryRptCategory,
Run1.StatryRptRunID AS StatryRptRunID,
Run1.CompanyCode AS CompanyCode,
Run1.AccountingDocument AS AccountingDocument,
Run1.FiscalYear AS FiscalYear,
Run1.TaxItem AS TaxItem,
Run1.RevisionNumber AS RevisionNumber,
Run1.RU_VATReturnSectionType AS RU_VATReturnSectionType,
$parameters.P_RunID1 AS RunID1,
$parameters.P_RunID2 AS RunID2
FROM I_RU_StRpJournalEntryLog AS Run1
-- UNION ALL with additional select branch(es): I_RU_StRpJournalEntryLog
;
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