P_IT_StRpWHTItemPaymentReason

DDL: P_IT_STRPWHTITEMPAYMENTREASON Type: view_entity COMPOSITE

Italy WHT Payment Reason

P_IT_StRpWHTItemPaymentReason is a Composite CDS View that provides data about "Italy WHT Payment Reason" in SAP S/4HANA. It reads from 1 data source (P_StRpWhldgTaxItem) and exposes 4 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
P_StRpWhldgTaxItem wht from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Italy WHT Payment Reason 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 (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_StRpWhldgTaxItem CompanyCode Receiver Company Code
KEY AccountingDocument P_StRpWhldgTaxItem AccountingDocument Journal Entry
KEY FiscalYear P_StRpWhldgTaxItem FiscalYear G/L Fiscal Year
WithholdingTaxIncomeType

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_StRpWHTItemPaymentReason.
-- 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.

CREATE VIEW P_IT_StRpWHTItemPaymentReason AS
SELECT
  wht.CompanyCode AS CompanyCode,
  wht.AccountingDocument AS AccountingDocument,
  wht.FiscalYear AS FiscalYear,
  min(wht.WithholdingTaxIncomeType) AS WithholdingTaxIncomeType
FROM P_StRpWhldgTaxItem AS wht
;