C_KR_VATInvoiceItemQuery
VAT Reporting Tax Items
C_KR_VATInvoiceItemQuery is a Consumption CDS View that provides data about "VAT Reporting Tax Items" in SAP S/4HANA. It reads from 1 data source (I_KR_VATInvoiceItemCube) and exposes 56 fields with key fields CompanyCode, FiscalYear, AccountingDocument, TaxItem, StatryRptgEntity. Part of development package GLO_FIN_IS_VAT_KR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_KR_VATInvoiceItemCube | I_KR_VATInvoiceItemCube | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_StatryRptRunType | srf_report_run_type |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CKRVATINVCITEMQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | VAT Reporting Tax Items | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_KR_VATInvoiceItemCube | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | I_KR_VATInvoiceItemCube | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | TaxItem | TaxItem | Tax Item | |
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | TaxCode | TaxCode | Tax Code | |
| KEY | TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | |
| TaxRate | TaxRate | Tax Rate | ||
| TaxRateValidityStartDate | TaxRateValidityStartDate | Valid-From Date of Tax Rate | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| ExporterUUID | ExporterUUID | Export ID | ||
| LoadingDate | LoadingDate | Loading Date | ||
| CompanyCodeCurrency | I_KR_VATInvoiceItemCube | CompanyCodeCurrency | Company Code Currency | |
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| BusinessPlace | BusinessPlace | Business place | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| TaxInvoiceApprovalNmbr | TaxInvoiceApprovalNmbr | Tax Invc. No. | ||
| ReversalReason | ReversalReason | Reversal Reason | ||
| IsReversal | IsReversal | Is Reversal | ||
| IsReversed | IsReversed | Is Reversed | ||
| PostingDate | I_KR_VATInvoiceItemCube | PostingDate | Posting Date | |
| DocumentDate | I_KR_VATInvoiceItemCube | DocumentDate | Journal Entry Date | |
| ReportingDate | I_KR_VATInvoiceItemCube | ReportingDate | Reporting Date | |
| TaxNumber2 | I_KR_VATInvoiceItemCube | TaxNumber2 | Tax Numnber 2 | |
| TaxNumber1 | I_KR_VATInvoiceItemCube | TaxNumber1 | Tax Numnber 1 | |
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Business Partner Name | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| IndustryType | I_KR_VATInvoiceItemCube | IndustryType | Type of Industry | |
| BusinessType | I_KR_VATInvoiceItemCube | BusinessType | Type of Business | |
| TaxInvoiceRepresentativeName | I_KR_VATInvoiceItemCube | TaxInvoiceRepresentativeName | Rep's Name | |
| TaxInvcNmbrValidityStartDate | TaxInvcNmbrValidityStartDate | Validity Start Date | ||
| TaxType | TaxType | Tax Type | ||
| TaxBaseAmountInCoCodeCrcy | I_KR_VATInvoiceItemCube | TaxBaseAmountInCoCodeCrcy | Base Amount | |
| TaxAmountInCoCodeCrcy | I_KR_VATInvoiceItemCube | TaxAmountInCoCodeCrcy | Tax Amount | |
| TaxInvoiceType | TaxInvoiceType | |||
| InvoiceDate | InvoiceDate | Invoice Date | ||
| ExportType | ExportType | |||
| MultipleInvoiceType | MultipleInvoiceType | Invoice Type | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| TaxBaseAmountInTransCrcy | TaxBaseAmountInTransCrcy | Base Amt. In Trans. Crcy | ||
| TaxItemGroup | TaxItemGroup | Tax doc. item number | ||
| CAReconciliationKey | CAReconciliationKey | Reconcil. Key | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| StatryRptRun | StatryRptRun | |||
| CATaxReportingAdditionalText | CATaxReportingAdditionalText | |||
| CADocumentNumber | CADocumentNumber | Document Number | ||
| CAGLItemNumber | CAGLItemNumber | Item | ||
| CATaxReportingDetailingAssgmt | CATaxReportingDetailingAssgmt | |||
| CATaxReportingItemSequenceNmbr | CATaxReportingItemSequenceNmbr | |||
| ExchangeRateDate | ExchangeRateDate | Translatn Date |
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_KR_VATInvoiceItemQuery.
-- 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: CKRVATINVCITEMQ
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_StatryRptRunType : srf_report_run_type
CREATE VIEW C_KR_VATInvoiceItemQuery AS
SELECT
I_KR_VATInvoiceItemCube.CompanyCode AS CompanyCode,
I_KR_VATInvoiceItemCube.FiscalYear AS FiscalYear,
AccountingDocument,
TaxItem,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
TaxCode,
TransactionTypeDetermination,
TaxRate,
TaxRateValidityStartDate,
ExchangeRate,
ExporterUUID,
LoadingDate,
I_KR_VATInvoiceItemCube.CompanyCodeCurrency AS CompanyCodeCurrency,
FinancialAccountType,
BusinessPlace,
VATRegistration,
AccountingDocumentType,
DocumentReferenceID,
TaxInvoiceApprovalNmbr,
ReversalReason,
IsReversal,
IsReversed,
I_KR_VATInvoiceItemCube.PostingDate AS PostingDate,
I_KR_VATInvoiceItemCube.DocumentDate AS DocumentDate,
I_KR_VATInvoiceItemCube.ReportingDate AS ReportingDate,
I_KR_VATInvoiceItemCube.TaxNumber2 AS TaxNumber2,
I_KR_VATInvoiceItemCube.TaxNumber1 AS TaxNumber1,
BusinessPartner,
BusinessPartnerName,
Customer,
Supplier,
I_KR_VATInvoiceItemCube.IndustryType AS IndustryType,
I_KR_VATInvoiceItemCube.BusinessType AS BusinessType,
I_KR_VATInvoiceItemCube.TaxInvoiceRepresentativeName AS TaxInvoiceRepresentativeName,
TaxInvcNmbrValidityStartDate,
TaxType,
I_KR_VATInvoiceItemCube.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
I_KR_VATInvoiceItemCube.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
TaxInvoiceType,
InvoiceDate,
ExportType,
MultipleInvoiceType,
DocumentCurrency,
TaxBaseAmountInTransCrcy,
TaxItemGroup,
CAReconciliationKey,
ReferenceDocumentType,
StatryRptRun,
CATaxReportingAdditionalText,
CADocumentNumber,
CAGLItemNumber,
CATaxReportingDetailingAssgmt,
CATaxReportingItemSequenceNmbr,
ExchangeRateDate
FROM I_KR_VATInvoiceItemCube
;
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