P_TaxBoxStructureValidTo2

DDL: P_TAXBOXSTRUCTUREVALIDTO2 SQL: PTBSVALTO2 Type: view BASIC

P_TaxBoxStructureValidTo2 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_TaxBoxStructureValidTo1) and exposes 4 fields with key fields Country, ValidFrom, TaxBoxStructureType.

Data Sources (1)

SourceAliasJoin Type
P_TaxBoxStructureValidTo1 P_TaxBoxStructureValidTo1 from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PTBSVALTO2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Country Country Venue: Ctry/Reg
KEY ValidFrom ValidFrom Vers.Valid From
KEY TaxBoxStructureType TaxBoxStructureType Tax Box Str. Type
ValidTo

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_TaxBoxStructureValidTo2.
-- 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: PTBSVALTO2

CREATE VIEW P_TaxBoxStructureValidTo2 AS
SELECT
  Country,
  ValidFrom,
  TaxBoxStructureType,
  min(ValidTo) AS ValidTo
FROM P_TaxBoxStructureValidTo1
;