R_NoteBasic

DDL: R_NOTEBASIC Type: view_entity BASIC Package: S_GBT_NTE_REUSE_RAP

Basis-View für die Notizen

R_NoteBasic is a Basic CDS View that provides data about "Basis-View für die Notizen" in SAP S/4HANA. It reads from 1 data source (sgbt_nte_cont) and exposes 18 fields with key field NoteBasicUUID. It has 4 associations to related views. Part of development package S_GBT_NTE_REUSE_RAP.

Data Sources (1)

SourceAliasJoin Type
sgbt_nte_cont sgbt_nte_cont from

Associations (4)

CardinalityTargetAliasCondition
[1] I_NoteBasicType _NoteBasicType $projection.NoteBasicType = _NoteBasicType.NoteBasicType and $projection.NoteBasicObjectNodeTypeUpper = _NoteBasicType.NoteBasicObjectNodeType
[0..1] I_Language _Language $projection.NoteBasicLanguage = _Language.LanguageISOCode
[0..1] I_User _LastChangedByUser $projection.NoteBasicLastChangedByUser = _LastChangedByUser.UserID
[0..1] I_User _CreatedByUser $projection.NoteBasicCreatedByUser = _CreatedByUser.UserID

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basis-View für die Notizen view
ObjectModel.representativeKey NoteBasicUUID view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.allowExtensions false view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY NoteBasicUUID noteid Unique ID
NoteBasicObjectNodeType SAP Obj Node Type
NoteBasicObject objectid Object Value
NoteBasicType notetype Topic
NoteBasicLanguage langu Primary lang.
NoteBasicTitle title View Title
NoteBasicMIMEType mimetype MIMETYPE
NoteBasicLength length Text Length
NoteBasicCreatedByUser creator User ID
NoteBasicCreationDateTime created UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
NoteBasicLastChangedByUser changer Last Changed By
NoteBasicLastChangeDateTime changed Time Stamp
NoteBasicContent content Trusted Site Content
NoteBasicObjectNodeTypeUpper
_NoteBasicType _NoteBasicType
_Language _Language
_LastChangedByUser _LastChangedByUser
_CreatedByUser _CreatedByUser

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 R_NoteBasic.
-- 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.

CREATE VIEW R_NoteBasic AS
SELECT
  noteid AS NoteBasicUUID,
  cast(objectnodetype as sap_object_node_type preserving type ) AS NoteBasicObjectNodeType,
  objectid AS NoteBasicObject,
  notetype AS NoteBasicType,
  langu AS NoteBasicLanguage,
  title AS NoteBasicTitle,
  mimetype AS NoteBasicMIMEType,
  length AS NoteBasicLength,
  creator AS NoteBasicCreatedByUser,
  created AS NoteBasicCreationDateTime,
  changer AS NoteBasicLastChangedByUser,
  changed AS NoteBasicLastChangeDateTime,
  content AS NoteBasicContent,
  upper(objectnodetype) AS NoteBasicObjectNodeTypeUpper
FROM sgbt_nte_cont
LEFT OUTER JOIN I_NoteBasicType AS _NoteBasicType ON NoteBasicType = _NoteBasicType.NoteBasicType AND NoteBasicObjectNodeTypeUpper = _NoteBasicType.NoteBasicObjectNodeType  -- association [1]
LEFT OUTER JOIN I_Language AS _Language ON NoteBasicLanguage = _Language.LanguageISOCode  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON NoteBasicLastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON NoteBasicCreatedByUser = _CreatedByUser.UserID  -- association [0..1]
;