I_Purctrnotes

DDL: I_PURCTRNOTES SQL: IPURCTRNOTES Type: view COMPOSITE Package: VDM_MM_PUR_CON

Purchase Contract Header Notes

I_Purctrnotes is a Composite CDS View that provides data about "Purchase Contract Header Notes" in SAP S/4HANA. It reads from 1 data source (I_Text_Templates) and exposes 8 fields with key fields ArchitecturalObjectNumber, TechnicalObjectType, DocumentText, Language, PurchaseContract. It has 1 association to related views. Part of development package VDM_MM_PUR_CON.

Data Sources (1)

SourceAliasJoin Type
I_Text_Templates I_Text_Templates from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurchaseContract _PurchaseContract $projection.PurchaseContract = _PurchaseContract.PurchaseContract

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPURCTRNOTES view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Purchase Contract Header Notes view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ArchitecturalObjectNumber I_Text_Templates ArchitecturalObjectNumber
KEY TechnicalObjectType I_Text_Templates TechnicalObjectType
KEY DocumentText I_Text_Templates DocumentText
KEY Language I_Text_Templates Language
KEY PurchaseContract
NoteDescription I_Text_Templates NoteDescription
FixedIndicator I_Text_Templates FixedIndicator
_PurchaseContract _PurchaseContract
@AbapCatalog.sqlViewName: 'IPURCTRNOTES'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label:  'Purchase Contract Header Notes'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING

define view I_Purctrnotes
  as select from I_Text_Templates
//  inner join I_PurchaseContract on I_Text_Templates.ArchitecturalObjectNumber = I_PurchaseContract.PurchaseContract

  association [1..1] to I_PurchaseContract as _PurchaseContract on $projection.PurchaseContract = _PurchaseContract.PurchaseContract
{
     
  key  I_Text_Templates.ArchitecturalObjectNumber,

  key  I_Text_Templates.TechnicalObjectType,

  key  I_Text_Templates.DocumentText,

  key  I_Text_Templates.Language,
  
  key cast( I_Text_Templates.ArchitecturalObjectNumber as ebeln) as PurchaseContract,
  
//  ObjectInternalID,


       //cast('' as mm_oa_text_description) as NoteDescription,

       I_Text_Templates.NoteDescription,
       
       I_Text_Templates.FixedIndicator,

      @ObjectModel.association.type:  [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
       _PurchaseContract
  
}
where
  I_Text_Templates.TechnicalObjectType = 'EKKO' and
  I_Text_Templates.DocumentText        like 'K%'