C_RU_VATReturnMainSectionItemC
VAT Return Sections 1-7: Cube view
C_RU_VATReturnMainSectionItemC is a Consumption CDS View (Cube) that provides data about "VAT Return Sections 1-7: Cube view" in SAP S/4HANA. It reads from 1 data source (P_RU_VATReturnGeneralSection3) and exposes 42 fields. Part of development package GLO_FIN_IS_VAT_RU_RETURN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_VATReturnGeneralSection3 | P_RU_VATReturnGeneralSection3 | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FiscalYearVariant | fis_periv | |
| P_Date | datum |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRUVATRETMSIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| EndUserText.label | VAT Return Sections 1-7: Cube view | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | CompanyCode | Receiver Company Code | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| SourceDocument | SourceDocument | Document | ||
| SourceDocumentFiscalYear | SourceDocumentFiscalYear | |||
| ExternalInvoice | External Number | |||
| InvoiceDate | Run On | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | |||
| TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | |||
| Supplier | Supplier | |||
| SupplierName | Supplier Name | |||
| RU_PartnerOrganizationINN | BP INN | |||
| RU_PartnerOrganizationKPP | BP KPP | |||
| RU_PartnerPersonINN | BP Pers. INN | |||
| FirstName | First Name | |||
| LastName | Last Name | |||
| MiddleName | Middle Name | |||
| RU_TerritoryClassfctnOKTMO | OKTMO | |||
| VATReturnOperation | Operation Code | |||
| ExportInvcConfirmedFiscalYear | Reporting Year | |||
| FiscalPeriod | Tax period | |||
| RU_VATReturnVersion | RU_VATReturnVersion | VAT Return Version | ||
| RU_VATReturnSectionType | RU_VATReturnSectionType | Section Type | ||
| RU_VATReturnSection | RU_VATReturnSection | VAT Return Section | ||
| TaxBoxByTaxAuthority | Line | |||
| VATReturnItemDescription | ||||
| RU_VATSubScenarioVersion | RU_VATSubScenarioVersion | Subscenario Version | ||
| RU_VATSubScenario | RU_VATSubScenario | Subscenario | ||
| RU_VATScenario | RU_VATScenario | VAT Scenario | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| StatryRptgEntity | StatryRptgEntity | Reporting Entity | ||
| StatryRptCategory | StatryRptCategory | Report ID | ||
| StatryRptRunID | 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 C_RU_VATReturnMainSectionItemC.
-- 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: CRUVATRETMSIC
-- Parameters: P_FiscalYearVariant : fis_periv, P_Date : datum
CREATE VIEW C_RU_VATReturnMainSectionItemC AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
PostingDate,
TaxReportingDate,
DocumentDate,
IsReversal,
IsReversed,
SourceDocument,
SourceDocumentFiscalYear,
cast( ExternalInvoice as firu_inv_extnum ) AS ExternalInvoice,
cast( InvoiceDate as firu_inv_extdate ) AS InvoiceDate,
CompanyCodeCurrency,
BusinessTransactionType,
AccountingDocumentType,
TaxCode,
cast( TaxBaseAmountInCoCodeCrcy as firu_taxbaseamountcccrcy ) AS TaxBaseAmountInCoCodeCrcy,
cast( TaxAmountInCoCodeCrcy as firu_taxamountcccrcy ) AS TaxAmountInCoCodeCrcy,
cast( Supplier as bu_partner ) AS Supplier,
cast( SupplierName as firu_partner_name_250 ) AS SupplierName,
cast( RU_PartnerOrganizationINN as firu_partner_inn ) AS RU_PartnerOrganizationINN,
cast( RU_PartnerOrganizationKPP as firu_partner_kpp ) AS RU_PartnerOrganizationKPP,
cast( RU_PartnerPersonINN as firu_partner_pers_inn ) AS RU_PartnerPersonINN,
cast( FirstName as firu_partner_pers_first_name ) AS FirstName,
cast( LastName as firu_partner_pers_last_name ) AS LastName,
cast( MiddleName as firu_partner_pers_middle_name ) AS MiddleName,
cast( RU_TerritoryClassfctnOKTMO as firu_oktmo_int) AS RU_TerritoryClassfctnOKTMO,
cast( VATReturnOperation as j_3rvatdopertype ) AS VATReturnOperation,
cast( ExportInvcConfirmedFiscalYear as j_3r_rep_year ) AS ExportInvcConfirmedFiscalYear,
cast( FiscalPeriod as j_3rf_tax_per ) AS FiscalPeriod,
RU_VATReturnVersion,
RU_VATReturnSectionType,
RU_VATReturnSection,
cast( RU_VATReturnLine as j_3rvatdline ) AS TaxBoxByTaxAuthority,
cast( VATReturnItemDescription as firu_vatitdes_250 ) AS VATReturnItemDescription,
RU_VATSubScenarioVersion,
RU_VATSubScenario,
RU_VATScenario,
AuthorizationGroup,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID
FROM P_RU_VATReturnGeneralSection3
;
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