R_PurchaseOrdItemPlainLongText
Purchase Order Item Long text
R_PurchaseOrdItemPlainLongText is a Composite CDS View that provides data about "Purchase Order Item Long text" in SAP S/4HANA. It reads from 2 data sources (R_PurchaseOrderItem, I_TextObjectPlainLongText) and exposes 8 fields with key fields PurchaseOrder, PurchaseOrderItem, TextObjectType, Language. It has 1 association to related views. Part of development package VDM_MM_PUR_PO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| R_PurchaseOrderItem | PurchaseOrderItem | from |
| I_TextObjectPlainLongText | PurchaseOrderText | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_TextObjectPlainLongText | _TextObjectPlainLongText | _TextObjectPlainLongText.TextObjectKey = $projection.PurchaseOrderItemUniqueID and _TextObjectPlainLongText.TextObjectCategory = 'EKPO' |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RMMPURPOILONGTXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | TextObjectType | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Purchase Order Item Long text | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | R_PurchaseOrderItem | PurchaseOrder | Purchasing Document |
| KEY | PurchaseOrderItem | R_PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item |
| KEY | TextObjectType | I_TextObjectPlainLongText | TextObjectType | Text ID |
| KEY | Language | I_TextObjectPlainLongText | Language | Report Text Language |
| PurchaseOrderItemUniqueID | R_PurchaseOrderItem | PurchaseOrderItemUniqueID | Document Item | |
| PlainLongText | I_TextObjectPlainLongText | PlainLongText | Long Text | |
| _Language | I_TextObjectPlainLongText | _Language | ||
| _TextObjectPlainLongText | _TextObjectPlainLongText |
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_PurchaseOrdItemPlainLongText.
-- 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: RMMPURPOILONGTXT
CREATE VIEW R_PurchaseOrdItemPlainLongText AS
SELECT
PurchaseOrderItem.PurchaseOrder AS PurchaseOrder,
PurchaseOrderItem.PurchaseOrderItem AS PurchaseOrderItem,
PurchaseOrderText.TextObjectType AS TextObjectType,
PurchaseOrderText.Language AS Language,
PurchaseOrderItem.PurchaseOrderItemUniqueID AS PurchaseOrderItemUniqueID,
PurchaseOrderText.PlainLongText AS PlainLongText,
PurchaseOrderText._Language AS _Language
FROM R_PurchaseOrderItem AS PurchaseOrderItem
INNER JOIN I_TextObjectPlainLongText AS PurchaseOrderText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TextObjectPlainLongText AS _TextObjectPlainLongText ON _TextObjectPlainLongText.TextObjectKey = PurchaseOrderItemUniqueID AND _TextObjectPlainLongText.TextObjectCategory = 'EKPO' -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA