P_US_WhldgTaxCodeThldFields
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA