C_PurReqnItemExtTP

DDL: C_PURREQNITEMEXTTP SQL: RPURREQNITEM Type: view_entity CONSUMPTION

Process Purchase Requisition Application

C_PurReqnItemExtTP is a Consumption CDS View that provides data about "Process Purchase Requisition Application" in SAP S/4HANA. It reads from 1 data source (I_Purchaserequisitionitem) and exposes 103 fields with key fields PurchaseRequisition, PurchaseRequisitionItem. It has 16 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Purchaserequisitionitem ebn1 from

Associations (16)

CardinalityTargetAliasCondition
[0..1] C_PurDocItemCategoryValueHelp _PurDocItemCategoryValueHelp _PurDocItemCategoryValueHelp.PurchasingDocumentItemCategory = $projection.PurchasingDocumentItemCategory and _PurDocItemCategoryValueHelp.PurgDocExternalItemCategory = $projection.PurgDocExternalItemCategory
[0..1] E_Purchaserequisitionitem _Purchaserequisitionitem $projection.PurchaseRequisition = _Purchaserequisitionitem.PurchaseRequisition and $projection.PurchaseRequisitionItem = _Purchaserequisitionitem.PurchaseRequisitionItem
[1..1] I_PurReqnProcessingStatusVH _PurReqnProcessingStatusVH $projection.ProcessingStatus = _PurReqnProcessingStatusVH.ProcessingStatus
[1..1] C_PurchaseReqnItemCO2eqFprnt _PurchaseReqnItemCO2eqFprnt _PurchaseReqnItemCO2eqFprnt.PurchaseRequisition = $projection.PurchaseRequisition and _PurchaseReqnItemCO2eqFprnt.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem
[0..1] C_RfqBidderVH _RFQBidderVH $projection.FixedSupplier = _RFQBidderVH.Supplier
[0..*] C_PurReqnProposedSOS _PurReqnProposedSOS $projection.PurchaseRequisition = _PurReqnProposedSOS.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurReqnProposedSOS.PurchaseRequisitionItem
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_SupplierContactCard _ContactCard $projection.FixedSupplier = _ContactCard.ContactCardID
[1..1] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup and _MaterialGroupText.Language = $session.system_language
[1..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language
[1..1] I_AddressDefaultRepresentation _Address $projection.DeliveryAddressID = _Address.AddressID
[0..*] C_MM_PlantValueHelp _PlantValueHelp $projection.Plant = _PlantValueHelp.Plant
[0..1] C_MM_SupplierValueHelp _SupplierValueHelp _SupplierValueHelp.Supplier = $projection.Supplier
[0..*] C_MM_SupplierValueHelp _FixedSupplierValueHelp _FixedSupplierValueHelp.Supplier = $projection.FixedSupplier
[1..1] I_Processingstatustext _ProcessingStatusText $projection.ProcessingStatus = _ProcessingStatusText.ProcessingStatus and _ProcessingStatusText.Language = $session.system_language
[1..1] I_PurchasingCategoryMatlGroup _PurchasingCategoryMatlGroup ebn1.MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Process Purchase Requisition Application view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
UI.headerInfo.typeName Purchase Requisitions view
UI.headerInfo.typeNamePlural Purchase Requisitions view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value PurchaseRequisition view
Consumption.ranked true view

Fields (103)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition I_Purchaserequisitionitem PurchaseRequisition Purchase Requisition Number
KEY PurchaseRequisitionItem I_Purchaserequisitionitem PurchaseRequisitionItem Item Number of Purchase Requisition
PurchasingDocument I_Purchaserequisitionitem PurchasingDocument Purchasing Document Number
PurchasingDocumentItem I_Purchaserequisitionitem PurchasingDocumentItem Purchasing Document Item Number
PurgConfigurableItemNumber I_Purchaserequisitionitem PurgConfigurableItemNumber Purchase Requisition Hierarchy Number
PurchaseRequisitionType I_Purchaserequisitionitem PurchaseRequisitionType Purchase Requisition Document Type
PurchasingDocumentItemCategory I_Purchaserequisitionitem PurchasingDocumentItemCategory Purchasing Document Item Category
PurgDocItemCategoryName _PurDocItemCategoryValueHelp PurgDocItemCategoryName Text for Item Category
PurchaseRequisitionItemText I_Purchaserequisitionitem PurchaseRequisitionItemText Short Text
Material I_Purchaserequisitionitem Material Material ID
PurchasingDocumentCategory I_Purchaserequisitionitem PurchasingDocumentCategory Purchasing Document Category
RequestedQuantity I_Purchaserequisitionitem RequestedQuantity Quantity
BaseUnit I_Purchaserequisitionitem BaseUnit Purchase Requisition Unit of Measure
PurchaseRequisitionPrice I_Purchaserequisitionitem PurchaseRequisitionPrice Price in Purchase Requisition
PurReqnPriceQuantity I_Purchaserequisitionitem PurReqnPriceQuantity Price Unit
MaterialOrderUnit I_Purchaserequisitionitem MaterialOrderUnit Order Unit
MaterialGoodsReceiptDuration I_Purchaserequisitionitem MaterialGoodsReceiptDuration Goods Receipt Processing Time in Days
ReleaseCode I_Purchaserequisitionitem ReleaseCode Release Indicator
PurchasingOrganization I_Purchaserequisitionitem PurchasingOrganization Purchasing Organization
PurchasingGroup I_Purchaserequisitionitem PurchasingGroup
Plant I_Purchaserequisitionitem Plant
SourceOfSupplyIsAssigned I_Purchaserequisitionitem SourceOfSupplyIsAssigned Assigned Source of Supply
SupplyingPlant I_Purchaserequisitionitem SupplyingPlant Supplying Plant
OrderedQuantity I_Purchaserequisitionitem OrderedQuantity Purchase Order Quantity
ProcessingStatus I_Purchaserequisitionitem ProcessingStatus Processing Status
PurchasingInfoRecord I_Purchaserequisitionitem PurchasingInfoRecord Number of Purchasing Info Record
Supplier I_Purchaserequisitionitem Supplier Desired Vendor
IsDeleted I_Purchaserequisitionitem IsDeleted Deletion Indicator in Purchasing Document
IsPurReqnOvrlRel I_Purchaserequisitionitem IsPurReqnOvrlRel Overall Requisition Release
FixedSupplier I_Purchaserequisitionitem FixedSupplier Assigned Supplier
RequisitionerName I_Purchaserequisitionitem RequisitionerName Requested By
UserDescription _User UserDescription
CreatedByUser I_Purchaserequisitionitem CreatedByUser Name of Person who Created the Object
CreatedByUserDescription _User UserDescription Created by User Description
DeliveryDate I_Purchaserequisitionitem DeliveryDate
PurReqCreationDate I_Purchaserequisitionitem PurReqCreationDate Requisition Date
ManualDeliveryAddressID I_Purchaserequisitionitem ManualDeliveryAddressID Manual Address Number in Purchasing Document Item
PurReqnItemCurrency I_Purchaserequisitionitem PurReqnItemCurrency Currency Key
PurchasingDocumentSubtype I_Purchaserequisitionitem PurchasingDocumentSubtype Control Indicator
PurReqnSourceOfSupplyCount Number of Sources of Supply
PerformancePeriodStartDate I_Purchaserequisitionitem PerformancePeriodStartDate Start Date
PerformancePeriodEndDate I_Purchaserequisitionitem PerformancePeriodEndDate End Date
PurReqnReleaseStatus I_Purchaserequisitionitem PurReqnReleaseStatus Requisition Processing State
MaterialPlannedDeliveryDurn I_Purchaserequisitionitem MaterialPlannedDeliveryDurn Planned Delivery Time in Days
PurchaseContract I_Purchaserequisitionitem PurchaseContract Number of Principal Purchase Agreement
PurReqnSourceOfSupplyType I_Purchaserequisitionitem PurReqnSourceOfSupplyType Source of Supply Type
PurchaseContractItem I_Purchaserequisitionitem PurchaseContractItem Item Number of Principal Purchase Agreement
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purchasing Organisation Name
PurchasingGroupName _PurchasingGroup PurchasingGroupName Description Of Purchasing Group
PurchasingGroupPhoneNumber _PurchasingGroup PurchasingGroupPhoneNumber Telephone Number of Purchasing Group
PhoneNumber _PurchasingGroup PhoneNumber Telephone Number
PhoneNumberExtension _PurchasingGroup PhoneNumberExtension Telephone Extension Number
EmailAddress _PurchasingGroup EmailAddress E-Mail Address
Language I_Purchaserequisitionitem Language Language Key
MaterialGroup I_Purchaserequisitionitem MaterialGroup
IsOutline I_Purchaserequisitionitem IsOutline
PurchasingParentItem I_Purchaserequisitionitem PurchasingParentItem
MaterialName _MaterialText MaterialName Material Name
SupplyingPlantName _Plant PlantName Name
AccountAssignmentCategory I_Purchaserequisitionitem AccountAssignmentCategory Account Assignment Category
AcctAssignmentCategoryName _AccAssgnmtCategory AcctAssignmentCategoryName Account Assignment Category Description
ConsumptionPosting I_Purchaserequisitionitem ConsumptionPosting Consumption Posting
DeliveryAddressID I_Purchaserequisitionitem DeliveryAddressID
FullName _Address AddresseeFullName Purchaser Name
HouseNumber _Address HouseNumber House Number
NumberOfRecords 0 Text Id Count
NumberOfInfoRecords Source of Supply Count
CityName _Address CityName
Country _Address Country Country / Region Key
PurchaseRequisitionReleaseDate I_Purchaserequisitionitem PurchaseRequisitionReleaseDate
PurReqnPrice I_Purchaserequisitionitem ItemNetAmount Total Value
ProcessingStatusName _ProcessingStatusText ProcessingStatusName Processing status text of purchase requisition
PurchasingCategory Purchasing Category
PurgCatName Purchasing Category Name
PurgDocProductType I_Purchaserequisitionitem ProductType
MaterialGroupName _MaterialGroupText MaterialGroupName Product Group Description
PurReqnOrigin I_Purchaserequisitionitem PurReqnOrigin Creation Indicator
IsPurReqnCmplt I_Purchaserequisitionitem IsPurReqnCmplt Purchase Requisition Incomplete
PurReqnCmpltnsCat I_Purchaserequisitionitem PurReqnCmpltnsCat Category of Incompleteness
IsPurReqnBlocked I_Purchaserequisitionitem IsPurReqnBlocked
IsClosed I_Purchaserequisitionitem IsClosed
PFMFootprintQuantity _PurchaseReqnItemCO2eqFprnt PFMFootprintQuantity CO2e Footprint
PFMFootprintUnit _PurchaseReqnItemCO2eqFprnt PFMFootprintUnit
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_Plant _Plant
_PlantValueHelp _PlantValueHelp
_Material _Material
_MaterialText _MaterialText
_MaterialGroupText _MaterialGroupText
_SupplierValueHelp _SupplierValueHelp
_Address _Address
_FixedSupplierValueHelp _FixedSupplierValueHelp
_ProcessingStatusText _ProcessingStatusText
_PurReqnProcessingStatusVH _PurReqnProcessingStatusVH
_PurchasingCategoryMatlGroup _PurchasingCategoryMatlGroup
_User _User
PurgDocExternalItemCategory _PurDocItemCategoryValueHelp PurgDocExternalItemCategory
_PurDocItemCategoryValueHelp _PurDocItemCategoryValueHelp
_RFQBidderVH _RFQBidderVH
_CreatedByUser _CreatedByUser
_ContactCard _ContactCard
_PurReqnProposedSOS _PurReqnProposedSOS
//@AbapCatalog.sqlViewName: 'RPURREQNITEM'

@VDM.usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE]
//@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'Process Purchase Requisition Application'

@VDM.viewType: #CONSUMPTION
//@EndUserText.label: 'CDS View without Aggregate Functions for Manage PR'



@AccessControl.privilegedAssociations: [ '_ContactCard' ]

@Search.searchable: true // add in projection view


@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

@UI: {
  headerInfo: { typeName: 'Purchase Requisitions', typeNamePlural: 'Purchase Requisitions', title: { type: #STANDARD, value: 'PurchaseRequisition' }  }
}
@UI.presentationVariant: [{
  visualizations: [{type: #AS_LINEITEM}],
  requestAtLeast: ['PurgDocProductType', 'IsPurReqnBlocked', 'PurReqnReleaseStatus', 'PurchasingDocumentSubtype', 'IsClosed' , 'Supplier', 'PurchasingDocumentItemCategory','MaterialName' , 'PurchasingOrganization'
  , 'PurchasingGroup','PurchasingDocumentCategory' ,'AccountAssignmentCategory', 'PurchaseContract','PurchaseContractItem' , 'PurchasingInfoRecord', 'PurchaseRequisitionType' , 'IsOutline' , 'PurchasingParentItem','OrderedQuantity' ]

}]
@Consumption.ranked: true

define root view entity C_PurReqnItemExtTP
  as select from I_Purchaserequisitionitem as ebn1
  //  association [1..1] to P_SupplierPRDetails           as _SupplierPurReqnDetails           on  $projection.FixedSupplier = _SupplierPurReqnDetails.Vendor

  association [0..1] to C_PurDocItemCategoryValueHelp  as _PurDocItemCategoryValueHelp on  _PurDocItemCategoryValueHelp.PurchasingDocumentItemCategory = $projection.PurchasingDocumentItemCategory
                                                                                       and _PurDocItemCategoryValueHelp.PurgDocExternalItemCategory    = $projection.PurgDocExternalItemCategory

  association [0..1] to E_Purchaserequisitionitem      as _Purchaserequisitionitem     on  $projection.PurchaseRequisition     = _Purchaserequisitionitem.PurchaseRequisition
                                                                                       and $projection.PurchaseRequisitionItem = _Purchaserequisitionitem.PurchaseRequisitionItem

  association [1..1] to I_PurReqnProcessingStatusVH    as _PurReqnProcessingStatusVH   on  $projection.ProcessingStatus = _PurReqnProcessingStatusVH.ProcessingStatus

  association [1..1] to C_PurchaseReqnItemCO2eqFprnt   as _PurchaseReqnItemCO2eqFprnt  on  _PurchaseReqnItemCO2eqFprnt.PurchaseRequisition     = $projection.PurchaseRequisition
                                                                                       and _PurchaseReqnItemCO2eqFprnt.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem

  association [0..1] to C_RfqBidderVH                  as _RFQBidderVH                 on  $projection.FixedSupplier = _RFQBidderVH.Supplier

  association [0..*] to C_PurReqnProposedSOS           as _PurReqnProposedSOS          on  $projection.PurchaseRequisition     = _PurReqnProposedSOS.PurchaseRequisition
                                                                                       and $projection.PurchaseRequisitionItem = _PurReqnProposedSOS.PurchaseRequisitionItem
  association [0..1] to I_UserContactCard              as _CreatedByUser               on  $projection.CreatedByUser = _CreatedByUser.ContactCardID
  association [0..1] to I_SupplierContactCard          as _ContactCard                 on  $projection.FixedSupplier = _ContactCard.ContactCardID
  association [1..1] to I_MaterialGroupText            as _MaterialGroupText           on  $projection.MaterialGroup   = _MaterialGroupText.MaterialGroup
                                                                                       and _MaterialGroupText.Language = $session.system_language

  association [1..1] to I_MaterialText                 as _MaterialText                on  $projection.Material   = _MaterialText.Material
                                                                                       and _MaterialText.Language = $session.system_language

  //  association [1..1] to I_Address                     as _Address                     on  $projection.DeliveryAddressID = _Address.AddressID

  association [1..1] to I_AddressDefaultRepresentation as _Address                     on  $projection.DeliveryAddressID = _Address.AddressID

  association [0..*] to C_MM_PlantValueHelp            as _PlantValueHelp              on  $projection.Plant = _PlantValueHelp.Plant
  association [0..1] to C_MM_SupplierValueHelp         as _SupplierValueHelp           on  _SupplierValueHelp.Supplier = $projection.Supplier

  association [0..*] to C_MM_SupplierValueHelp         as _FixedSupplierValueHelp      on  _FixedSupplierValueHelp.Supplier = $projection.FixedSupplier
  association [1..1] to I_Processingstatustext         as _ProcessingStatusText        on  $projection.ProcessingStatus   = _ProcessingStatusText.ProcessingStatus
                                                                                       and _ProcessingStatusText.Language = $session.system_language

  association [1..1] to I_PurchasingCategoryMatlGroup  as _PurchasingCategoryMatlGroup on  ebn1.MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup

{

       @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9 }
       @EndUserText.label: 'Purchase Requisition Number'

       @Consumption.semanticObject: 'PurchaseRequisition'
       @UI: { lineItem:       [ {position: 5 , importance: #HIGH } , {type: #FOR_INTENT_BASED_NAVIGATION, semanticObjectAction: 'maintain' , hidden: true}
       , { type: #FOR_ACTION, dataAction: 'Delete' , importance: #LOW   } ],
          selectionField: [{position: 1 }] }

  key  ebn1.PurchaseRequisition,

       @EndUserText.label: 'Item Number of Purchase Requisition'
       @UI.lineItem: [{position: 10 , importance: #HIGH }]
  key  ebn1.PurchaseRequisitionItem,

       @EndUserText.label: 'Purchasing Document Number'
       ebn1.PurchasingDocument,

       @EndUserText.label: 'Purchasing Document Item Number'
       ebn1.PurchasingDocumentItem,
       @EndUserText.label: 'Purchase Requisition Hierarchy Number'
       @UI.lineItem: [{position: 11 , importance: #HIGH }]
       @Feature : 'SW:MM_PUR_SRVCPROC_SFWS_ITM_HIER'
       ebn1.PurgConfigurableItemNumber                                     as PurgConfigurableItemNumber,

       @EndUserText.label: 'Purchase Requisition Document Type'
       ebn1.PurchaseRequisitionType,

       @Consumption.valueHelpDefinition: [{ entity : {name: 'C_PurDocItemCategoryValueHelp', element: 'PurchasingDocumentItemCategory' } }]
       @ObjectModel.filter.enabled: true
       @ObjectModel.text.element: ['PurgDocItemCategoryName']
       @EndUserText.label: 'Purchasing Document Item Category'
       ebn1.PurchasingDocumentItemCategory,
       @EndUserText.label: 'Text for Item Category'
       _PurDocItemCategoryValueHelp.PurgDocItemCategoryName                as PurgDocItemCategoryName,
       @EndUserText.label: 'Short Text'
       @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.9}
       ebn1.PurchaseRequisitionItemText,

       @EndUserText.label: 'Material ID'
       @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.9}
       @UI.lineItem: [{position: 15, importance: #HIGH }]
       @ObjectModel: {foreignKey.association: '_Material' }
       @Consumption.semanticObject: 'Material'
       @ObjectModel.text.element : [ 'PurchaseRequisitionItemText' ]
       ebn1.Material,

       @EndUserText.label: 'Purchasing Document Category'
       ebn1.PurchasingDocumentCategory,

       @EndUserText.label: 'Quantity'
       @UI.lineItem: [{position: 35 , importance: #HIGH }]
       ebn1.RequestedQuantity,

       @EndUserText.label: 'Purchase Requisition Unit of Measure'
       ebn1.BaseUnit,

       @EndUserText.label: 'Price in Purchase Requisition'
       ebn1.PurchaseRequisitionPrice,

       @EndUserText.label: 'Price Unit'
       ebn1.PurReqnPriceQuantity,

       @EndUserText.label: 'Order Unit' //3097248

       ebn1.MaterialOrderUnit,

       @EndUserText.label: 'Goods Receipt Processing Time in Days'
       ebn1.MaterialGoodsReceiptDuration,

       @EndUserText.label: 'Release Indicator'
       ebn1.ReleaseCode,


       @EndUserText.label: 'Purchasing Organization'
       @Consumption.semanticObject: 'ekorg'
       @UI:{ fieldGroup:[ { label: 'Purchasing Organization', position: 30 }
        ], selectionField: [{position: 30}] }
       @ObjectModel.text.element: ['PurchasingOrganizationName']
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_PurchasingOrganization', element: 'PurchasingOrganization' } }]
       @ObjectModel.filter.enabled: true
       ebn1.PurchasingOrganization,


       @Consumption.semanticObject: 'PurchasingGroup'
       @ObjectModel.text.element: ['PurchasingGroupName']
       @UI:{ fieldGroup:[ { label: 'Purchasing Group', position: 20 }
        ], selectionField: [{position: 20}]}
       @Consumption.valueHelpDefinition: [{ entity : {name: 'C_PurchasingGroupValueHelp', element: 'PurchasingGroup' } }]
       @ObjectModel.filter.enabled: true

       ebn1.PurchasingGroup,

       @UI:{ fieldGroup:[ { label: 'Plant', position: 10, importance:#HIGH }
       ], selectionField: [{position: 10}],
                           lineItem: [{ position: 60 }]}
       @Consumption.valueHelpDefinition: [{ entity : {name: 'C_MM_PlantValueHelp', element: 'Plant' } }]
       @ObjectModel.filter.enabled: true
       @ObjectModel: {foreignKey.association: '_Plant' }
       @ObjectModel.text.element: ['SupplyingPlantName']
       @Consumption.semanticObject: 'Plant'
       ebn1.Plant,

       @EndUserText.label: 'Assigned Source of Supply'
       ebn1.SourceOfSupplyIsAssigned,

       @EndUserText.label: 'Supplying Plant'
       ebn1.SupplyingPlant,

       @EndUserText.label: 'Purchase Order Quantity'
       //         @UI.lineItem: [{position: 40 }]

       ebn1.OrderedQuantity,

       @EndUserText.label: 'Processing Status'
       @Consumption.semanticObject: 'ProcessingStatus'
       @UI:{ fieldGroup:[ { label: 'Processing Status', position: 40, importance: #HIGH }
        ], selectionField: [{position: 50}],
                         lineItem: [{ position: 65 }]}
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_PurReqnProcessingStatusVH', element: 'ProcessingStatus' } }]
       @ObjectModel.filter.enabled: true
       @ObjectModel.text.element: ['ProcessingStatusName']
       ebn1.ProcessingStatus,

       @EndUserText.label: 'Number of Purchasing Info Record'
       //         @UI.lineItem: [{position: 190 }]

       ebn1.PurchasingInfoRecord,

       @EndUserText.label: 'Desired Vendor'
       @Consumption.valueHelp: '_SupplierValueHelp'
       //        @ObjectModel.text.element: ['SupplierName']

       @ObjectModel.foreignKey.association: '_SupplierValueHelp'
       ebn1.Supplier,

       @EndUserText.label: 'Deletion Indicator in Purchasing Document'
       ebn1.IsDeleted,
       @EndUserText.label: 'Overall Requisition Release'
       ebn1.IsPurReqnOvrlRel,
       @Consumption.valueHelp: '_FixedSupplierValueHelp'
       @EndUserText.label: 'Assigned Supplier '
       @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9 }
       ebn1.FixedSupplier,

       @EndUserText.label: 'Requested By'  //Note 2904386

       @ObjectModel.text.element: ['UserDescription']
       ebn1.RequisitionerName,

       _User.UserDescription                                               as UserDescription,

       @EndUserText.label: 'Name of Person who Created the Object'
       @Semantics.user.createdBy: true
       @ObjectModel.text.element: ['CreatedByUserDescription']
       ebn1.CreatedByUser,
       @EndUserText.label: 'Created by User Description'
       _User.UserDescription                                               as CreatedByUserDescription,

       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_PurchaseRequisitionItemBasic', element: 'DeliveryDate' } }]
       @ObjectModel.filter.enabled: true
       @Consumption.filter.selectionType: #INTERVAL
       @UI.lineItem: [{position: 215 }]
       @UI: { fieldGroup: [ { label: 'Item Delivery Date', position: 110, importance: #HIGH } ], selectionField: [{ position:110 }] }
       ebn1.DeliveryDate,

       @EndUserText.label: 'Requisition Date'
       @Consumption.semanticObject: 'PurReqCreationDate'
       @UI:{ fieldGroup:[ { label: 'Requisition Date', position: 100 }
        ], selectionField: [{position: 100}] }
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_Purchaserequisitionitem', element: 'PurReqCreationDate' } }]
       @ObjectModel.filter.enabled: true
       @Consumption.filter.selectionType: #INTERVAL
       ebn1.PurReqCreationDate,

       @EndUserText.label: 'Manual Address Number in Purchasing Document Item'
       ebn1.ManualDeliveryAddressID,

       @EndUserText.label: 'Currency Key'
       ebn1.PurReqnItemCurrency,

       @EndUserText.label: 'Control Indicator'
       ebn1.PurchasingDocumentSubtype,

       @EndUserText.label: 'Number of Sources of Supply'
       cast (0 as abap.int4 )                                              as PurReqnSourceOfSupplyCount,

       @EndUserText.label: 'Start Date'
       @Consumption.semanticObject: 'PerformancePeriodStartDate'
       @UI:{ fieldGroup:[ { label: 'Start Date', position: 70 }
        ], selectionField: [{position: 70}] }
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_Purchaserequisitionitem', element: 'PerformancePeriodStartDate' } }]
       @ObjectModel.filter.enabled: true
       @Consumption.filter.selectionType: #INTERVAL
       ebn1.PerformancePeriodStartDate,

       @EndUserText.label: 'End Date'
       @Consumption.semanticObject: 'PerformancePeriodEndDate'
       @UI:{ fieldGroup:[ { label: 'End Date', position: 80 }
        ], selectionField: [{position: 80}] }
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_Purchaserequisitionitem', element: 'PerformancePeriodEndDate' } }]
       @ObjectModel.filter.enabled: true
       @Consumption.filter.selectionType: #INTERVAL
       ebn1.PerformancePeriodEndDate,

       @EndUserText.label: 'Requisition Processing State'
       ebn1.PurReqnReleaseStatus,

       @EndUserText.label: 'Planned Delivery Time in Days'
       ebn1.MaterialPlannedDeliveryDurn,

       @EndUserText.label: 'Number of Principal Purchase Agreement'
       ebn1.PurchaseContract,

       @EndUserText.label: 'Source of Supply Type'
       ebn1.PurReqnSourceOfSupplyType, //To be approved


       @EndUserText.label: 'Item Number of Principal Purchase Agreement'
       ebn1.PurchaseContractItem,

       @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.9}
       @EndUserText.label: 'Purchasing Organisation Name'
       _PurchasingOrganization.PurchasingOrganizationName                  as PurchasingOrganizationName,


       @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.9}
       @EndUserText.label: 'Description Of Purchasing Group'
       _PurchasingGroup.PurchasingGroupName                                as PurchasingGroupName,

       @EndUserText.label: 'Telephone Number of Purchasing Group'
       _PurchasingGroup.PurchasingGroupPhoneNumber,

       @EndUserText.label: 'Telephone Number'
       _PurchasingGroup.PhoneNumber,

       @EndUserText.label: 'Telephone Extension Number'
       _PurchasingGroup.PhoneNumberExtension,

       @EndUserText.label: 'E-Mail Address'
       _PurchasingGroup.EmailAddress,

       @EndUserText.label: 'Language Key'
       ebn1.Language,

       @Consumption.semanticObject: 'MaterialGroup'
       @UI:{ fieldGroup:[ { label: 'Product Group', position: 110, importance: #HIGH }
        ], selectionField: [{position: 40}],
                         lineItem: [{ position: 25 }] }
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_MaterialGroup', element: 'MaterialGroup' } }]
       @ObjectModel.filter.enabled: true
       @ObjectModel.text.element : [ 'MaterialGroupName' ]
       @Consumption.valueHelp: '_MaterialGroup'
       ebn1.MaterialGroup,

       @ObjectModel.filter.enabled: false

       //        @Feature : 'SW:MM_PUR_SRVCPROC_SFWS_ITM_HIER'

       ebn1.IsOutline,
       @ObjectModel.filter.enabled: false

       //        @Feature : 'SW:MM_PUR_SRVCPROC_SFWS_ITM_HIER'

       ebn1.PurchasingParentItem,

       @EndUserText.label: 'Material Name'

       _MaterialText.MaterialName,

       @EndUserText.label: 'Name'
       _Plant.PlantName                                                    as SupplyingPlantName,

       @EndUserText.label: 'Account Assignment Category'
       ebn1.AccountAssignmentCategory,

       @EndUserText.label: 'Account Assignment Category Description'
       _AccAssgnmtCategory.AcctAssignmentCategoryName                      as AcctAssignmentCategoryName,

       @EndUserText.label: 'Consumption Posting'
       ebn1.ConsumptionPosting,

       ebn1.DeliveryAddressID,

       @EndUserText.label: 'Purchaser Name'
       _Address.AddresseeFullName                                          as FullName,

       @EndUserText.label: 'House Number'
       _Address.HouseNumber                                                as HouseNumber,


       @EndUserText.label: 'Text Id Count'
       0                                                                   as NumberOfRecords,

       @EndUserText.label: 'Source of Supply Count'
       cast (0000 as abap.int4)                                            as NumberOfInfoRecords,

       _Address.CityName,
       @EndUserText.label: 'Country / Region Key'
       _Address.Country,

       @Consumption.semanticObject: 'PurchaseRequisitionReleaseDate'
       @UI:{ fieldGroup:[ { label: 'Release Date', position: 90 }
        ], selectionField: [{position: 90}] }
       @Consumption.valueHelpDefinition: [{ entity : {name: 'I_Purchaserequisitionitem', element: 'PurchaseRequisitionReleaseDate' } }]
       @ObjectModel.filter.enabled: true
       @Consumption.filter.selectionType: #INTERVAL
       ebn1.PurchaseRequisitionReleaseDate,

       @EndUserText.label: 'Total Value'
       @UI.lineItem: [{position: 45 , importance: #HIGH }]
       @Semantics.amount.currencyCode: 'PurReqnItemCurrency'
       ebn1.ItemNetAmount                                                  as PurReqnPrice,

       @EndUserText.label: 'Processing status text of purchase requisition'
       @EndUserText.quickInfo: 'Processing status text of purchase requisition'
       _ProcessingStatusText.ProcessingStatusName                          as ProcessingStatusName,

       @ObjectModel.text.element: ['PurgCatName']
       @EndUserText.label: 'Purchasing Category'
       _PurchasingCategoryMatlGroup._PurchasingCategory.PurchasingCategory as PurchasingCategory,
       @Semantics.text: true
       @EndUserText.label: 'Purchasing Category Name'
       _PurchasingCategoryMatlGroup._PurchasingCategory.PurgCatName        as PurgCatName,

       ebn1.ProductType                                                    as PurgDocProductType,

       @EndUserText.label: 'Product Group Description'
       _MaterialGroupText.MaterialGroupName,

       @EndUserText.label: 'Follow-on Document Exists'
       case
          when (ebn1.ProcessingStatus = 'N' or (ebn1.ProcessingStatus = 'B' and ebn1.OrderedQuantity < ebn1.RequestedQuantity))
            then ' '
          else 'X'
       end                                                                 as PurReqnHasFllwOnDoc,

       @EndUserText.label: 'Creation Indicator'
       ebn1.PurReqnOrigin,

       @EndUserText.label: 'Purchase Requisition Incomplete'
       ebn1.IsPurReqnCmplt,

       @EndUserText.label: 'Category of Incompleteness'
       ebn1.PurReqnCmpltnsCat,

       @UI.hidden: true
       ebn1.IsPurReqnBlocked                                               as IsPurReqnBlocked,

       @UI.hidden: true
       ebn1.IsClosed,

       @EndUserText.label: 'CO2e Footprint'
       _PurchaseReqnItemCO2eqFprnt.PFMFootprintQuantity,

       _PurchaseReqnItemCO2eqFprnt.PFMFootprintUnit,

       _PurchasingOrganization,

       _PurchasingGroup,

       _Plant,

       _PlantValueHelp,
       _Material,
       _MaterialText,
       _MaterialGroupText,
       _SupplierValueHelp,
       _Address,
       _FixedSupplierValueHelp,
       _ProcessingStatusText,
       _PurReqnProcessingStatusVH,
       _PurchasingCategoryMatlGroup,
       _User,
       @ObjectModel.filter.enabled:false
       _PurDocItemCategoryValueHelp.PurgDocExternalItemCategory            as PurgDocExternalItemCategory,
       _PurDocItemCategoryValueHelp,

       _RFQBidderVH,
       _CreatedByUser,

       @UI.lineItem:[{value:'_ContactCard',label: 'Fixed Supplier', type:  #AS_CONTACT  }]
       _ContactCard,

       @ObjectModel.filter.enabled:false
       _PurReqnProposedSOS
}
where
        ebn1.IsDeleted                      =  ''
  and(
        ebn1.ProcessingStatus               =  'N'
    or  ebn1.ProcessingStatus               =  'B'
    or  ebn1.ProcessingStatus               =  'A'
    or  ebn1.ProcessingStatus               =  'K'
    or  ebn1.ProcessingStatus               =  'L' //3075832

  )
  and(

        PurReqnCmpltnsCat                   <> 'A'
  )
  and   ebn1.IsPurReqnBlocked               =  ''
  and   ebn1.IsClosed                       =  ''
  and(
        ebn1.PurReqnReleaseStatus           <> '08'

  )
  and(
        ebn1.ExternalApprovalStatus         <> 'P'
    and ebn1.ExternalApprovalStatus         <> 'R'
  )

  and   ebn1.PurchasingDocumentItemCategory <> '9'
  and   not(
      ebn1.PurReqnOrigin                    =  'S'
      and ebn1.ExtCompanyCodeForPurg        <> ''
    )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_PURCHASEREQNITEMCO2EQFPRNT",
"C_PURDOCITEMCATEGORYVALUEHELP",
"I_ACCASSGNMTCATEGORY",
"I_ADDRESSDEFAULTREPRESENTATION",
"I_MATERIALGROUPTEXT",
"I_MATERIALTEXT",
"I_PLANT",
"I_PROCESSINGSTATUSTEXT",
"I_PURCHASEREQUISITIONITEM",
"I_PURCHASINGCATEGORY",
"I_PURCHASINGCATEGORYMATLGROUP",
"I_PURCHASINGGROUP",
"I_PURCHASINGORGANIZATION",
"I_USER"
],
"ASSOCIATED":
[
"C_MM_PLANTVALUEHELP",
"C_MM_SUPPLIERVALUEHELP",
"C_PURDOCITEMCATEGORYVALUEHELP",
"C_PURREQNPROPOSEDSOS",
"C_RFQBIDDERVH",
"I_ADDRESSDEFAULTREPRESENTATION",
"I_MATERIAL",
"I_MATERIALGROUPTEXT",
"I_MATERIALTEXT",
"I_PLANT",
"I_PROCESSINGSTATUSTEXT",
"I_PURCHASINGCATEGORYMATLGROUP",
"I_PURCHASINGGROUP",
"I_PURCHASINGORGANIZATION",
"I_PURREQNPROCESSINGSTATUSVH",
"I_SUPPLIERCONTACTCARD",
"I_USER",
"I_USERCONTACTCARD"
],
"BASE":
[
"I_PURCHASEREQUISITIONITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/