I_ProdnOrderOperationLongText
Production Order Operation - Text
I_ProdnOrderOperationLongText is a Composite CDS View that provides data about "Production Order Operation - Text" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrderOperationBasic, I_OrderOperationLongText) and exposes 11 fields with key fields OrderInternalID, OrderOperationInternalID, LongTextLanguage. It has 2 associations to related views. Part of development package VDM_PP_SFC.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationBasic | oper | inner |
| I_OrderOperationLongText | text | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Language | _LongTextLanguage | $projection.LongTextLanguage = _LongTextLanguage.Language -- SOT relations |
| [1..1] | I_ProductionOrder | _ProductionOrderHeader | $projection.ProductionOrder = _ProductionOrderHeader.ProductionOrder |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.technicalName | IPRODNORDOPLTXT | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.representativeKey | OrderOperationInternalID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Production Order Operation - Text | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderInternalID | I_MfgOrderOperationBasic | OrderInternalBillOfOperations | |
| KEY | OrderOperationInternalID | I_MfgOrderOperationBasic | OrderIntBillOfOperationsItem | |
| KEY | LongTextLanguage | |||
| ProductionOrder | ||||
| ProductionOrderOperation | ||||
| OrderOperationText | I_MfgOrderOperationBasic | MfgOrderOperationText | ||
| OrderOperationLongText | I_OrderOperationLongText | OrderOperationLongText | ||
| _ProductionOrderOperation | _ProductionOrderOperation | |||
| _ProductionOrderHeader | _ProductionOrderHeader | |||
| _LongTextLanguage | _LongTextLanguage | |||
| _OrderInternalID | I_MfgOrderOperationBasic | _OrderInternalID |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.technicalName: 'IPRODNORDOPLTXT'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'OrderOperationInternalID'
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MIXED}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Production Order Operation - Text'
define view entity I_ProdnOrderOperationLongText
as select from I_OrderOperationLongText as text
inner join I_MfgOrderOperationBasic as oper on oper.OrderInternalBillOfOperations = text.OrderInternalID
and oper.OrderIntBillOfOperationsItem = text.OrderOperationInternalID
association [1..1] to I_Language as _LongTextLanguage on $projection.LongTextLanguage = _LongTextLanguage.Language
-- SOT relations
association [1..1] to I_ProductionOrder as _ProductionOrderHeader on $projection.ProductionOrder = _ProductionOrderHeader.ProductionOrder
association to parent I_ProductionOrderOperation_2 as _ProductionOrderOperation on $projection.OrderInternalID = _ProductionOrderOperation.OrderInternalID
and $projection.OrderOperationInternalID = _ProductionOrderOperation.OrderOperationInternalID
{
// Key
@ObjectModel.foreignKey.association: '_OrderInternalID'
key oper.OrderInternalBillOfOperations as OrderInternalID,
@ObjectModel.text.element: ['OrderOperationText', 'OrderOperationLongText']
key oper.OrderIntBillOfOperationsItem as OrderOperationInternalID,
@ObjectModel.foreignKey.association: '_LongTextLanguage'
@Semantics.language: true
key cast(oper.Language as pph_longtextlang preserving type) as LongTextLanguage,
// Semantic key
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderStdVH', element: 'ProductionOrder' } } ]
cast(oper.ManufacturingOrder as vdm_manufacturingorder preserving type) as ProductionOrder,
-- @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderSequenceVH', element: 'ProductionOrderSequence' } } ]
cast(oper.ManufacturingOrderSequence as vdm_prodnordersequence preserving type) as ProductionOrderSequence,
@ObjectModel.text.element: ['OrderOperationText', 'OrderOperationLongText']
cast(oper.ManufacturingOrderOperation_2 as vdm_prodnorderoperation preserving type) as ProductionOrderOperation,
// Text
@Semantics.text: true
oper.MfgOrderOperationText as OrderOperationText,
@Semantics.text: true
text.OrderOperationLongText,
// Associations
_ProductionOrderOperation,
_ProductionOrderHeader,
_LongTextLanguage,
oper._OrderInternalID
}
where
oper.ManufacturingOrderCategory = '10' and
oper.OperationHasLongText = 'X';
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