P_MX_TaxBoxStructureType
P_MX_TaxBoxStructureType is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_TimeDepdntVersAssgmtNext) and exposes 13 fields with key fields Country, TaxBoxStrucValidityStartDate, TaxBoxStrucValidityStartDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TimeDepdntVersAssgmtNext | TimeDepdntVersAssgmtNext | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMXTAXBOXSTRTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | P_TimeDepdntVersAssgmtNext | land1 | Trip Ctry/Reg |
| KEY | TaxBoxStrucValidityStartDate | P_TimeDepdntVersAssgmtNext | fdatu | Vers.Valid From |
| TaxBoxStrucValidityEndDate | P_TimeDepdntVersAssgmtNext | fdatu_to | Vers.Valid To | |
| ValidFrom | ||||
| ValidTo | ||||
| TaxBoxStructureType | P_TimeDepdntVersAssgmtNext | verstax | Tax Grping Ver. | |
| CountryasCountry | ||||
| KEY | TaxBoxStrucValidityStartDate | TaxBoxStructure | ValidFrom | Vers.Valid From |
| TaxBoxStrucValidityEndDate | TaxBoxStructure | ValidTo | Vers.Valid To | |
| ValidFrom | ||||
| ValidTo | ||||
| TaxBoxStructureType | Tax Grping Ver. | |||
| TaxBoxStructure | TaxBoxStructure | TaxBoxStructure |
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_MX_TaxBoxStructureType.
-- 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: PMXTAXBOXSTRTYPE
CREATE VIEW P_MX_TaxBoxStructureType AS
SELECT
TimeDepdntVersAssgmtNext.land1 AS Country,
TimeDepdntVersAssgmtNext.fdatu AS TaxBoxStrucValidityStartDate,
TimeDepdntVersAssgmtNext.fdatu_to AS TaxBoxStrucValidityEndDate,
cast ( 0 as bu_advw_valid_from ) AS ValidFrom,
cast ( 0 as bu_advw_valid_to ) AS ValidTo,
TimeDepdntVersAssgmtNext.verstax AS TaxBoxStructureType,
case when AdvancedTaxReportingCountry.Country = 'MX' then '' else 'MX_VAT_REP' end as TaxBoxStructure AS CountryasCountry,
TaxBoxStructure.TaxBoxStructure AS TaxBoxStructure
FROM P_TimeDepdntVersAssgmtNext AS TimeDepdntVersAssgmtNext
;
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