P_RU_VATCRQSEC8
P_RU_VATCRQSEC8 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (j3rf_vatcrq8) and exposes 34 fields with key fields RequestID, FiscalYear, TaxPeriod, VATRetCorrNum, RequestLineItemNum.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| j3rf_vatcrq8 | VATCRQ8 | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PRUVATCRQSEC8 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequestID | j3rf_vatcrq8 | n1 | Request ID |
| KEY | FiscalYear | j3rf_vatcrq8 | gjahr | Settlement Year |
| KEY | TaxPeriod | j3rf_vatcrq8 | period | Tax Period |
| KEY | VATRetCorrNum | j3rf_vatcrq8 | corr_num | Corr.VAT Ret.Number |
| KEY | RequestLineItemNum | j3rf_vatcrq8 | num_line | Line Item Number |
| KEY | AddFlag | j3rf_vatcrq8 | flag_add | Indicator |
| KEY | ExternalDocNumber | j3rf_vatcrq8 | ext_number | Ext.Doc.Number |
| CompanyCode | j3rf_vatcrq8 | bukrs | Value | |
| InvFiscalYear | j3rf_vatcrq8 | gjahr_inv | Year of Invoice | |
| InvDocNumber | j3rf_vatcrq8 | belnr_inv | Number of Invoice | |
| TrnFiscalYear | j3rf_vatcrq8 | gjahr_trn | Fiscal Year | |
| TrnDocNumber | j3rf_vatcrq8 | belnr_trn | Document Number | |
| PayFiscalYear | j3rf_vatcrq8 | gjahr_pay | Fiscal Year | |
| PayDocNumber | j3rf_vatcrq8 | belnr_pay | Document Number | |
| ExternalDocumentNumber | j3rf_vatcrq8 | ext_number | Ext.Doc.Number | |
| OriginalInvDate | j3rf_vatcrq8 | bldat_orig_inv | Orig. VAT Inv. Date | |
| OrigInvRevNumber | j3rf_vatcrq8 | belnr_orig_rev | Revision Number | |
| OrigInvRevDate | j3rf_vatcrq8 | bldat_orig_rev | Revision Date | |
| CorrectiveInvDate | j3rf_vatcrq8 | bldat_corr_inv | Corr. VAT Inv. Date | |
| CorrectiveInvExtNumber | j3rf_vatcrq8 | ext_number_corr | Corr. VAT Inv. Ext. | |
| CorrectiveInvRevNumber | j3rf_vatcrq8 | number_corr_rev | Revision of Corr. No | |
| CorrectiveInvRevDate | j3rf_vatcrq8 | bldat_corr_rev | Rev. Date of Corr. | |
| CurrencyCode | j3rf_vatcrq8 | waers | Transaction Currency | |
| OKVCurrencyCode | j3rf_vatcrq8 | wrbtr_wrs_pay | Currency Key (OKV) | |
| InvoiceAmount | j3rf_vatcrq8 | wrbtr_pay | Amount Including VAT | |
| TaxAmount | j3rf_vatcrq8 | hwste_pay | Tax Amount | |
| TaxAmountOKVCurrencyCode | j3rf_vatcrq8 | hwste_wrs_pay | Currency Key (OKV) | |
| ErrorCode | j3rf_vatcrq8 | err_code | VAT Return Error | |
| PayDocExtNumberAndDate | j3rf_vatcrq8 | pay_ext_number | Payment Num and Date | |
| PayDocDate | j3rf_vatcrq8 | pay_ext_bldat | Document Date | |
| VendorNumber | j3rf_vatcrq8 | vendor | Vendor | |
| VendorName | j3rf_vatcrq8 | vendor_name | Vendor Name | |
| TechMMInvoiceNumber | j3rf_vatcrq8 | tech_mm_inv_vornu | INT4 | |
| MMInvoiceNumber | j3rf_vatcrq8 | mm_inv_vornu | Charact.string (256) |
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_VATCRQSEC8.
-- 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: PRUVATCRQSEC8
CREATE VIEW P_RU_VATCRQSEC8 AS
SELECT
VATCRQ8.n1 AS RequestID,
VATCRQ8.gjahr AS FiscalYear,
VATCRQ8.period AS TaxPeriod,
VATCRQ8.corr_num AS VATRetCorrNum,
VATCRQ8.num_line AS RequestLineItemNum,
VATCRQ8.flag_add AS AddFlag,
VATCRQ8.ext_number AS ExternalDocNumber,
VATCRQ8.bukrs AS CompanyCode,
VATCRQ8.gjahr_inv AS InvFiscalYear,
VATCRQ8.belnr_inv AS InvDocNumber,
VATCRQ8.gjahr_trn AS TrnFiscalYear,
VATCRQ8.belnr_trn AS TrnDocNumber,
VATCRQ8.gjahr_pay AS PayFiscalYear,
VATCRQ8.belnr_pay AS PayDocNumber,
VATCRQ8.ext_number AS ExternalDocumentNumber,
VATCRQ8.bldat_orig_inv AS OriginalInvDate,
VATCRQ8.belnr_orig_rev AS OrigInvRevNumber,
VATCRQ8.bldat_orig_rev AS OrigInvRevDate,
VATCRQ8.bldat_corr_inv AS CorrectiveInvDate,
VATCRQ8.ext_number_corr AS CorrectiveInvExtNumber,
VATCRQ8.number_corr_rev AS CorrectiveInvRevNumber,
VATCRQ8.bldat_corr_rev AS CorrectiveInvRevDate,
VATCRQ8.waers AS CurrencyCode,
VATCRQ8.wrbtr_wrs_pay AS OKVCurrencyCode,
VATCRQ8.wrbtr_pay AS InvoiceAmount,
VATCRQ8.hwste_pay AS TaxAmount,
VATCRQ8.hwste_wrs_pay AS TaxAmountOKVCurrencyCode,
VATCRQ8.err_code AS ErrorCode,
VATCRQ8.pay_ext_number AS PayDocExtNumberAndDate,
VATCRQ8.pay_ext_bldat AS PayDocDate,
VATCRQ8.vendor AS VendorNumber,
VATCRQ8.vendor_name AS VendorName,
VATCRQ8.tech_mm_inv_vornu AS TechMMInvoiceNumber,
VATCRQ8.mm_inv_vornu AS MMInvoiceNumber
FROM j3rf_vatcrq8 AS VATCRQ8
;
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