I_OrderOperationPRTLongText

DDL: I_ORDEROPERATIONPRTLONGTEXT Type: view_entity BASIC Package: VDM_PP_SFC

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)

SourceAliasJoin Type
P_OrderOperationPRTLongText prt from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TextObjectPlainLongText _TextObjectPlainLongText _TextObjectPlainLongText.TextObjectKey = prt.TextObjectKey and _TextObjectPlainLongText.TextObjectCategory = 'AUFK' and _TextObjectPlainLongText.TextObjectType = 'FHMT'

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
};