P_PublicSectorNoteHeader

DDL: P_PUBLICSECTORNOTEHEADER SQL: PPSNOTEHEADER Type: view BASIC

P_PublicSectorNoteHeader is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (psnotetext_temp, stxh) and exposes 8 fields with key fields tdobject, PublicSectorFormBundleNote, tdid, tdspras.

Data Sources (2)

SourceAliasJoin Type
psnotetext_temp _NoteText left_outer
stxh stxh from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPSNOTEHEADER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY tdobject tdobject Text object
KEY PublicSectorFormBundleNote tdname Text Name
KEY tdid tdid Text ID Header
KEY tdspras tdspras Language
CreatedByUser tdfuser Created By
CreationDate Date
CreationTime Time
NoteText psnotetext_temp text User Group

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_PublicSectorNoteHeader.
-- 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: PPSNOTEHEADER

CREATE VIEW P_PublicSectorNoteHeader AS
SELECT
  tdobject,
  tdname AS PublicSectorFormBundleNote,
  tdid,
  tdspras,
  tdfuser AS CreatedByUser,
  cast (tdfdate as ps_created_on preserving type ) AS CreationDate,
  cast (tdftime as ps_created_at preserving type ) AS CreationTime,
  _NoteText.text AS NoteText
FROM stxh
LEFT OUTER JOIN psnotetext_temp AS _NoteText ON /* join condition not captured in parsed metadata */
;