R_PurchaseOrderNoteTP

DDL: R_PURCHASEORDERNOTETP Type: view_entity TRANSACTIONAL

Notes for Purchase Order

R_PurchaseOrderNoteTP is a Transactional CDS View that provides data about "Notes for Purchase Order" in SAP S/4HANA. It reads from 2 data sources (P_PurchaseOrderItemActive, R_PurchaseOrderPlainLongText) and exposes 6 fields with key fields PurchaseOrder, TextObjectType, Language.

Data Sources (2)

SourceAliasJoin Type
P_PurchaseOrderItemActive _PurchaseOrderItemActive inner
R_PurchaseOrderPlainLongText R_PurchaseOrderPlainLongText from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Notes for Purchase Order view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder R_PurchaseOrderPlainLongText PurchaseOrder Purchasing Document
KEY TextObjectType R_PurchaseOrderPlainLongText TextObjectType Text ID
KEY Language R_PurchaseOrderPlainLongText Language Report Text Language
PlainLongText R_PurchaseOrderPlainLongText PlainLongText Long Text
_Language R_PurchaseOrderPlainLongText _Language
_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 R_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.

CREATE VIEW R_PurchaseOrderNoteTP AS
SELECT
  R_PurchaseOrderPlainLongText.PurchaseOrder AS PurchaseOrder,
  R_PurchaseOrderPlainLongText.TextObjectType AS TextObjectType,
  R_PurchaseOrderPlainLongText.Language AS Language,
  R_PurchaseOrderPlainLongText.PlainLongText AS PlainLongText,
  R_PurchaseOrderPlainLongText._Language AS _Language
FROM R_PurchaseOrderPlainLongText
INNER JOIN P_PurchaseOrderItemActive AS _PurchaseOrderItemActive ON /* join condition not captured in parsed metadata */
;