P_KR_NONDCBLINPUTVATITEM02
Non Deductible Input VAT Item
P_KR_NONDCBLINPUTVATITEM02 is a Composite CDS View that provides data about "Non Deductible Input VAT Item" in SAP S/4HANA. It reads from 1 data source (P_KR_NONDCBLINPUTVATITEM01) and exposes 22 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem. It has 1 association to related views. Part of development package GLO_FIN_NON_DEDUCTIBLE_VAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_KR_NONDCBLINPUTVATITEM01 | P_KR_NONDCBLINPUTVATITEM01 | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FromReportingDate | idkr_rptdat_from | |
| P_ToReportingDate | idkr_rptdat_to |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_KR_NoneDeductibleVATCmnt | _Comments | $projection.CompanyCode = _Comments.CompanyCode and $projection.AccountingDocument = _Comments.AccountingDocument and $projection.FiscalYear = _Comments.FiscalYear and $projection.TaxItem = _Comments.TaxItem |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PKRNINVATITM02 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | TaxItem | TaxItem | Tax Item | |
| TaxCalculationProcedure | TaxCalculationProcedure | Tax Procedure | ||
| TaxAmountInCoCodeCrcy | ||||
| TaxBaseAmountInCoCodeCrcy | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TaxCode | TaxCode | Tax Code | ||
| Supplier | Supplier | Supplier | ||
| BusinessPlace | BusinessPlace | Business place | ||
| TaxReportingDate | ||||
| ReportingDate | ||||
| KR_NoneDeductibleInputVATCat | KR_NoneDeductibleInputVATCat | |||
| KR_NoneDeductibleInputVATSts | KR_NoneDeductibleInputVATSts | |||
| CaseLastChangedOn | CaseLastChangedOn | Last Changed At | ||
| _RptOutItem | _RptOutItem | |||
| _TaxCodeText | _TaxCodeText | |||
| _CompanyCode | _CompanyCode | |||
| _JournalEntry | _JournalEntry | |||
| _Supplier | _Supplier | |||
| _Comments | _Comments |
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_KR_NONDCBLINPUTVATITEM02.
-- 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: PKRNINVATITM02
-- Parameters: P_FromReportingDate : idkr_rptdat_from, P_ToReportingDate : idkr_rptdat_to
CREATE VIEW P_KR_NONDCBLINPUTVATITEM02 AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
TaxItem,
TaxCalculationProcedure,
min(TaxAmountInCoCodeCrcy) AS TaxAmountInCoCodeCrcy,
min(TaxBaseAmountInCoCodeCrcy) AS TaxBaseAmountInCoCodeCrcy,
CompanyCodeCurrency,
TaxCode,
Supplier,
BusinessPlace,
min(TaxReportingDate) AS TaxReportingDate,
min(ReportingDate) AS ReportingDate,
KR_NoneDeductibleInputVATCat,
KR_NoneDeductibleInputVATSts,
CaseLastChangedOn
FROM P_KR_NONDCBLINPUTVATITEM01
LEFT OUTER JOIN I_KR_NoneDeductibleVATCmnt AS _Comments ON CompanyCode = _Comments.CompanyCode AND AccountingDocument = _Comments.AccountingDocument AND FiscalYear = _Comments.FiscalYear AND TaxItem = _Comments.TaxItem -- association [0..*]
;
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