P_US_WhldgTaxCodeThldFields

DDL: P_US_WHLDGTAXCODETHLDFIELDS SQL: PUSWTTXTHLDFLD Type: view COMPOSITE

P_US_WhldgTaxCodeThldFields is a Composite CDS View in SAP S/4HANA. It reads from 5 data sources (I_SAPClient, I_SAPClient, I_SAPClient, I_SAPClient, I_SAPClient) and exposes 17 fields with key fields Country, ReportingType, WithholdingTaxType, WithholdingTaxCode, ReportingType.

Data Sources (5)

SourceAliasJoin Type
I_SAPClient I_SAPClient from
I_SAPClient I_SAPClient union
I_SAPClient I_SAPClient union
I_SAPClient I_SAPClient union
I_SAPClient I_SAPClient union

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PUSWTTXTHLDFLD 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 #S view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Country
KEY ReportingType
KEY WithholdingTaxType
KEY WithholdingTaxCode
KEY ReportingType
KEY WithholdingTaxType
KEY WithholdingTaxCode
KEY ReportingType
KEY WithholdingTaxType
KEY WithholdingTaxCode
KEY ReportingType
KEY WithholdingTaxType
KEY WithholdingTaxCode
KEY ReportingType
KEY WithholdingTaxType
KEY WithholdingTaxCode
KEY ThresholdFieldName
@AbapCatalog.sqlViewName: 'PUSWTTXTHLDFLD'
@VDM.viewType: #COMPOSITE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.private: true
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_US_WhldgTaxCodeThldFields as select from I_SAPClient {
  key cast( 'US' as land1)                   as Country,
  key cast('MISC' as qstyp )                 as ReportingType,
  key cast('' as witht )                     as WithholdingTaxType,
  key cast('08' as qsskz )                   as WithholdingTaxCode,
  key cast('US_MIN_DIVID' as fieldname)      as ThresholdFieldName
    
}
union 
select from I_SAPClient {
  key cast( 'US' as land1)                   as Country,
  key cast('MISC' as qstyp )                 as ReportingType,
  key cast('' as witht )                     as WithholdingTaxType,
  key cast('**' as qsskz )                   as WithholdingTaxCode,
  key cast('US_MIN_FED' as fieldname)        as ThresholdFieldName
    
}
union 
select from I_SAPClient {
key cast( 'US' as land1)                   as Country,
  key cast('MISC' as qstyp )                 as ReportingType,
  key cast('' as witht )                     as WithholdingTaxType,
  key cast('09' as qsskz )                   as WithholdingTaxCode,
  key cast('US_MIN_DIRECT' as fieldname)     as ThresholdFieldName
    
}
union
select from I_SAPClient {
  key cast( 'US' as land1)                   as Country,
  key cast('INT' as qstyp )                  as ReportingType,
  key cast('' as witht )                     as WithholdingTaxType,
  key cast('1J' as qsskz )                   as WithholdingTaxCode,
  key cast('US_MIN_INT_GEN' as fieldname)    as ThresholdFieldName
    
}
union  
select from I_SAPClient {
  key cast( 'US' as land1)                   as Country,
  key cast('MISC' as qstyp )                 as ReportingType,
  key cast('' as witht )                     as WithholdingTaxType,
  key cast('02' as qsskz )                   as WithholdingTaxCode,
  key cast('US_MIN_ROYAL' as fieldname)      as ThresholdFieldName
    
}