P_TaxRecon05
P_TaxRecon05 is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (P_TaxRecon06, P_TaxRecon07, P_TaxRecon07) and exposes 65 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_TaxRecon06 | P_TaxRecon06 | left_outer |
| P_TaxRecon07 | P_TaxRecon07 | from |
| P_TaxRecon07 | P_TaxRecon07 | union |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PTAXRECON05 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| bukrs | bseg | bukrs | Value | |
| belnr | bseg | belnr | SD Document | |
| mwskz | bseg | mwskz | Tax Code | |
| tax_country | bseg | tax_country | Tax Ctry/Rgn | |
| gjahr | bseg | gjahr | Settlement Year | |
| txdat_from | bseg | txdat_from | Tax Rate Valid-From | |
| txbhw | txbhw | Original Tax Base Amount | ||
| txbhw_sum | txbhw_sum | |||
| hwbas | bset | hwbas | LC Base Amt | |
| hwbas_sum | hwbas_sum | |||
| buzei | bseg | buzei | Posting View Item | |
| hwste | hwste | LC Tax | ||
| kbetr | kbetr | Tax Rate | ||
| kbetr_calc | kbetr_calc | |||
| hkont | hkont | Transfer acct | ||
| lokkt | lokkt | Local Acct No. | ||
| altkt | altkt | Group Account Number | ||
| prctr | bseg | prctr | Profit Centers | |
| bupla | bseg | bupla | Business place | |
| stazf | stazf | Not deductible | ||
| stbkz | stbkz | Posting indic. | ||
| mwart | mwart | Tax Type | ||
| xmwsn | bseg | xmwsn | Net Tax Base | |
| xskfn | bseg | xskfn | Net Discount Base | |
| zbd1p | ||||
| h_monat | h_monat | Period | ||
| h_blart | h_blart | Document Type | ||
| h_budat | h_budat | Posting Date | ||
| h_bldat | h_bldat | Document Date | ||
| h_hwaer | bseg_sum | h_hwaer | Local Currency | |
| bukrs | Value | |||
| belnr | bseg | belnr | SD Document | |
| mwskz | bseg | mwskz | Tax Code | |
| tax_country | bseg | tax_country | Tax Ctry/Rgn | |
| gjahr | bseg | gjahr | Settlement Year | |
| txdat_from | bseg | txdat_from | Tax Rate Valid-From | |
| dmbtr | ||||
| dmbtr_sum | 0 | |||
| txbhw | txbhw | Original Tax Base Amount | ||
| txbhw_sum | 0 | |||
| hwbas | bset | hwbas | LC Base Amt | |
| hwbas_sum | 0 | |||
| buzei | bseg | buzei | Posting View Item | |
| hwste | hwste | LC Tax | ||
| kbetr | kbetr | Tax Rate | ||
| kbetr_calc | kbetr_calc | |||
| posted | hwste | LC Tax | ||
| calculated | ||||
| hkont | hkont | Transfer acct | ||
| lokkt | lokkt | Local Acct No. | ||
| altkt | altkt | Group Account Number | ||
| prctr | bseg | prctr | Profit Centers | |
| bupla | bseg | bupla | Business place | |
| stazf | Not deductible | |||
| stbkz | Posting indic. | |||
| mwart | mwart | Tax Type | ||
| xmwsn | bseg | xmwsn | Net Tax Base | |
| xskfn | bseg | xskfn | Net Discount Base | |
| zbd1p | ||||
| h_monat | h_monat | Period | ||
| h_blart | h_blart | Document Type | ||
| h_budat | h_budat | Posting Date | ||
| h_bldat | h_bldat | Document Date | ||
| h_hwaer | h_hwaer | Local Currency | ||
| ktosl |
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_TaxRecon05.
-- 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: PTAXRECON05
CREATE VIEW P_TaxRecon05 AS
SELECT
bseg.bukrs AS bukrs,
bseg.belnr AS belnr,
bseg.mwskz AS mwskz,
bseg.tax_country AS tax_country,
bseg.gjahr AS gjahr,
bseg.txdat_from AS txdat_from,
txbhw,
txbhw_sum,
bset.hwbas AS hwbas,
hwbas_sum,
bseg.buzei AS buzei,
hwste,
kbetr,
kbetr_calc,
hkont,
lokkt,
altkt,
bseg.prctr AS prctr,
bseg.bupla AS bupla,
stazf,
stbkz,
mwart,
bseg.xmwsn AS xmwsn,
bseg.xskfn AS xskfn,
DIVISION (bseg.zbd1p, 100, 5) AS zbd1p,
h_monat,
h_blart,
h_budat,
h_bldat,
bseg_sum.h_hwaer AS h_hwaer,
coalesce (bset.hwbas,0) AS dmbtr,
0 AS dmbtr_sum,
hwste AS posted,
ROUND(cast (bset.hwbas as abap.curr(23,2)) * kbetr_calc, 2) AS calculated,
coalesce (ktosl, '') AS ktosl
FROM P_TaxRecon07
LEFT OUTER JOIN P_TaxRecon06 ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): P_TaxRecon07
;
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