P_MX_TaxBoxStructureType

DDL: P_MX_TAXBOXSTRUCTURETYPE SQL: PMXTAXBOXSTRTYPE Type: view COMPOSITE Package: GLO_FIN_IS_VAT_MX

Mexico Tax Box Structure Type

P_MX_TaxBoxStructureType is a Composite CDS View that provides data about "Mexico Tax Box Structure Type" in SAP S/4HANA. It reads from 1 data source (P_TimeDepdntVersAssgmtNext) and exposes 13 fields with key fields Country, TaxBoxStrucValidityStartDate, TaxBoxStrucValidityStartDate. Part of development package GLO_FIN_IS_VAT_MX.

Data Sources (1)

SourceAliasJoin Type
P_TimeDepdntVersAssgmtNext TimeDepdntVersAssgmtNext from

Annotations (10)

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

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