P_US_WhldgTaxCodeThldValues

DDL: P_US_WHLDGTAXCODETHLDVALUES SQL: PUSWTTXTHLDVAL Type: view COMPOSITE Package: GLO_FIN_IS_WHT_US

sfwef

P_US_WhldgTaxCodeThldValues is a Composite CDS View that provides data about "sfwef" in SAP S/4HANA. It reads from 2 data sources (P_StRpCategoryParameter, P_US_WhldgTaxCodeThldFields) and exposes 7 fields with key fields Country, ReportingType, WithholdingTaxCode, ReportingEntity, ReportingCategory. Part of development package GLO_FIN_IS_WHT_US.

Data Sources (2)

SourceAliasJoin Type
P_StRpCategoryParameter StRpCategoryParam from
P_US_WhldgTaxCodeThldFields US_WhldgTaxCodeThldFields inner

Parameters (1)

NameTypeDefault
p_US_1099ReportinType qstyp

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PUSWTTXTHLDVAL view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Country P_US_WhldgTaxCodeThldFields Country Venue: Ctry/Reg
KEY ReportingType P_US_WhldgTaxCodeThldFields ReportingType
KEY WithholdingTaxCode P_US_WhldgTaxCodeThldFields WithholdingTaxCode WTax Code
KEY ReportingEntity P_StRpCategoryParameter ReportingEntity Reporting Entity
KEY ReportingCategory P_StRpCategoryParameter ReportingCategory Report ID
KEY ThresholdFieldName P_US_WhldgTaxCodeThldFields ThresholdFieldName
ThresholdFieldValue

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_US_WhldgTaxCodeThldValues.
-- 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: PUSWTTXTHLDVAL
-- Parameters: p_US_1099ReportinType : qstyp

CREATE VIEW P_US_WhldgTaxCodeThldValues AS
SELECT
  US_WhldgTaxCodeThldFields.Country AS Country,
  US_WhldgTaxCodeThldFields.ReportingType AS ReportingType,
  US_WhldgTaxCodeThldFields.WithholdingTaxCode AS WithholdingTaxCode,
  StRpCategoryParam.ReportingEntity AS ReportingEntity,
  StRpCategoryParam.ReportingCategory AS ReportingCategory,
  US_WhldgTaxCodeThldFields.ThresholdFieldName AS ThresholdFieldName,
  cast( cast( StRpCategoryParam.ReportingCatLatestParamValue as numc255 ) as fis_qsshh ) AS ThresholdFieldValue
FROM P_StRpCategoryParameter AS StRpCategoryParam
INNER JOIN P_US_WhldgTaxCodeThldFields AS US_WhldgTaxCodeThldFields ON /* join condition not captured in parsed metadata */
;