P_RU_TaxCode
P_RU_TaxCode is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_CompanyCode, I_Country, I_TaxCode) and exposes 5 fields with key fields CompanyCode, TaxCalculationProcedure, TaxCode.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | I_CompanyCode | inner |
| I_Country | I_Country | inner |
| I_TaxCode | I_TaxCode | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PRUTAXCODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CompanyCode | CompanyCode | |
| KEY | TaxCalculationProcedure | I_TaxCode | TaxCalculationProcedure | |
| KEY | TaxCode | I_TaxCode | TaxCode | |
| TaxType | I_TaxCode | TaxType | ||
| Country | I_CompanyCode | Country |
@VDM.private:true
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'PRUTAXCODE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_RU_TaxCode
as select from I_TaxCode
inner join I_Country on I_Country.TaxCalculationProcedure = I_TaxCode.TaxCalculationProcedure
inner join I_CompanyCode on I_CompanyCode.Country = I_Country.Country
{
key I_CompanyCode.CompanyCode,
key I_TaxCode.TaxCalculationProcedure,
key I_TaxCode.TaxCode,
I_TaxCode.TaxType,
I_CompanyCode.Country
}
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