H_TESPT_CDS

DDL: DDL_H_TESPT SQL: V_H_TESPT_CDS Type: view

H_TESPT_CDS is a CDS View in SAP S/4HANA. It reads from 3 data sources (t002, tspa, tspat) and exposes 5 fields.

Data Sources (3)

SourceAliasJoin Type
t002 t002 inner
tspa tspa left_outer
tspat tspat left_outer

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName V_H_TESPT_CDS view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
MANDT tespt mandt Editing Client
SPARTE tespt sparte Insurance LOB
VTEXT tspat vtext Wgh.Dat.Ty.Txt.
SPARTYP tespt spartyp Division cat.
SPRAS t002 spras Off. Language

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 H_TESPT_CDS.
-- 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: V_H_TESPT_CDS

CREATE VIEW H_TESPT_CDS AS
SELECT
  tespt.mandt AS MANDT,
  tespt.sparte AS SPARTE,
  tspat.vtext AS VTEXT,
  tespt.spartyp AS SPARTYP,
  t002.spras AS SPRAS
INNER JOIN t002 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tspa ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tspat ON /* join condition not captured in parsed metadata */
;