C_PurchaseOrderNoteTP

DDL: C_PURCHASEORDERNOTETP SQL: CPURORDNOTE Type: view CONSUMPTION

Notes for Purchase Order

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

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderNoteTP Document from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_PurchaseOrderTP _PurchaseOrder _PurchaseOrder.PurchaseOrder = $projection.PurchaseOrder

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CPURORDNOTE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Notes for Purchase Order 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
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Language I_PurchaseOrderNoteTP Language Report Text Language
KEY DocumentText I_PurchaseOrderNoteTP DocumentText Text ID
KEY TechnicalObjectType I_PurchaseOrderNoteTP TechnicalObjectType Text object
KEY ArchObjectNumber I_PurchaseOrderNoteTP ArchObjectNumber Text Name
PurchaseOrder I_PurchaseOrderNoteTP PurchaseOrder Purchasing Document
ArchObjectNumberForEdit I_PurchaseOrderNoteTP ArchObjectNumberForEdit
TechnicalObjectTypeForEdit I_PurchaseOrderNoteTP TechnicalObjectTypeForEdit Text object
DocumentTextForEdit I_PurchaseOrderNoteTP DocumentTextForEdit Text ID
LanguageForEdit I_PurchaseOrderNoteTP LanguageForEdit Original Language
NoteDescription I_PurchaseOrderNoteTP NoteDescription Long Text
FixedIndicator I_PurchaseOrderNoteTP FixedIndicator Fixing
_PurchaseOrder _PurchaseOrder

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_PurchaseOrderNoteTP.
-- 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: CPURORDNOTE

CREATE VIEW C_PurchaseOrderNoteTP AS
SELECT
  Document.Language AS Language,
  Document.DocumentText AS DocumentText,
  Document.TechnicalObjectType AS TechnicalObjectType,
  Document.ArchObjectNumber AS ArchObjectNumber,
  Document.PurchaseOrder AS PurchaseOrder,
  Document.ArchObjectNumberForEdit AS ArchObjectNumberForEdit,
  Document.TechnicalObjectTypeForEdit AS TechnicalObjectTypeForEdit,
  Document.DocumentTextForEdit AS DocumentTextForEdit,
  Document.LanguageForEdit AS LanguageForEdit,
  Document.NoteDescription AS NoteDescription,
  Document.FixedIndicator AS FixedIndicator
FROM I_PurchaseOrderNoteTP AS Document
LEFT OUTER JOIN C_PurchaseOrderTP AS _PurchaseOrder ON _PurchaseOrder.PurchaseOrder = PurchaseOrder  -- association [1..1]
;