P_IT_StRpWHTItemExcldAcctAmt

DDL: P_IT_STRPWHTITEMEXCLDACCTAMT Type: view_entity COMPOSITE

Italy WHT Excluded Account Amount

P_IT_StRpWHTItemExcldAcctAmt is a Composite CDS View that provides data about "Italy WHT Excluded Account Amount" in SAP S/4HANA. It reads from 2 data sources (P_IT_ReportRunParameter, I_StRpWhldgTaxItem) and exposes 7 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (2)

SourceAliasJoin Type
P_IT_ReportRunParameter _ssr inner
I_StRpWhldgTaxItem ExcldAct from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Italy WHT Excluded Account Amount view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpWhldgTaxItem CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpWhldgTaxItem AccountingDocument Journal Entry
KEY FiscalYear I_StRpWhldgTaxItem FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem I_StRpWhldgTaxItem AccountingDocumentItem Posting View Item
GLAccount I_StRpWhldgTaxItem GLAccount General Ledger
ReportingCurrency I_StRpWhldgTaxItem ReportingCurrency Currency
AmountInCompanyCodeCurrency

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_IT_StRpWHTItemExcldAcctAmt.
-- 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.
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW P_IT_StRpWHTItemExcldAcctAmt AS
SELECT
  ExcldAct.CompanyCode AS CompanyCode,
  ExcldAct.AccountingDocument AS AccountingDocument,
  ExcldAct.FiscalYear AS FiscalYear,
  ExcldAct.AccountingDocumentItem AS AccountingDocumentItem,
  ExcldAct.GLAccount AS GLAccount,
  ExcldAct.ReportingCurrency AS ReportingCurrency,
  sum(ExcldAct.AmountInCompanyCodeCurrency) AS AmountInCompanyCodeCurrency
FROM I_StRpWhldgTaxItem AS ExcldAct
INNER JOIN P_IT_ReportRunParameter AS _ssr ON /* join condition not captured in parsed metadata */
;