I_CoCodeWithholdingTaxCode
Withholding Tax Code in Company Code
I_CoCodeWithholdingTaxCode is a Basic CDS View that provides data about "Withholding Tax Code in Company Code" in SAP S/4HANA. It reads from 1 data source (I_Extendedwhldgtaxcode) and exposes 5 fields with key fields CompanyCode, WithholdingTaxType, WithholdingTaxCode. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Extendedwhldgtaxcode | ExtendedWithholdingTax | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ExtendedWhldgTaxCodeText | _Text | $projection.WithholdingTaxType = _Text.WithholdingTaxType and $projection.WithholdingTaxCode = _Text.WithholdingTaxCode and $projection.Country = _Text.CountryCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCWHLDGCODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Withholding Tax Code in Company Code | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelingPattern | #NONE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | CompanyCode | |
| KEY | WithholdingTaxType | I_Extendedwhldgtaxcode | WithholdingTaxType | |
| KEY | WithholdingTaxCode | I_Extendedwhldgtaxcode | WithholdingTaxCode | |
| Country | CompanyCode | Country | ||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'ICCWHLDGCODE'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.viewEnhancementCategory: [#NONE]
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Withholding Tax Code in Company Code'
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Search.searchable: true
@VDM.viewType: #BASIC
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #S,
dataClass: #MASTER
}
@ObjectModel: {
modelingPattern: #NONE,
supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
}
define view I_CoCodeWithholdingTaxCode
as select from I_Extendedwhldgtaxcode as ExtendedWithholdingTax
left outer to one join I_CompanyCode as CompanyCode on CompanyCode.Country = ExtendedWithholdingTax.Country
association [0..*] to I_ExtendedWhldgTaxCodeText as _Text on $projection.WithholdingTaxType = _Text.WithholdingTaxType
and $projection.WithholdingTaxCode = _Text.WithholdingTaxCode
and $projection.Country = _Text.CountryCode
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key CompanyCode.CompanyCode,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
key ExtendedWithholdingTax.WithholdingTaxType,
@Semantics.text: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
@ObjectModel.text.association: '_Text'
key ExtendedWithholdingTax.WithholdingTaxCode,
CompanyCode.Country,
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_EXTENDEDWHLDGTAXCODE"
],
"ASSOCIATED":
[
"I_EXTENDEDWHLDGTAXCODETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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