I_OrderOperationPRTLongText
Order Operation PRT Long Text
I_OrderOperationPRTLongText is a Basic CDS View that provides data about "Order Operation PRT Long Text" in SAP S/4HANA. It reads from 1 data source (P_OrderOperationPRTLongText) and exposes 12 fields with key fields OrderInternalID, OrderProdnRsceToolInternalID, LongTextLanguage. It has 1 association to related views. Part of development package VDM_PP_SFC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_OrderOperationPRTLongText | prt | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TextObjectPlainLongText | _TextObjectPlainLongText | _TextObjectPlainLongText.TextObjectKey = prt.TextObjectKey and _TextObjectPlainLongText.TextObjectCategory = 'AUFK' and _TextObjectPlainLongText.TextObjectType = 'FHMT' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | OrderProdnRsceToolInternalID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Order Operation PRT Long Text | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderInternalID | P_OrderOperationPRTLongText | OrderInternalID | |
| KEY | OrderProdnRsceToolInternalID | P_OrderOperationPRTLongText | OrderProdnRsceToolInternalID | |
| KEY | LongTextLanguage | |||
| TextObjectKey | P_OrderOperationPRTLongText | TextObjectKey | ||
| OrderProdnRsceToolText | P_OrderOperationPRTLongText | OrderProdnRsceToolText | ||
| OrderProdnRsceToolLongText | _TextObjectPlainLongText | PlainLongText | ||
| OrderID | P_OrderOperationPRTLongText | OrderID | ||
| OrderCategory | P_OrderOperationPRTLongText | OrderCategory | ||
| _Order | P_OrderOperationPRTLongText | _Order | ||
| _OrderCategory | P_OrderOperationPRTLongText | _OrderCategory | ||
| _OrderInternalID | P_OrderOperationPRTLongText | _OrderInternalID | ||
| _TextObjectPlainLongText | _TextObjectPlainLongText |
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_TextObjectPlainLongText']
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'OrderProdnRsceToolInternalID'
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Order Operation PRT Long Text'
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
define view entity I_OrderOperationPRTLongText
as select from P_OrderOperationPRTLongText as prt
association [0..1] to I_TextObjectPlainLongText as _TextObjectPlainLongText on _TextObjectPlainLongText.TextObjectKey = prt.TextObjectKey
and _TextObjectPlainLongText.TextObjectCategory = 'AUFK'
and _TextObjectPlainLongText.TextObjectType = 'FHMT'
{
// Key
@ObjectModel.foreignKey.association: '_OrderInternalID'
key prt.OrderInternalID,
@ObjectModel.text.element: ['OrderProdnRsceToolText', 'OrderProdnRsceToolLongText']
key prt.OrderProdnRsceToolInternalID,
@Semantics.language: true
key cast(prt.LongTextLanguage as pph_longtextlang preserving type) as LongTextLanguage,
prt.TextObjectKey,
@Semantics.text: true
prt.OrderProdnRsceToolText,
@Semantics.text: true
_TextObjectPlainLongText.PlainLongText as OrderProdnRsceToolLongText,
// Order data
@ObjectModel.foreignKey.association: '_Order'
prt.OrderID,
@ObjectModel.foreignKey.association: '_OrderCategory'
prt.OrderCategory,
// Association
prt._Order,
prt._OrderCategory,
prt._OrderInternalID,
_TextObjectPlainLongText
};
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