P_KR_NONDCBLCMMTCOUNTS

DDL: P_KR_NONDCBLCMMTCOUNTS SQL: PKRNDEDCMMTCNT Type: view COMPOSITE

P_KR_NONDCBLCMMTCOUNTS is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_KR_NoneDeductibleVATCmnt) and exposes 5 fields with key fields CompanyCode, AccountingDocument, FiscalYear, taxitem.

Data Sources (1)

SourceAliasJoin Type
I_KR_NoneDeductibleVATCmnt comments from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PKRNDEDCMMTCNT 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 (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_KR_NoneDeductibleVATCmnt CompanyCode Receiver Company Code
KEY AccountingDocument I_KR_NoneDeductibleVATCmnt AccountingDocument Journal Entry
KEY FiscalYear I_KR_NoneDeductibleVATCmnt FiscalYear G/L Fiscal Year
KEY taxitem I_KR_NoneDeductibleVATCmnt TaxItem Tax Item
TotalNumberOfNotes

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_NONDCBLCMMTCOUNTS.
-- 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: PKRNDEDCMMTCNT

CREATE VIEW P_KR_NONDCBLCMMTCOUNTS AS
SELECT
  comments.CompanyCode AS CompanyCode,
  comments.AccountingDocument AS AccountingDocument,
  comments.FiscalYear AS FiscalYear,
  comments.TaxItem AS taxitem,
  count(*) AS TotalNumberOfNotes
FROM I_KR_NoneDeductibleVATCmnt AS comments
;