P_KR_StrpNoRptdNdedItemMapping
ACR Non Deductible Mapping No Reported
P_KR_StrpNoRptdNdedItemMapping is a Composite CDS View that provides data about "ACR Non Deductible Mapping No Reported" in SAP S/4HANA. It reads from 1 data source (I_KR_NoneDeductibleVATMapping) and exposes 31 fields with key fields KR_OutputVATCompanyCode, KR_OutputVATAccountingDocument, KR_OutputVATFiscalYear, KR_OutputVATItem. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_KR_NoneDeductibleVATMapping | NonDedVATmapping | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_KR_StrpRptdNdedItemMapping | _KR_StrpRptdNdedItemMapping | NonDedVATmapping.KR_OutputVATCompanyCode = _KR_StrpRptdNdedItemMapping.KR_OutputVATCompanyCode and NonDedVATmapping.KR_OutputVATAccountingDocument = _KR_StrpRptdNdedItemMapping.KR_OutputVATAccountingDocument and NonDedVATmapping.KR_OutputVATFiscalYear = _KR_StrpRptdNdedItemMapping.KR_OutputVATFiscalYear and NonDedVATmapping.KR_OutputVATItem = _KR_StrpRptdNdedItemMapping.KR_OutputVATItem |
| [0..1] | I_KR_VATReportingConfiguration | _KR_VATReportingConfiguration | taxitem.TaxCode = _KR_VATReportingConfiguration.TaxCode |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PKRNORPTDNEDIMMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | ACR Non Deductible Mapping No Reported | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | KR_OutputVATCompanyCode | I_KR_NoneDeductibleVATMapping | KR_OutputVATCompanyCode | Company Code |
| KEY | KR_OutputVATAccountingDocument | I_KR_NoneDeductibleVATMapping | KR_OutputVATAccountingDocument | Document Number |
| KEY | KR_OutputVATFiscalYear | I_KR_NoneDeductibleVATMapping | KR_OutputVATFiscalYear | Fiscal Year |
| KEY | KR_OutputVATItem | I_KR_NoneDeductibleVATMapping | KR_OutputVATItem | Item |
| TaxCode | taxitem | TaxCode | Tax Code | |
| CompanyCodeCurrency | taxitem | CompanyCodeCurrency | Local Currency | |
| TaxBaseAmountInCoCodeCrcy | ||||
| TaxAmountInCoCodeCrcy | ||||
| TaxRateValidityStartDate | taxitem | TaxRateValidityStartDate | Tax Rate Validity Start Date | |
| BusinessPlace | taxitem | BusinessPlace | Business place | |
| TaxReportingDate | taxitem | TaxReportingDate | Tax Reporting Date | |
| PostingDate | taxitem | PostingDate | Posting Date for GR | |
| DocumentDate | taxitem | DocumentDate | Journal Entry Date | |
| TaxReportingDocumentDate | taxitem | TaxReportingDocumentDate | ||
| FiscalPeriod | taxitem | FiscalPeriod | Tax period | |
| ReportingDate | taxitem | ReportingDate | ||
| TaxInvoiceType | _KR_VATReportingConfiguration | TaxInvoiceType | ||
| KR_InputVATCompanyCode | I_KR_NoneDeductibleVATMapping | KR_InputVATCompanyCode | Company Code | |
| KR_InputVATAccountingDocument | I_KR_NoneDeductibleVATMapping | KR_InputVATAccountingDocument | Document Number | |
| KR_InputVATFiscalYear | I_KR_NoneDeductibleVATMapping | KR_InputVATFiscalYear | Fiscal Year | |
| KR_InputVATItem | I_KR_NoneDeductibleVATMapping | KR_InputVATItem | Item | |
| StatryRptRunStatus | _KR_StrpRptdNdedItemMapping | StatryRptRunStatus | ||
| StatryRptRunID | _KR_StrpRptdNdedItemMapping | StatryRptRunID | Report Run ID | |
| StatryRptgEntity | _KR_StrpRptdNdedItemMapping | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | _KR_StrpRptdNdedItemMapping | StatryRptCategory | Report ID | |
| CreatedByUser | I_KR_NoneDeductibleVATMapping | CreatedByUser | User Name | |
| CaseCreatedOn | I_KR_NoneDeductibleVATMapping | CaseCreatedOn | Created At | |
| ChangedByUserName | I_KR_NoneDeductibleVATMapping | ChangedByUserName | User Name | |
| CaseLastChangedOn | I_KR_NoneDeductibleVATMapping | CaseLastChangedOn | Last Changed At | |
| _KR_StrpRptdNdedItemMapping | _KR_StrpRptdNdedItemMapping | |||
| _KR_VATReportingConfiguration | _KR_VATReportingConfiguration |
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_StrpNoRptdNdedItemMapping.
-- 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: PKRNORPTDNEDIMMP
CREATE VIEW P_KR_StrpNoRptdNdedItemMapping AS
SELECT
NonDedVATmapping.KR_OutputVATCompanyCode AS KR_OutputVATCompanyCode,
NonDedVATmapping.KR_OutputVATAccountingDocument AS KR_OutputVATAccountingDocument,
NonDedVATmapping.KR_OutputVATFiscalYear AS KR_OutputVATFiscalYear,
NonDedVATmapping.KR_OutputVATItem AS KR_OutputVATItem,
taxitem.TaxCode AS TaxCode,
taxitem.CompanyCodeCurrency AS CompanyCodeCurrency,
cast( 0 - taxitem.TaxBaseAmountInCoCodeCrcy as hwbas_shl) AS TaxBaseAmountInCoCodeCrcy,
cast( 0 - taxitem.TaxAmountInCoCodeCrcy as fis_mwsts) AS TaxAmountInCoCodeCrcy,
taxitem.TaxRateValidityStartDate AS TaxRateValidityStartDate,
taxitem.BusinessPlace AS BusinessPlace,
taxitem.TaxReportingDate AS TaxReportingDate,
taxitem.PostingDate AS PostingDate,
taxitem.DocumentDate AS DocumentDate,
taxitem.TaxReportingDocumentDate AS TaxReportingDocumentDate,
taxitem.FiscalPeriod AS FiscalPeriod,
taxitem.ReportingDate AS ReportingDate,
_KR_VATReportingConfiguration.TaxInvoiceType AS TaxInvoiceType,
NonDedVATmapping.KR_InputVATCompanyCode AS KR_InputVATCompanyCode,
NonDedVATmapping.KR_InputVATAccountingDocument AS KR_InputVATAccountingDocument,
NonDedVATmapping.KR_InputVATFiscalYear AS KR_InputVATFiscalYear,
NonDedVATmapping.KR_InputVATItem AS KR_InputVATItem,
_KR_StrpRptdNdedItemMapping.StatryRptRunStatus AS StatryRptRunStatus,
_KR_StrpRptdNdedItemMapping.StatryRptRunID AS StatryRptRunID,
_KR_StrpRptdNdedItemMapping.StatryRptgEntity AS StatryRptgEntity,
_KR_StrpRptdNdedItemMapping.StatryRptCategory AS StatryRptCategory,
NonDedVATmapping.CreatedByUser AS CreatedByUser,
NonDedVATmapping.CaseCreatedOn AS CaseCreatedOn,
NonDedVATmapping.ChangedByUserName AS ChangedByUserName,
NonDedVATmapping.CaseLastChangedOn AS CaseLastChangedOn
FROM I_KR_NoneDeductibleVATMapping AS NonDedVATmapping
LEFT OUTER JOIN P_KR_StrpRptdNdedItemMapping AS _KR_StrpRptdNdedItemMapping ON NonDedVATmapping.KR_OutputVATCompanyCode = _KR_StrpRptdNdedItemMapping.KR_OutputVATCompanyCode AND NonDedVATmapping.KR_OutputVATAccountingDocument = _KR_StrpRptdNdedItemMapping.KR_OutputVATAccountingDocument AND NonDedVATmapping.KR_OutputVATFiscalYear = _KR_StrpRptdNdedItemMapping.KR_OutputVATFiscalYear AND NonDedVATmapping.KR_OutputVATItem = _KR_StrpRptdNdedItemMapping.KR_OutputVATItem -- association [0..1]
LEFT OUTER JOIN I_KR_VATReportingConfiguration AS _KR_VATReportingConfiguration ON taxitem.TaxCode = _KR_VATReportingConfiguration.TaxCode -- association [0..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