P_TaxBox_Base_TDT

DDL: P_TAXBOX_BASE_TDT SQL: PTAXBOXBASETDT Type: view BASIC

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)

SourceAliasJoin Type
fot_atr_country c inner
P_Tax_Declar07C declar from
fot_atr_tbs_mntt mntt inner

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;