C_PurchaseReqnHeaderNotes

DDL: C_PURCHASEREQNHEADERNOTES SQL: CPURREQNHDRNOTE Type: view CONSUMPTION

Purchase Requisition Header Notes

C_PurchaseReqnHeaderNotes is a Consumption CDS View that provides data about "Purchase Requisition Header Notes" in SAP S/4HANA. It reads from 1 data source (I_PurchaseReqnHeaderNotesTP) and exposes 14 fields with key fields Language, DocumentText, TechnicalObjectType, ArchObjectNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseReqnHeaderNotesTP Document from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_PurchaseReqnHeader _PurchaseReqn _PurchaseReqn.PurchaseRequisition = $projection.PurchaseRequisition

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CPURREQNHDRNOTE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
EndUserText.label Purchase Requisition Header Notes view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
UI.headerInfo.typeName Note view
UI.headerInfo.typeNamePlural Notes view
UI.headerInfo.title.value PurchaseRequisition view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Language I_PurchaseReqnHeaderNotesTP Language Report Text Language
KEY DocumentText I_PurchaseReqnHeaderNotesTP DocumentText Text ID
KEY TechnicalObjectType I_PurchaseReqnHeaderNotesTP TechnicalObjectType Text object
KEY ArchObjectNumber I_PurchaseReqnHeaderNotesTP ArchObjectNumber Text Name
PurchaseRequisition I_PurchaseReqnHeaderNotesTP PurchaseRequisition Requisition
ArchObjectNumberForEdit I_PurchaseReqnHeaderNotesTP ArchObjectNumberForEdit
TechnicalObjectTypeForEdit I_PurchaseReqnHeaderNotesTP TechnicalObjectTypeForEdit Text object
DocumentTextForEdit I_PurchaseReqnHeaderNotesTP DocumentTextForEdit Text ID
LanguageForEdit I_PurchaseReqnHeaderNotesTP LanguageForEdit Original Language
NoteDescription I_PurchaseReqnHeaderNotesTP NoteDescription Long Text
FixedIndicator I_PurchaseReqnHeaderNotesTP FixedIndicator Fixing
DisplayModeOfTextTypeInPurg I_PurchaseReqnHeaderNotesTP DisplayModeOfTextTypeInPurg Text Display Mode
TextIsAdoptedFromReference I_PurchaseReqnHeaderNotesTP TextIsAdoptedFromReference Is Adopted
_PurchaseReqn _PurchaseReqn

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 C_PurchaseReqnHeaderNotes.
-- 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: CPURREQNHDRNOTE

CREATE VIEW C_PurchaseReqnHeaderNotes AS
SELECT
  Document.Language AS Language,
  Document.DocumentText AS DocumentText,
  Document.TechnicalObjectType AS TechnicalObjectType,
  Document.ArchObjectNumber AS ArchObjectNumber,
  Document.PurchaseRequisition AS PurchaseRequisition,
  Document.ArchObjectNumberForEdit AS ArchObjectNumberForEdit,
  Document.TechnicalObjectTypeForEdit AS TechnicalObjectTypeForEdit,
  Document.DocumentTextForEdit AS DocumentTextForEdit,
  Document.LanguageForEdit AS LanguageForEdit,
  Document.NoteDescription AS NoteDescription,
  Document.FixedIndicator AS FixedIndicator,
  Document.DisplayModeOfTextTypeInPurg AS DisplayModeOfTextTypeInPurg,
  Document.TextIsAdoptedFromReference AS TextIsAdoptedFromReference
FROM I_PurchaseReqnHeaderNotesTP AS Document
LEFT OUTER JOIN C_PurchaseReqnHeader AS _PurchaseReqn ON _PurchaseReqn.PurchaseRequisition = PurchaseRequisition  -- association [1..1]
;