P_GB_TaxCodeCustomizing
Great Britain Tax customizing
P_GB_TaxCodeCustomizing is a Basic CDS View that provides data about "Great Britain Tax customizing" in SAP S/4HANA. It reads from 4 data sources (a4av, t005, t007b, t683s) and exposes 10 fields.
Data Sources (4)
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Great Britain Tax customizing | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Application | a4av | kappl | ||
| ConditionType | a4av | kschl | ||
| DepartureCountry | a4av | aland | ||
| TaxCode | a4av | mwskz | ||
| ConditionValidityEndDate | a4av | datbi | ||
| ConditionValidityStartDate | a4av | datab | ||
| ConditionRecord | a4av | knumh | ||
| TransactionTypeDetermination | t683s | kvsl1 | ||
| TaxIsNotDeductible | t007b | stazf | ||
| TaxRate |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@VDM.private:true
@VDM.viewType: #BASIC
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #L,
dataClass: #MIXED
}
@EndUserText.label: 'Great Britain Tax customizing'
define view entity P_GB_TaxCodeCustomizing
as select from a4av //P_CndnTypeTaxClassification
left outer to one join konp on konp.kappl = a4av.kappl
and konp.kschl = a4av.kschl
and konp.knumh = a4av.knumh
and konp.kbetr > 0
inner join t005 on t005.land1 = a4av.aland
inner join t683s on t683s.kvewe = 'A'
and t683s.kappl = konp.kappl
and t683s.kalsm = t005.kalsm
and t683s.kschl = konp.kschl
inner join t007b on t007b.ktosl = t683s.kvsl1
{
a4av.kappl as Application,
a4av.kschl as ConditionType,
a4av.aland as DepartureCountry,
a4av.mwskz as TaxCode,
a4av.datbi as ConditionValidityEndDate,
a4av.datab as ConditionValidityStartDate,
a4av.knumh as ConditionRecord,
t683s.kvsl1 as TransactionTypeDetermination,
t007b.stazf as TaxIsNotDeductible,
//division(konp.kbetr, 10, 2) as TaxRate2,
division( cast ( konp.kbetr as abap.dec(10,2)), 1000, 4) as TaxRate
}
where
a4av.kappl = 'TX'
and a4av.kschl = 'GB'
and t007b.stazf is initial
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