C_KR_NoneDcblVATItemQuery
KR Non Deductible VAT Item - Query
C_KR_NoneDcblVATItemQuery is a Consumption CDS View that provides data about "KR Non Deductible VAT Item - Query" in SAP S/4HANA. It reads from 1 data source (I_KR_NoneDcblVATItemCube) and exposes 36 fields with key fields StatryRptRunID, StatryRptgEntity, StatryRptCategory, CompanyCode, FiscalYear. Part of development package GLO_FIN_NON_DEDUCTIBLE_VAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_KR_NoneDcblVATItemCube | I_KR_NoneDcblVATItemCube | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CKRNODEVATITMQRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | KR Non Deductible VAT Item - Query | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.query | true | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptRunID | NonDedVATItem | StatryRptRunID | Report Run ID |
| KEY | StatryRptgEntity | NonDedVATItem | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptCategory | NonDedVATItem | StatryRptCategory | Report ID |
| KEY | CompanyCode | NonDedVATItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | NonDedVATItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | NonDedVATItem | AccountingDocument | Journal Entry |
| KEY | TaxItem | NonDedVATItem | TaxItem | Tax Item |
| KEY | ReportingDate | NonDedVATItem | ReportingDate | Reporting Date |
| KEY | DeclarationPeriodNumber | NonDedVATItem | DeclarationPeriodNumber | |
| TaxReportingDate | NonDedVATItem | TaxReportingDate | Tax Reporting Date | |
| KR_NoneDeductibleInputVATCat | NonDedVATItem | KR_NoneDeductibleInputVATCat | Non-Deductible Reason | |
| FinancialAccountType | NonDedVATItem | FinancialAccountType | Fin. Account Type | |
| KR_TaxExemptRevenueInCCCrcy | NonDedVATItem | KR_TaxExemptRevenueInCCCrcy | ||
| TotalRevenueInCoCodeCrcy | NonDedVATItem | TotalRevenueInCoCodeCrcy | ||
| IsCompleted | NonDedVATItem | IsCompleted | Declaration Completed | |
| CompanyCodeCurrency | NonDedVATItem | CompanyCodeCurrency | Local Currency | |
| CreatedByUser | NonDedVATItem | CreatedByUser | User Name | |
| CaseCreatedOn | NonDedVATItem | CaseCreatedOn | Created At | |
| ChangedByUserName | NonDedVATItem | ChangedByUserName | ||
| CaseLastChangedOn | NonDedVATItem | CaseLastChangedOn | Last Changed At | |
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxBaseAmountInCoCodeCrcy | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | ||
| TaxItemGroup | TaxItemGroup | Tax doc. item number | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxType | TaxType | Tax Type | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPlace | BusinessPlace | Business place | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| _taxitem | NonDedVATItem | _taxitem | ||
| CAReconciliationKey | CAReconciliationKey | Reconcil. Key | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| StatryRptRun | StatryRptRun |
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_NoneDcblVATItemQuery.
-- 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: CKRNODEVATITMQRY
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id
CREATE VIEW C_KR_NoneDcblVATItemQuery AS
SELECT
NonDedVATItem.StatryRptRunID AS StatryRptRunID,
NonDedVATItem.StatryRptgEntity AS StatryRptgEntity,
NonDedVATItem.StatryRptCategory AS StatryRptCategory,
NonDedVATItem.CompanyCode AS CompanyCode,
NonDedVATItem.FiscalYear AS FiscalYear,
NonDedVATItem.AccountingDocument AS AccountingDocument,
NonDedVATItem.TaxItem AS TaxItem,
NonDedVATItem.ReportingDate AS ReportingDate,
NonDedVATItem.DeclarationPeriodNumber AS DeclarationPeriodNumber,
NonDedVATItem.TaxReportingDate AS TaxReportingDate,
NonDedVATItem.KR_NoneDeductibleInputVATCat AS KR_NoneDeductibleInputVATCat,
NonDedVATItem.FinancialAccountType AS FinancialAccountType,
NonDedVATItem.KR_TaxExemptRevenueInCCCrcy AS KR_TaxExemptRevenueInCCCrcy,
NonDedVATItem.TotalRevenueInCoCodeCrcy AS TotalRevenueInCoCodeCrcy,
NonDedVATItem.IsCompleted AS IsCompleted,
NonDedVATItem.CompanyCodeCurrency AS CompanyCodeCurrency,
NonDedVATItem.CreatedByUser AS CreatedByUser,
NonDedVATItem.CaseCreatedOn AS CaseCreatedOn,
NonDedVATItem.ChangedByUserName AS ChangedByUserName,
NonDedVATItem.CaseLastChangedOn AS CaseLastChangedOn,
TaxAmountInCoCodeCrcy,
TaxBaseAmountInCoCodeCrcy,
TaxItemGroup,
TaxCode,
TaxType,
BusinessPartner,
BusinessPlace,
AccountingDocumentType,
PostingDate,
DocumentDate,
Customer,
Supplier,
NonDedVATItem._taxitem AS _taxitem,
CAReconciliationKey,
ReferenceDocumentType,
StatryRptRun
FROM I_KR_NoneDcblVATItemCube
;
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