P_KZ_VATRetForeignDocRoundRen
Round view for section 5 of old VAT return
P_KZ_VATRetForeignDocRoundRen is a Composite CDS View that provides data about "Round view for section 5 of old VAT return" in SAP S/4HANA. It reads from 1 data source (P_KZ_VATRetForeignDocRenew) and exposes 41 fields. Part of development package GLO_FIN_FI_KZ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_KZ_VATRetForeignDocRenew | P_KZ_VATRetForeignDocRenew | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_VATReturnVersion | j_3rvatdversion | |
| P_TaxItemGroupingVersion | verstax | |
| P_ReportingPeriodStartDate | datum | |
| P_ReportingPeriodEndDate | datum |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PKZVATRETFORRR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (41)
| 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 | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| SenderLogicalSystem | SenderLogicalSystem | Sender Logical System | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| Currency | Currency | Valuation Crcy | ||
| SupplierName | SupplierName | Supplier Name | ||
| Country | Country | Venue: Ctry/Reg | ||
| TaxNumber1 | TaxNumber1 | VAT Reg. No. | ||
| TaxCode | TaxCode | Tax Code | ||
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| BusinessArea | BusinessArea | Business Area | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| AssetClass | AssetClass | Asset Class | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| Plant | Plant | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| Product | Product | Product Sold | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| Material | Material | Vehicle Model | ||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| KZ_TaxTurnoverCode | KZ_TaxTurnoverCode |
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_KZ_VATRetForeignDocRoundRen.
-- 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: PKZVATRETFORRR
-- Parameters: P_VATReturnVersion : j_3rvatdversion, P_TaxItemGroupingVersion : verstax, P_ReportingPeriodStartDate : datum, P_ReportingPeriodEndDate : datum
CREATE VIEW P_KZ_VATRetForeignDocRoundRen AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
PostingDate,
TaxReportingDate,
DocumentDate,
AccountingDocumentType,
IsReversal,
IsReversed,
OriginalReferenceDocument,
ReferenceDocumentType,
DocumentReferenceID,
BusinessTransactionType,
SenderLogicalSystem,
CompanyCodeCurrency,
Currency,
SupplierName,
Country,
TaxNumber1,
TaxCode,
AccountingDocumentItem,
FiscalPeriod,
ControllingArea,
Segment,
ProfitCenter,
CostCenter,
BusinessArea,
Supplier,
Customer,
MasterFixedAsset,
FixedAsset,
AssetClass,
AssignmentReference,
Plant,
InventoryValuationType,
ValuationArea,
Product,
FunctionalArea,
Material,
AccountingDocumentCategory,
KZ_TaxTurnoverCode
FROM P_KZ_VATRetForeignDocRenew
;
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