I_PurgInfoRecdOrgPOText

DDL: I_PURGINFORECDORGPOTEXT Type: view BASIC

Purchase Info Record PO - Text

I_PurgInfoRecdOrgPOText is a Basic CDS View that provides data about "Purchase Info Record PO - Text" in SAP S/4HANA. It reads from 1 data source (I_Text_Templates) and exposes 11 fields with key fields Language, DocumentText, TechnicalObjectType, ArchObjectNumber, PurchasingInfoRecord. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Text_Templates I_Text_Templates from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PurchasingInfoRecord _PurchasingInfoRecord _PurchasingInfoRecord.PurchasingInfoRecord = $projection.PurchasingInfoRecord
[1..1] I_PurgInfoRecdOrgPlantData _PurgInfoRecdOrgPlantData _PurgInfoRecdOrgPlantData.PurchasingInfoRecord = $projection.PurchasingInfoRecord and _PurgInfoRecdOrgPlantData.PurchasingInfoRecordCategory = $projection.PurchasingInfoRecordCategory and _PurgInfoRecdOrgPlantData.PurchasingOrganization = $projection.PurchasingOrganization and _PurgInfoRecdOrgPlantData.Plant = $projection.Plant

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IINFORECORGPOTXT view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Purchase Info Record PO - Text view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Language Language
KEY DocumentText DocumentText
KEY TechnicalObjectType TechnicalObjectType
KEY ArchObjectNumber ArchitecturalObjectNumber
KEY PurchasingInfoRecord
KEY PurchasingOrganization
KEY PurchasingInfoRecordCategory
KEY Plant
NoteDescription NoteDescription
_PurchasingInfoRecord _PurchasingInfoRecord
_PurgInfoRecdOrgPlantData _PurgInfoRecdOrgPlantData
@AbapCatalog:
{
sqlViewName: 'IINFORECORGPOTXT',
compiler.compareFilter: true
}
@ObjectModel.usageType:
{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MASTER
}
@VDM:
{
viewType : #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Purchase Info Record PO - Text'
define view I_PurgInfoRecdOrgPOText 
as select from I_Text_Templates
association [1..1] to I_PurchasingInfoRecord as _PurchasingInfoRecord on _PurchasingInfoRecord.PurchasingInfoRecord = $projection.PurchasingInfoRecord

association [1..1] to I_PurgInfoRecdOrgPlantData as _PurgInfoRecdOrgPlantData on _PurgInfoRecdOrgPlantData.PurchasingInfoRecord = $projection.PurchasingInfoRecord
                                                                                and _PurgInfoRecdOrgPlantData.PurchasingInfoRecordCategory = $projection.PurchasingInfoRecordCategory
                                                                                and _PurgInfoRecdOrgPlantData.PurchasingOrganization = $projection.PurchasingOrganization
                                                                                and _PurgInfoRecdOrgPlantData.Plant = $projection.Plant
  
{
  key  Language,
  key  DocumentText,
  key  TechnicalObjectType,
  key  ArchitecturalObjectNumber                                   as ArchObjectNumber,
  key  cast (substring(ArchitecturalObjectNumber,1,10)  as infnr ) as PurchasingInfoRecord,
  key  cast (substring(ArchitecturalObjectNumber,11,14) as ekorg ) as PurchasingOrganization,
  key  cast (substring(ArchitecturalObjectNumber,15,15) as esokz ) as PurchasingInfoRecordCategory,
  key  cast (substring(ArchitecturalObjectNumber,16,19) as ewerk ) as Plant,
  NoteDescription,

//  @ObjectModel.association.type:  [#TO_COMPOSITION_ROOT]

  _PurchasingInfoRecord,
//  @ObjectModel.association.type:  [#TO_COMPOSITION_PARENT]

  _PurgInfoRecdOrgPlantData

}
where
    TechnicalObjectType = 'EINE' and 
    DocumentText = 'BT'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_TEXT_TEMPLATES"
],
"ASSOCIATED":
[
"I_PURCHASINGINFORECORD",
"I_PURGINFORECDORGPLANTDATA"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/