I_CntrlPurContractHeaderNotes

DDL: I_CNTRLPURCONTRACTHEADERNOTES SQL: ICCTRHDRNOTE Type: view BASIC

Central Purchase Contract Header Notes

I_CntrlPurContractHeaderNotes is a Basic CDS View that provides data about "Central Purchase Contract Header Notes" in SAP S/4HANA. It reads from 1 data source (Sgbt_Nte_Cds_Cont) and exposes 16 fields with key field PurchasingDocumentNoteUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
Sgbt_Nte_Cds_Cont Sgbt_Nte_Cds_Cont from

Associations (3)

CardinalityTargetAliasCondition
[1..1] Sgbt_Nte_Cds_Ntype _NoteTypeDef $projection.PurchasingDocumentNoteType = _NoteTypeDef.Name
[1..1] Sgbt_Nte_Cds_Langu _LanguageDef $projection.PurchasingDocumentNoteLanguage = _LanguageDef.LanguageISOCode
[0..1] I_CentralPurchaseContract _CentralPurchaseContract $projection.PurchasingDocumentNoteObjectID = _CentralPurchaseContract.CentralPurchaseContract

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICCTRHDRNOTE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Central Purchase Contract Header Notes view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentNoteUUID noteid Unique ID
PurchasingDocumentObjNodeType objectnodetype SAP Obj Node Type
PurchasingDocumentNoteObjectID objectid Object Value
PurchasingDocumentNoteType notetype Topic
PurchasingDocumentNoteLanguage langu Primary lang.
PurchasingDocumentNoteTitle _NoteTypeDef Description Well Code Des.
PurchasingDocumentNoteMimeType mimetype MIMETYPE
PurchasingDocumentNoteLength length Text Length
PurgDocNoteCreatedBy creator User ID
PurgDocNoteCreationDateTime created UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PurgDocNoteLastChangedBy changer Last Changed By
PurgDocNoteLastChangedDateTime changed Time Stamp
PurgDocNoteText content Trusted Site Content
_NoteTypeDef _NoteTypeDef
_LanguageDef _LanguageDef
_CentralPurchaseContract _CentralPurchaseContract

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 I_CntrlPurContractHeaderNotes.
-- 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: ICCTRHDRNOTE

CREATE VIEW I_CntrlPurContractHeaderNotes AS
SELECT
  noteid AS PurchasingDocumentNoteUUID,
  objectnodetype AS PurchasingDocumentObjNodeType,
  objectid AS PurchasingDocumentNoteObjectID,
  notetype AS PurchasingDocumentNoteType,
  langu AS PurchasingDocumentNoteLanguage,
  _NoteTypeDef.Description AS PurchasingDocumentNoteTitle,
  mimetype AS PurchasingDocumentNoteMimeType,
  length AS PurchasingDocumentNoteLength,
  creator AS PurgDocNoteCreatedBy,
  created AS PurgDocNoteCreationDateTime,
  changer AS PurgDocNoteLastChangedBy,
  changed AS PurgDocNoteLastChangedDateTime,
  content AS PurgDocNoteText
FROM Sgbt_Nte_Cds_Cont
LEFT OUTER JOIN Sgbt_Nte_Cds_Ntype AS _NoteTypeDef ON PurchasingDocumentNoteType = _NoteTypeDef.Name  -- association [1..1]
LEFT OUTER JOIN Sgbt_Nte_Cds_Langu AS _LanguageDef ON PurchasingDocumentNoteLanguage = _LanguageDef.LanguageISOCode  -- association [1..1]
LEFT OUTER JOIN I_CentralPurchaseContract AS _CentralPurchaseContract ON PurchasingDocumentNoteObjectID = _CentralPurchaseContract.CentralPurchaseContract  -- association [0..1]
;