R_PPS_PurchaseOrderItemNoteTP
Purchase Order Item Notes
R_PPS_PurchaseOrderItemNoteTP is a Transactional CDS View that provides data about "Purchase Order Item Notes" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrdItemPlainLongText) and exposes 11 fields with key fields PurchaseOrder, PurchaseOrderItem, TextObjectType, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PurchaseOrdItemPlainLongText | PlainLongText | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_PPS_PurchaseOrderTP | _PurchaseOrder | _PurchaseOrder.PurchaseOrder = $projection.PurchaseOrder |
| [0..1] | I_TextObjectPlainLongText | _TextObjectPlainLongText | _TextObjectPlainLongText.TextObjectKey = $projection.PurchaseOrderItemUniqueID and _TextObjectPlainLongText.TextObjectCategory = 'EKPO' and _TextObjectPlainLongText.TextObjectType = $projection.TextObjectType and _TextObjectPlainLongText.Language = $projection.Language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Purchase Order Item Notes | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | R_PurchaseOrdItemPlainLongText | PurchaseOrder | |
| KEY | PurchaseOrderItem | R_PurchaseOrdItemPlainLongText | PurchaseOrderItem | |
| KEY | TextObjectType | R_PurchaseOrdItemPlainLongText | TextObjectType | |
| KEY | Language | R_PurchaseOrdItemPlainLongText | Language | |
| PurchaseOrderItemUniqueID | R_PurchaseOrdItemPlainLongText | PurchaseOrderItemUniqueID | ||
| PlainLongText | R_PurchaseOrdItemPlainLongText | PlainLongText | ||
| PPSFieldChangeIndicatorBinary | ||||
| _Language | _Language | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem | |||
| _TextObjectPlainLongText | _TextObjectPlainLongText |
//@JIRA-KEY<S4PPS-0000>
@AccessControl.authorizationCheck: #MANDATORY
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Purchase Order Item Notes'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
usageType: {
sizeCategory: #L,
serviceQuality: #C,
dataClass: #MASTER
}
}
@Metadata.ignorePropagatedAnnotations: true
define view entity R_PPS_PurchaseOrderItemNoteTP
as select from R_PurchaseOrdItemPlainLongText as PlainLongText
association [1..1] to R_PPS_PurchaseOrderTP as _PurchaseOrder on _PurchaseOrder.PurchaseOrder = $projection.PurchaseOrder
association to parent R_PPS_PurchaseOrderItemTP as _PurchaseOrderItem on _PurchaseOrderItem.PurchaseOrder = $projection.PurchaseOrder
and _PurchaseOrderItem.PurchaseOrderItem = $projection.PurchaseOrderItem
association [0..1] to I_TextObjectPlainLongText as _TextObjectPlainLongText on _TextObjectPlainLongText.TextObjectKey = $projection.PurchaseOrderItemUniqueID
and _TextObjectPlainLongText.TextObjectCategory = 'EKPO'
and _TextObjectPlainLongText.TextObjectType = $projection.TextObjectType
and _TextObjectPlainLongText.Language = $projection.Language
{
key PlainLongText.PurchaseOrder,
key PlainLongText.PurchaseOrderItem,
key PlainLongText.TextObjectType,
key PlainLongText.Language,
PlainLongText.PurchaseOrderItemUniqueID,
PlainLongText.PlainLongText,
// cast ( hextobin( '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' ) as pps_e_control_flag preserving type ) as PPSFieldChangeIndicatorBinary,
cast ( hextobin( _PurchaseOrder.PPSFieldChangeIndicatorString ) as pps_e_control_flag preserving type ) as PPSFieldChangeIndicatorBinary,
/* Associations */
_Language,
_PurchaseOrder,
_PurchaseOrderItem,
_TextObjectPlainLongText
}
where
_PurchaseOrderItem.PurchasingDocumentDeletionCode = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_PPS_PURCHASEORDERITEMTP",
"R_PPS_PURCHASEORDERTP",
"R_PURCHASEORDITEMPLAINLONGTEXT"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_TEXTOBJECTPLAINLONGTEXT",
"R_PPS_PURCHASEORDERITEMTP",
"R_PPS_PURCHASEORDERTP"
],
"BASE":
[
"R_PURCHASEORDITEMPLAINLONGTEXT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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