P_KR_NONDCBLPREFIXASSETS00
Non Deductible Input VAT Item
P_KR_NONDCBLPREFIXASSETS00 is a Composite CDS View that provides data about "Non Deductible Input VAT Item" in SAP S/4HANA. It reads from 1 data source (I_StRpTaxItem) and exposes 21 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem. It has 6 associations to related views. Part of development package GLO_FIN_NON_DEDUCTIBLE_VAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpTaxItem | taxitem | inner |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_KR_NonDeductibleVATItem | _NonDedVATItem | $projection.CompanyCode = _NonDedVATItem.CompanyCode and $projection.AccountingDocument = _NonDedVATItem.AccountingDocument and $projection.FiscalYear = _NonDedVATItem.FiscalYear and $projection.TaxItem = _NonDedVATItem.TaxItem |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | P_KR_STRPRPTDNDEDITEM | _reporteditem | $projection.CompanyCode = _reporteditem.CompanyCode and $projection.AccountingDocument = _reporteditem.AccountingDocument and $projection.FiscalYear = _reporteditem.FiscalYear and $projection.TaxItem = _reporteditem.TaxItem |
| [0..1] | P_KR_STRPRPTDDISTINNDEDOUTITEM | _RptOutItem | $projection.CompanyCode = _RptOutItem.KR_InputVATCompanyCode and $projection.AccountingDocument = _RptOutItem.KR_InputVATAccountingDocument and $projection.FiscalYear = _RptOutItem.KR_InputVATFiscalYear and $projection.TaxItem = _RptOutItem.KR_InputVATItem |
| [1..1] | I_KR_NoneDcblInputVATCatVH | _category | $projection.KR_NoneDeductibleInputVATCat = _category.KR_NoneDeductibleInputVATCat and $projection.TaxItem = _NonDedVATItem.TaxItem |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PKRNDPREAS00 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_StRpTaxItem | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | I_StRpTaxItem | AccountingDocument | Journal Entry |
| KEY | FiscalYear | I_StRpTaxItem | FiscalYear | G/L Fiscal Year |
| KEY | TaxItem | I_StRpTaxItem | TaxItem | Tax Item |
| TaxCalculationProcedure | I_StRpTaxItem | TaxCalculationProcedure | Tax Procedure | |
| TaxAmountInCoCodeCrcy | I_StRpTaxItem | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | |
| TaxBaseAmountInCoCodeCrcy | I_StRpTaxItem | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | |
| CompanyCodeCurrency | I_StRpTaxItem | CompanyCodeCurrency | Local Currency | |
| SOKasStatryRptRunStatus | ||||
| KR_NoneDeductibleInputVATCat | RPTDtaxitem | KR_NoneDeductibleInputVATCat | ||
| KR_NoneDeductibleInputVATSts | RPTDtaxitem | KR_NoneDeductibleInputVATSts | ||
| TaxCode | I_StRpTaxItem | TaxCode | Tax Code | |
| Supplier | I_StRpTaxItem | Supplier | Supplier | |
| BusinessPlace | I_StRpTaxItem | BusinessPlace | Business place | |
| ReportingDate | ||||
| _RptOutItem | _RptOutItem | |||
| _NonDedVATItem | _NonDedVATItem | |||
| _CompanyCode | _CompanyCode | |||
| _Supplier | _Supplier | |||
| _TaxCodeText | I_StRpTaxItem | _TaxCodeText | ||
| _JournalEntry | I_StRpTaxItem | _JournalEntry |
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_NONDCBLPREFIXASSETS00.
-- 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: PKRNDPREAS00
CREATE VIEW P_KR_NONDCBLPREFIXASSETS00 AS
SELECT
taxitem.CompanyCode AS CompanyCode,
taxitem.AccountingDocument AS AccountingDocument,
taxitem.FiscalYear AS FiscalYear,
taxitem.TaxItem AS TaxItem,
taxitem.TaxCalculationProcedure AS TaxCalculationProcedure,
taxitem.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
taxitem.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
taxitem.CompanyCodeCurrency AS CompanyCodeCurrency,
'SOK'as StatryRptRunStatus AS SOKasStatryRptRunStatus,
RPTDtaxitem.KR_NoneDeductibleInputVATCat AS KR_NoneDeductibleInputVATCat,
RPTDtaxitem.KR_NoneDeductibleInputVATSts AS KR_NoneDeductibleInputVATSts,
taxitem.TaxCode AS TaxCode,
taxitem.Supplier AS Supplier,
taxitem.BusinessPlace AS BusinessPlace,
'99991231' AS ReportingDate,
taxitem._TaxCodeText AS _TaxCodeText,
taxitem._JournalEntry AS _JournalEntry
INNER JOIN I_StRpTaxItem AS taxitem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_KR_NonDeductibleVATItem AS _NonDedVATItem ON CompanyCode = _NonDedVATItem.CompanyCode AND AccountingDocument = _NonDedVATItem.AccountingDocument AND FiscalYear = _NonDedVATItem.FiscalYear AND TaxItem = _NonDedVATItem.TaxItem -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN P_KR_STRPRPTDNDEDITEM AS _reporteditem ON CompanyCode = _reporteditem.CompanyCode AND AccountingDocument = _reporteditem.AccountingDocument AND FiscalYear = _reporteditem.FiscalYear AND TaxItem = _reporteditem.TaxItem -- association [0..1]
LEFT OUTER JOIN P_KR_STRPRPTDDISTINNDEDOUTITEM AS _RptOutItem ON CompanyCode = _RptOutItem.KR_InputVATCompanyCode AND AccountingDocument = _RptOutItem.KR_InputVATAccountingDocument AND FiscalYear = _RptOutItem.KR_InputVATFiscalYear AND TaxItem = _RptOutItem.KR_InputVATItem -- association [0..1]
LEFT OUTER JOIN I_KR_NoneDcblInputVATCatVH AS _category ON KR_NoneDeductibleInputVATCat = _category.KR_NoneDeductibleInputVATCat AND TaxItem = _NonDedVATItem.TaxItem -- association [1..1]
;
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