P_TaxBox_Base_TDT
P_TaxBox_Base_TDT is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (fot_atr_country, P_Tax_Declar07C, fot_atr_tbs_mntt) and exposes 10 fields with key fields land1, type, valid_from, tax_box.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| fot_atr_country | c | inner |
| P_Tax_Declar07C | declar | from |
| fot_atr_tbs_mntt | mntt | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PTAXBOXBASETDT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | land1 | P_Tax_Declar07C | land1 | Trip Ctry/Reg |
| KEY | type | P_Tax_Declar07C | type | Worklist Type |
| KEY | valid_from | P_Tax_Declar07C | valid_from | Validity Start Time |
| KEY | tax_box | P_Tax_Declar07C | tax_box | Tax Box |
| tax_group | P_Tax_Declar07C | tax_group | Tax Grouping | |
| mwskz | P_Tax_Declar07C | mwskz | Tax Code | |
| txdat_from | P_Tax_Declar07C | txdat_from | Tax Rate Valid-From | |
| ktosl | P_Tax_Declar07C | ktosl | Transaction | |
| valid_to | P_Tax_Declar07C | valid_to | Validity End Time | |
| txdat_to | P_Tax_Declar07C | txdat_to | Tax Rate Valid-To |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_TaxBox_Base_TDT.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PTAXBOXBASETDT
CREATE VIEW P_TaxBox_Base_TDT AS
SELECT
declar.land1 AS land1,
declar.type AS type,
declar.valid_from AS valid_from,
declar.tax_box AS tax_box,
declar.tax_group AS tax_group,
declar.mwskz AS mwskz,
declar.txdat_from AS txdat_from,
declar.ktosl AS ktosl,
declar.valid_to AS valid_to,
declar.txdat_to AS txdat_to
FROM P_Tax_Declar07C AS declar
INNER JOIN fot_atr_country AS c ON /* join condition not captured in parsed metadata */
INNER JOIN fot_atr_tbs_mntt AS mntt ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA