I_PURCHASEREQUISITIONITEM
Purchase Requisition Item
I_PURCHASEREQUISITIONITEM is a CDS View in S/4HANA. Purchase Requisition Item. It contains 157 fields. 72 CDS views read from this table.
CDS Views using this table (72)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_PurchaseRequisitionItem | view | from | COMPOSITE | Item |
| C_BSOrdItmProcFlwPurReqn | view | from | CONSUMPTION | PurReqn Item Attrib for BSOrd Prgrs |
| C_BSOrdProcFlwPurReqn | view | from | CONSUMPTION | PurReqn Attrib for BSOrd Prgrs |
| C_BSQPMPurchaseRequisition | view_entity | from | CONSUMPTION | BSQPM Purchase Requisition Attribute |
| C_MpPurReqHistoryItem | view | from | CONSUMPTION | Master Proj Pur Req History Item |
| C_ProcmtHubPurReqnItmChgs | view | from | CONSUMPTION | Connected system changes for PR |
| C_PurchaseReqnItemCO2eqFprnt | view | inner | CONSUMPTION | Purchase Reqn Item CO2e Footprint |
| C_PurchaseRequisitionItmDtls | view | from | CONSUMPTION | |
| C_PurchaseRequisitionValueHelp | view | from | CONSUMPTION | Purchase Requisition Value Help |
| C_PurDocListPRStatus | view | from | CONSUMPTION | Purchase Requisition Status |
| C_PurReqnItemDeliveryAddress | view | from | CONSUMPTION | Consumption View for Purchase Reqn Delivery address |
| C_PurReqnItemExtTP | view_entity | from | CONSUMPTION | Process Purchase Requisition Application |
| C_PurRequisitionItemTypes | view | from | CONSUMPTION | Purchase Requisition Item Types |
| C_RequirementTrackingPurReq | view | from | CONSUMPTION | Purchase Requisitions by Tracking number |
| ESH_N_PURCHASE_REQ | view | from | ||
| I_AlignAcctAssgdPurReqItm | view | from | COMPOSITE | Account assignd PR line item for alignment |
| I_DFS_ActlFltgMatlReqLoanQty | view_entity | from | COMPOSITE | Loan Purchase Requisitions of Material |
| I_DFS_PurReqnOnPlntStorLocLvl | view_entity | from | COMPOSITE | Requested Qty on Plant and SLoc Level |
| I_FlxMtPlObjReqdLoanQtyInfo | view_entity | inner | COMPOSITE | Loan Purchase Requisitions FMPO Models |
| I_MRPPurchaseRequisition | view | from | COMPOSITE | MRP Purchase Requisition |
| I_PPS_PurchaseOrderProcessFlow | view_entity | inner | COMPOSITE | PPS Purchase Order Business Process FLow |
| I_PPS_PurReqnHeaderStatus | view_entity | inner | COMPOSITE | Purchase Requisition Header Status |
| I_PPS_PurReqnItemCO2eqFprnt | view_entity | inner | COMPOSITE | Purchase Reqn Item CO2e Footprint |
| I_PurchaseOrderProcessFlow | view | inner | COMPOSITE | Purchase Order Business Process Flow |
| I_PurchaseReqnItem | view | from | COMPOSITE | Purchase Requisition Items |
| I_PurchaseReqnItemCalcFields | view | from | COMPOSITE | Collection of calculated fields on PR item level |
| I_PurchaseRequisition_Api01 | view | from | COMPOSITE | Purchase Requisition Item |
| I_PurchaseRequisitionAPI01 | view | from | COMPOSITE | Purchase Requisition Header |
| I_PurchaseRequisitionItemAPI01 | view | from | COMPOSITE | Purchase Requisition Item |
| I_PurchaserequisitionitemStdVH | view | from | COMPOSITE | Purchase Requisition Item |
| I_PurReqnAlgnmt | view | from | COMPOSITE | Alignment API BaseCDS |
| I_PurReqnCreationDate | view | from | COMPOSITE | Creation Date |
| I_WrkItmPurReqnItemInferences | view | from | COMPOSITE | Basic view workitem Pur Req inference Result |
| P_BSQPMPurReqnToPurOrd | view_entity | inner | Purchase Requisition to Purchase Order | |
| P_DDOrderDetails | view | from | CONSUMPTION | |
| P_DDPurchaseRequisition | view | from | COMPOSITE | |
| P_ProjProcmtPurReqnOrd | view | left_outer | COMPOSITE | |
| P_Purchasereqmassupdate | view | from | CONSUMPTION | purchase requisition mass update |
| P_PurchaseRequisition_Ovp | view | from | CONSUMPTION | Purchase Requisition Due |
| P_PurchaseRequisitionItm | view | from | CONSUMPTION | Purchase Requisition Item |
| P_Purgrequisitionacctvaluehelp | view | from | CONSUMPTION | Value help for purchase requisition |
| P_PurgRequisitionValueHelp | view | from | CONSUMPTION | Value help for purchase requisition |
| P_PurgSpendOpenReqn | view | from | CONSUMPTION | Purchasing Spend for Open Requisition |
| P_PurReqAddDelivery | view | from | COMPOSITE | |
| P_PurReqItemAcctmntr | view | left_outer | CONSUMPTION | PR Items by Account Assignment |
| P_PURREQITMACCTMNTRFILT | view | from | CONSUMPTION | PR Item by AA Filter Fields |
| P_PurReqItmforReturnDel | view | from | CONSUMPTION | Purchase Requisition Item for Return Del |
| P_PurReqnCrcyIdentify1 | view | from | CONSUMPTION | Identify Purchase Requisition Currency for Sum |
| P_PurReqnCrcyIdentify2 | view | from | CONSUMPTION | Identify Purchase Requisition Currency for Sum |
| P_PurReqnCurrency | view | from | CONSUMPTION | Purchase Requisition Currency Conversion for Sum |
| P_PurReqnItemSoS | view | from | CONSUMPTION | Purchase Requisition Item Source Of Supply |
| P_Purreqnitemtext_hlp | view | from | COMPOSITE | |
| P_PurReqnItemTypeAnalysis | view | from | CONSUMPTION | Purchase Requistion No Touch for OVP |
| P_PurReqnItm | view | union_all | CONSUMPTION | Purchase Requisition Item details |
| P_PurReqnItmOverview | view | inner | CONSUMPTION | Purchase Requisition Item Overview |
| P_PurReqnItmOverview | view | union_all | CONSUMPTION | Purchase Requisition Item Overview |
| P_PurReqnItmOvw | view | from | CONSUMPTION | Overview of Purchase Requisition Items |
| P_PurReqnOpenQuantCalc | view | from | CONSUMPTION | P view for Open Quantity Calculation |
| P_PurReqnProcFlowResvn | view | from | COMPOSITE | |
| P_PurReqnProcFlowResvn | view | union_all | COMPOSITE | |
| P_PurReqnTotalAmount | view | from | CONSUMPTION | Purchase Requisition Total Amount |
| P_PurReqUnschedldItemRelBase | view | from | COMPOSITE | |
| P_RFM_SlsOrdPrgrsMntrPurReqn | view | inner | COMPOSITE | |
| P_SrvcOrdFUPPurOrdProcessFlow | view | inner | CONSUMPTION | Solution Order Purchase Requisition Flow |
| P_ThirdPartyAvaily | view | union_all | CONSUMPTION | Third Party Availability |
| P_ThirdPartyPurReqnAvaily | view | from | CONSUMPTION | Third Party Pur Reqn Availability |
| P_WrkDistrPurReqn | view | from | CONSUMPTION | |
| P_WrkflwPurRequisitionItem | view | from | CONSUMPTION | |
| P_WrkflwPurRequisitionItem | view | union_all | CONSUMPTION | |
| R_PPS_PurchaseRequisitionItem | view | from | COMPOSITE | Purchase Requisition Items |
| R_PurchaseReqnItem | view | from | COMPOSITE | Purchase Requisition Items |
| R_PurchaseRequisitionItemTP | view_entity | from | TRANSACTIONAL | Purchase Requisition Item |
Fields (157)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | Material | Material,Product | 25 |
| KEY | Plant | Plant | 32 |
| KEY | PurchaseRequisition | PrecedingDocument,PurchaseRequisition,UI5NetworkGraphAttributeValue | 48 |
| KEY | PurchaseRequisitionItem | PrecedingDocumentItem,PurchaseRequisitionItem | 41 |
| KEY | PurchasingDocument | PurchaseOrder,PurchasingDocument | 15 |
| KEY | PurchasingDocumentItem | PurchaseOrderItem,PurchasingDocumentItem | 12 |
| KEY | Reservation | Reservation,SubsequentDocument | 4 |
| KEY | StorageLocation | StorageLocation | 15 |
| _Material | _Material | 1 | |
| _MaterialGroup | _MaterialGroup | 3 | |
| _PurchaseRequisition | _PurchaseRequisition | 1 | |
| _PurchasingGroup | _PurchasingGroup | 1 | |
| _Supplier | _Supplier | 1 | |
| _UnitOfMeasure | _UnitOfMeasure | 1 | |
| AccountAssignmentCategory | AccountAssignmentCategory | 15 | |
| AddressID | AddressID | 3 | |
| BaseUnit | BaseUnit,PurchaseRequisitionUnit | 22 | |
| Batch | Batch | 13 | |
| BudgetPeriod | BudgetPeriod | 3 | |
| CntrlReqnApprvlStsInRpldReqn | CntrlReqnApprvlStsInRpldReqn | 1 | |
| CntrlReqnIsRpldBfrApprvl | CntrlReqnIsRpldBfrApprvl | 1 | |
| CommitmentItemShortID | CommitmentItemShortID | 2 | |
| CompanyCode | CompanyCode | 13 | |
| ConsumptionPosting | ConsumptionPosting | 12 | |
| CostCenter | CostCenter | 3 | |
| CreatedByUser | CreatedByUser | 15 | |
| CreationDate | CreationDate | 14 | |
| DelivDateCategory | DelivDateCategory | 9 | |
| DeliveryAddressID | DeliveryAddressID | 5 | |
| DeliveryDate | DeliveryDate,FirstDeliveryDate | 21 | |
| EarmarkedFundsDocument | EarmarkedFundsDocument | 3 | |
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | 3 | |
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | 6 | |
| ExtCompanyCodeForPurg | ExtCompanyCodeForPurg | 6 | |
| ExtContractForPurg | ExtContractForPurg | 4 | |
| ExtContractItemForPurg | ExtContractItemForPurg | 5 | |
| ExtDesiredSupplierForPurg | ExtDesiredSupplierForPurg | 6 | |
| ExternalApprovalStatus | ExternalApprovalStatus | 7 | |
| ExtFixedSupplierForPurg | ExtFixedSupplierForPurg | 6 | |
| ExtInfoRecordForPurg | ExtInfoRecordForPurg | 5 | |
| ExtMaterialForPurg | ExtMaterialForPurg,Material | 6 | |
| ExtPlantForPurg | ExtPlantForPurg | 5 | |
| ExtPurgOrgForPurg | ExtPurgOrgForPurg | 5 | |
| FixedSupplier | ExtDesiredSupplierForPurg,FixedSupplier,Supplier | 18 | |
| FunctionalArea | FunctionalArea | 3 | |
| Fund | Fund | 3 | |
| FundedProgram | FundedProgram | 3 | |
| FundsCenter | FundsCenter | 3 | |
| GLAccount | GLAccount | 3 | |
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | 8 | |
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | 8 | |
| GrantID | GrantID | 3 | |
| InventorySpecialStockType | InventorySpecialStockType | 1 | |
| InvoiceIsExpected | InvoiceIsExpected | 8 | |
| IsClosed | IsClosed | 12 | |
| IsDeleted | IsDeleted | 15 | |
| IsOnBehalfCart | IsOnBehalfCart | 2 | |
| IsOutline | IsOutline | 7 | |
| IsPurReqnBlocked | IsPurReqnBlocked,PurReqnItemBlockingStatus | 11 | |
| IsPurReqnCmplt | IsPurReqnCmplt | 8 | |
| IsPurReqnOvrlRel | IsPurReqnOvrlRel | 6 | |
| ItemDeliveryAddressID | ItemDeliveryAddressID | 9 | |
| ItemNetAmount | ItemNetAmount,PurReqnPrice | 10 | |
| Language | Language | 8 | |
| LastChangeDateTime | LastChangeDateTime | 7 | |
| LastChangedDate | CreationDate,LastChangedDate | 2 | |
| ManualDeliveryAddressID | ManualDeliveryAddressID | 10 | |
| ManufacturerMaterial | ManufacturerMaterial | 6 | |
| ManufacturerPartNmbr | ManufacturerPartNmbr | 3 | |
| ManufacturerPartProfile | ManufacturerPartProfile | 4 | |
| MaterialGoodsReceiptDuration | MaterialGoodsReceiptDuration | 11 | |
| MaterialGroup | MaterialGroup | 22 | |
| MaterialOrderUnit | MaterialOrderUnit | 5 | |
| MaterialPlannedDeliveryDurn | MaterialPlannedDeliveryDurn | 10 | |
| MaterialRevisionLevel | MaterialRevisionLevel,MaterialRevisionLevel_2 | 5 | |
| MaterialShortageQuantity | MaterialShortageQuantity | 2 | |
| MinRemainingShelfLife | MinRemainingShelfLife | 7 | |
| MRPArea | MRPArea | 2 | |
| MRPController | MRPController | 12 | |
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | 6 | |
| OrderedQuantity | OrderedQuantity | 15 | |
| OverallLimitAmount | OverallLimitAmount | 6 | |
| PartialInvoiceDistribution | PartialInvoiceDistribution | 1 | |
| PerformancePeriodEndDate | PerformancePeriodEndDate | 10 | |
| PerformancePeriodStartDate | PerformancePeriodStartDate | 10 | |
| PFMTransDataFootprintUUID | PFMTransDataFootprintUUID | 5 | |
| ProcessingStatus | ProcessingStatus,Status | 20 | |
| ProcmtHubBackendBusSyst | ProcmtHubBackendBusSyst | 2 | |
| ProcmtHubPurReqnItmIsChanged | ProcmtHubPurReqnItmIsChanged | 3 | |
| ProcmtHubStorageLocation | ProcmtHubStorageLocation | 1 | |
| ProcurementHubSourceSystem | ProcurementHubSourceSystem | 7 | |
| ProcuringPlant | ProcuringPlant | 2 | |
| ProductType | ProductType,ProductTypeCode,PurgDocProductType | 9 | |
| PurchaseContract | PurchaseContract,PurchaseOutlineAgreement | 11 | |
| PurchaseContractItem | PurchaseContractItem,PurchaseOutlineAgreementItem | 11 | |
| PurchaseOrderDate | PurchaseOrderDate | 2 | |
| PurchaseOrderPriceType | PurchaseOrderPriceType | 3 | |
| PurchaseReqnItemUniqueID | PurchaseReqnItemUniqueID | 7 | |
| PurchaseRequisitionIsFixed | PurchaseRequisitionIsFixed | 8 | |
| PurchaseRequisitionItemText | PurchaseRequisitionItemText,PurchasingText | 23 | |
| PurchaseRequisitionPrice | PurchaseRequisitionPrice | 17 | |
| PurchaseRequisitionReleaseDate | PurchaseRequisitionReleaseDate | 17 | |
| PurchaseRequisitionStatus | PurchaseRequisitionStatus | 8 | |
| PurchaseRequisitionType | PurchaseRequisitionType,PurchasingDocumentType | 31 | |
| PurchasingDeliveryAddressType | PurchasingDeliveryAddressType | 2 | |
| PurchasingDocumentCategory | PurchasingDocumentCategory | 15 | |
| PurchasingDocumentItemCategory | MaterialProcurementCategory,PurchasingDocumentItemCategory | 18 | |
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | 13 | |
| PurchasingGroup | PurchasingGroup | 31 | |
| PurchasingInfoRecord | PurchasingInfoRecord | 13 | |
| PurchasingOrganization | PurchasingOrganization | 29 | |
| PurchasingParentItem | PurchasingParentItem | 6 | |
| PurContractForOverallLimit | PurContractForOverallLimit | 5 | |
| PurContractItemForOverallLimit | PurContractItemForOverallLimit | 4 | |
| PurgConfigurableItemNumber | PurgConfigurableItemNumber | 6 | |
| PurgExternalSortNumber | PurgExternalSortNumber | 4 | |
| PurReqCreationDate | PurReqCreationDate | 16 | |
| PurReqnCmpltnsCat | PurReqnCmpltnsCat | 5 | |
| PurReqnExternalReference | PurReqnExternalReference | 2 | |
| PurReqnExternalSystemId | PurReqnExternalSystemId | 2 | |
| PurReqnExternalSystemType | PurReqnExternalSystemType | 1 | |
| PurReqnHasDelegateApproval | PurReqnHasDelegateApproval | 1 | |
| PurReqnItemBlockingReasonText | PurReqnItemBlockingReasonText | 1 | |
| PurReqnItemCurrency | Currency,DisplayCurrency,PurReqnItemCurrency | 20 | |
| PurReqnItemExternalReference | PurReqnItemExternalReference | 2 | |
| PurReqnItemOutlineType | PurReqnItemOutlineType | 2 | |
| PurReqnLimitConsumptionAmt | PurReqnLimitConsumptionAmt | 4 | |
| PurReqnOrigin | PurReqnOrigin | 13 | |
| PurReqnPriceQuantity | PurReqnPriceQuantity | 15 | |
| PurReqnProcessingDateTime | PurReqnProcessingDateTime | 1 | |
| PurReqnProcessingType | PurReqnProcessingType | 1 | |
| PurReqnReceivingCustomer | PurReqnReceivingCustomer | 5 | |
| PurReqnReleaseStatus | PurchasingReleaseStatus,PurReqnReleaseStatus | 17 | |
| PurReqnRequestor | PurReqnRequestor | 5 | |
| PurReqnSourceOfSupplyType | PurReqnSourceOfSupplyType | 9 | |
| PurReqnSSPAuthor | PurReqnSSPAuthor | 4 | |
| PurReqnSSPCatalog | PurReqnCatalog,PurReqnSSPCatalog | 7 | |
| PurReqnSSPCatalogItem | PurReqnCatalogItem,PurReqnSSPCatalogItem | 7 | |
| PurReqnSSPCrossCatalogItem | PurReqnCrossCatalogItem,PurReqnSSPCrossCatalogItem | 7 | |
| PurReqnSSPRequestor | PurReqnSSPRequestor | 8 | |
| PurReqnTypeExternalReference | PurReqnTypeExternalReference | 1 | |
| ReleaseCode | ReleaseCode | 12 | |
| ReleaseGroup | ReleaseGroup | 1 | |
| ReleaseIsNotCompleted | ReleaseIsNotCompleted | 7 | |
| ReleaseStrategy | ReleaseStrategy | 10 | |
| RequestedQuantity | Quantity,RequestedQuantity,TotalQuantity | 25 | |
| RequirementTracking | RequirementTracking | 11 | |
| RequisitionerName | RequisitionerName | 12 | |
| ServicePerformer | ServicePerformer | 8 | |
| SourceOfSupplyIsAssigned | SourceOfSupplyIsAssigned | 9 | |
| SSPAuthorExternalBPIdnNumber | SSPAuthorExternalBPIdnNumber | 2 | |
| SSPReqrUserId | SSPReqrUserId | 2 | |
| Subcontractor | PurReqnReceivingSupplier,Subcontractor | 6 | |
| Supplier | PreferredSupplier,Supplier | 16 | |
| SupplierMaterialNumber | SupplierMaterialNumber | 8 | |
| SupplyingPlant | SupplyingPlant | 11 | |
| TaxCode | TaxCode | 6 |
@EndUserText.label: 'Purchase Requisition Item'
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IPRITEM'
@AbapCatalog.preserveKey:true
//@Analytics.dataCategory: #DIMENSION
@AccessControl.authorizationCheck:#CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PurchaseRequisitionItem'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
//@AccessControl.privilegedAssociations: [ '_ExtRefForPurReqnItm' ]
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@Consumption.semanticObject: 'PurchaseRequisition'
define view I_Purchaserequisitionitem
as select from I_PurchaseRequisitionItemBasic
association [0..*] to I_PurReqnAcctAssgmt as _PurReqnAcctAssgmt on $projection.PurchaseRequisition = _PurReqnAcctAssgmt.PurchaseRequisition
and $projection.PurchaseRequisitionItem = _PurReqnAcctAssgmt.PurchaseRequisitionItem
association [0..1] to I_PurchaseOrder as _PurchaseOrder on $projection.PurchasingDocument = _PurchaseOrder.PurchaseOrder
association [1..1] to I_PurchasingDocumentType as _PurchasingDocumentType on _PurchasingDocumentType.PurchasingDocumentCategory = 'B'
and $projection.PurchaseRequisitionType = _PurchasingDocumentType.PurchasingDocumentType
association [0..1] to I_Supplier as _Supplier on $projection.FixedSupplier = _Supplier.Supplier
association [0..1] to I_Supplier as _DesiredSupplier on $projection.Supplier = _DesiredSupplier.Supplier //Added for ESH Modeling
association [0..1] to I_PurchasingOrganization as _PurchasingOrganization on $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
association [0..1] to I_PurchasingGroup as _PurchasingGroup on $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
association [0..1] to I_Currency as _Currency on $projection.PurReqnItemCurrency = _Currency.Currency
association [0..1] to I_Plant as _SupplyingPlant on $projection.SupplyingPlant = _SupplyingPlant.Plant
association [1..1] to I_MRPArea as _MRPArea on $projection.MRPArea = _MRPArea.MRPArea
association [1..1] to I_AccAssgnmtCategory as _AccAssgnmtCategory on $projection.AccountAssignmentCategory = _AccAssgnmtCategory.AccountAssignmentCategory
association [0..1] to I_Material as _Material on $projection.Material = _Material.Material
association [0..1] to I_MaterialGroup as _MaterialGroup on $projection.MaterialGroup = _MaterialGroup.MaterialGroup
association [0..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_Address as _Address on $projection.ManualDeliveryAddressID = _Address.AddressID
association [0..1] to I_OrganizationAddress as _OrganizationAddress on $projection.ManualDeliveryAddressID = _OrganizationAddress.AddressID
and _OrganizationAddress.AddressPersonID = ''
and _OrganizationAddress.AddressRepresentationCode = ''
association [1..1] to I_UnitOfMeasure as _UnitOfMeasure on $projection.BaseUnit = _UnitOfMeasure.UnitOfMeasure
association [0..1] to I_StorageLocation as _StorageLocation on $projection.StorageLocation = _StorageLocation.StorageLocation
and $projection.Plant = _StorageLocation.Plant
association [0..1] to I_PurchasingInfoRecord as _PurchasingInfoRecord on $projection.PurchasingInfoRecord = _PurchasingInfoRecord.PurchasingInfoRecord
association [1..1] to I_Purchaserequisition as _PurchaseRequisition on $projection.PurchaseRequisition = _PurchaseRequisition.PurchaseRequisition
association [1..1] to I_PurchaseReqnItemCalcFields as _CalcFields on $projection.PurchaseRequisition = _CalcFields.PurchaseRequisition
and $projection.PurchaseRequisitionItem = _CalcFields.PurchaseRequisitionItem
association [0..1] to I_ExternalRefForPurReqnItm as _ExtRefForPurReqnItm on $projection.PurchaseRequisition = _ExtRefForPurReqnItm.PurchaseRequisition
and $projection.PurchaseRequisitionItem = _ExtRefForPurReqnItm.PurchaseRequisitionItem
association [0..1] to I_BackendSourceSystem as _BackendSourceSystem on $projection.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem
association [0..1] to I_User as _User on $projection.CreatedByUser = _User.UserID //Added for ESH Modeling
association [1..1] to P_PlantValuationArea as _PlantValuationArea on $projection.Plant = _PlantValuationArea.Plant
association [1..1] to P_PurReqnItemNetAmt as _ItemNetAmt on $projection.PurchaseRequisition = _ItemNetAmt.PurchaseRequisition
and $projection.PurchaseRequisitionItem = _ItemNetAmt.PurchaseRequisitionItem
association [1..1] to I_FundedProgramByPurReqnItem as _FundedProgram on $projection.PurchaseRequisition = _FundedProgram.PurchaseRequisition
and $projection.PurchaseRequisitionItem = _FundedProgram.PurchaseRequisitionItem
----Extension Association
association [0..1] to E_Purchaserequisitionitem as _PurchaseReqnItemExtension on _PurchaseReqnItemExtension.PurchaseRequisition = $projection.PurchaseRequisition
and _PurchaseReqnItemExtension.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem
{
@ObjectModel.foreignKey.association: '_PurchaseRequisition'
key cast (PurchaseRequisition as vdm_purchaserequisition preserving type ) as PurchaseRequisition,
key cast (PurchaseRequisitionItem as vdm_purchaserequisitionitem preserving type ) as PurchaseRequisitionItem,
PurReqnDescription as PurReqnDescription,
PurchasingDocument as PurchasingDocument,
PurchasingDocumentItem as PurchasingDocumentItem,
PurReqnReleaseStatus as PurReqnReleaseStatus,
PurchaseRequisitionType as PurchaseRequisitionType,
PurchasingDocumentSubtype as PurchasingDocumentSubtype,
PurchasingDocumentItemCategory as PurchasingDocumentItemCategory,
PurchaseRequisitionItemText as PurchaseRequisitionItemText,
AccountAssignmentCategory as AccountAssignmentCategory,
PurchasingDocumentCategory as PurchasingDocumentCategory,
IsOutline as IsOutline,
PurchasingParentItem as PurchasingParentItem,
PurReqnItemOutlineType as PurReqnItemOutlineType,
PurgConfigurableItemNumber as PurgConfigurableItemNumber,
PurgExternalSortNumber as PurgExternalSortNumber,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@DefaultAggregation: #NONE
RequestedQuantity as RequestedQuantity,
@ObjectModel.foreignKey.association: '_UnitOfMeasure'
@Semantics.unitOfMeasure: true
BaseUnit as BaseUnit,
@ObjectModel.foreignKey.association: '_Currency'
@Semantics.currencyCode: true
PurReqnItemCurrency as PurReqnItemCurrency, //2846005
@Semantics.amount.currencyCode: 'PurReqnItemCurrency'
@DefaultAggregation: #NONE
PurchaseRequisitionPrice as PurchaseRequisitionPrice,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@DefaultAggregation: #NONE
PurReqnPriceQuantity as PurReqnPriceQuantity,
ReleaseCode as ReleaseCode,
@Semantics.businessDate.at:true
PurchaseRequisitionReleaseDate as PurchaseRequisitionReleaseDate,
PurchasingOrganization as PurchasingOrganization,
PurchasingGroup as PurchasingGroup,
Plant as Plant,
SourceOfSupplyIsAssigned as SourceOfSupplyIsAssigned,
SupplyingPlant as SupplyingPlant,
ProcuringPlant as ProcuringPlant,
Material as Material,
ManufacturerMaterial as ManufacturerMaterial,
ManufacturerPartProfile as ManufacturerPartProfile,
ManufacturerPartNmbr as ManufacturerPartNmbr,
MaterialGroup as MaterialGroup,
MaterialGoodsReceiptDuration as MaterialGoodsReceiptDuration,
SupplierMaterialNumber as SupplierMaterialNumber,
MaterialRevisionLevel as MaterialRevisionLevel,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
OrderedQuantity as OrderedQuantity,
@Semantics.amount.currencyCode: 'PurReqnItemCurrency'
PurReqnLimitConsumptionAmt as PurReqnLimitConsumptionAmt,
DeliveryDate as DeliveryDate,
@Semantics.businessDate.at:true
CreationDate as CreationDate,
LastChangedDate as LastChangedDate,
ProcessingStatus as ProcessingStatus,
PurchasingInfoRecord as PurchasingInfoRecord,
Supplier as Supplier,
FixedSupplier as FixedSupplier,
IsDeleted as IsDeleted,
RequisitionerName as RequisitionerName,
CreatedByUser as CreatedByUser,
PurReqCreationDate as PurReqCreationDate,
AddressID as AddressID,
case
when ManualDeliveryAddressID != '' then ManualDeliveryAddressID
else _Plant.AddressID
end as DeliveryAddressID,
ManualDeliveryAddressID as ManualDeliveryAddressID,
MaterialPlannedDeliveryDurn as MaterialPlannedDeliveryDurn,
DelivDateCategory as DelivDateCategory,
MultipleAcctAssgmtDistribution as MultipleAcctAssgmtDistribution,
ItemDeliveryAddressID as ItemDeliveryAddressID,
PartialInvoiceDistribution as PartialInvoiceDistribution,
StorageLocation as StorageLocation,
PurReqnSSPRequestor as PurReqnSSPRequestor,
PurReqnSSPAuthor as PurReqnSSPAuthor,
PurchaseContract as PurchaseContract,
PurReqnSourceOfSupplyType as PurReqnSourceOfSupplyType,
PurchaseContractItem as PurchaseContractItem,
ConsumptionPosting as ConsumptionPosting,
PurReqnOrigin as PurReqnOrigin,
PurReqnSSPCatalog as PurReqnSSPCatalog,
PurReqnSSPCatalogItem as PurReqnSSPCatalogItem,
PurReqnSSPCrossCatalogItem as PurReqnSSPCrossCatalogItem,
IsPurReqnBlocked as IsPurReqnBlocked,
PurReqnItemBlockingReasonText as PurReqnItemBlockingReasonText,
Language as Language,
IsClosed as IsClosed,
Reservation as Reservation,
ReleaseIsNotCompleted as ReleaseIsNotCompleted,
ServicePerformer as ServicePerformer,
// ProductType as ProductType,
cast ( ProductTypeCode as product_type ) as ProductType,
PurchaseRequisitionStatus as PurchaseRequisitionStatus,
ReleaseStrategy as ReleaseStrategy,
PerformancePeriodStartDate as PerformancePeriodStartDate,
PerformancePeriodEndDate as PerformancePeriodEndDate,
_PlantValuationArea.CompanyCode as CompanyCode, // CC is Filled in case if valuation area is CC
_Plant.ValuationArea as ValuationArea,
Batch as Batch,
MinRemainingShelfLife as MinRemainingShelfLife,
@Semantics.amount.currencyCode: 'PurReqnItemCurrency'
case
when _ItemNetAmt .ItemNetAmount > 9999999999999.99
then fltp_to_dec(9999999999999.99 as abap.curr(15,2) )
else
cast( _ItemNetAmt.ItemNetAmount as abap.curr(15,2) )
end as ItemNetAmount,
GoodsReceiptIsExpected as GoodsReceiptIsExpected,
InvoiceIsExpected as InvoiceIsExpected,
GoodsReceiptIsNonValuated as GoodsReceiptIsNonValuated,
RequirementTracking as RequirementTracking,
MRPArea as MRPArea,
MRPController as MRPController,
TaxCode as TaxCode,
PurchaseRequisitionIsFixed as PurchaseRequisitionIsFixed,
LastChangeDateTime as LastChangeDateTime,
IsPurReqnCmplt as IsPurReqnCmplt,
PurReqnCmpltnsCat as PurReqnCmpltnsCat,
ExtMaterialForPurg as ExtMaterialForPurg,
ExtFixedSupplierForPurg as ExtFixedSupplierForPurg,
ExtDesiredSupplierForPurg as ExtDesiredSupplierForPurg,
ExtContractForPurg as ExtContractForPurg,
ExtContractItemForPurg as ExtContractItemForPurg,
ExtInfoRecordForPurg as ExtInfoRecordForPurg,
ExtPlantForPurg as ExtPlantForPurg,
ProcmtHubStorageLocation as ProcmtHubStorageLocation,
ExtCompanyCodeForPurg as ExtCompanyCodeForPurg,
ExtPurgOrgForPurg as ExtPurgOrgForPurg,
ExtSourceSystem as ExtSourceSystem, //deprecate this
ProcurementHubSourceSystem as ProcurementHubSourceSystem,
IsPurReqnOvrlRel as IsPurReqnOvrlRel,
ReleaseGroup as ReleaseGroup,
@Semantics.amount.currencyCode: 'PurReqnItemCurrency'
ExpectedOverallLimitAmount as ExpectedOverallLimitAmount,
@Semantics.amount.currencyCode: 'PurReqnItemCurrency'
OverallLimitAmount as OverallLimitAmount,
PurContractForOverallLimit as PurContractForOverallLimit,
PurContractItemForOverallLimit as PurContractItemForOverallLimit,
IsEndOfPurposeBlocked as IsEndOfPurposeBlocked,
PurchaseReqnItemUniqueID as PurchaseReqnItemUniqueID,
Subcontractor as Subcontractor,
PurReqnReceivingCustomer as PurReqnReceivingCustomer,
PurchaseOrderPriceType as PurchaseOrderPriceType,
IsOnBehalfCart as IsOnBehalfCart,
ExtPurchaseRequisitionType as ExtPurchaseRequisitionType,
PurReqnIsCreatedInExpertMode as PurReqnIsCreatedInExpertMode,
MaterialShortageQuantity as MaterialShortageQuantity,
PurchaseOrderDate as PurchaseOrderDate,
PurReqnIntObjNmbr as PurReqnIntObjNmbr,
PFMTransDataFootprintUUID as PFMTransDataFootprintUUID,
ExternalProcurementProfile as ExternalProcurementProfile,
case when PurReqnSSPRequestor = ''
then RequisitionerName
else
PurReqnSSPRequestor end as PurReqnRequestor,
case ExtApprvlIntmdSts
when ''
then ExternalApprovalStatus
else
cast( ExtApprvlIntmdSts as mmpur_req_extapprvlsts )
end as ExternalApprovalStatus,
// ExternalApprovalStatus as ExternalApprovalStatus,
// ExtApprvlIntmdSts as ExtApprvlIntmdSts,
// cast( CommitmentItemShortID as fipos ) as CommitmentItem,
CommitmentItemShortID as CommitmentItemShortID,
FundsCenter as FundsCenter,
Fund as Fund,
GrantID as GrantID,
FunctionalArea as FunctionalArea,
EarmarkedFundsDocument as EarmarkedFundsDocument,
EarmarkedFundsDocumentItem as EarmarkedFundsDocumentItem,
BudgetPeriod as BudgetPeriod,
@EndUserText.label: 'Funded Program'
_FundedProgram.FundedProgram as FundedProgram,
MaterialOrderUnit as MaterialOrderUnit,
CostCenter as CostCenter,
GLAccount as GLAccount,
/* EBAN_TECH fields */
_ExtRefForPurReqnItm.PurReqnExternalReference as PurReqnExternalReference,
_ExtRefForPurReqnItm.PurReqnItemExternalReference as PurReqnItemExternalReference,
_ExtRefForPurReqnItm.PurReqnExternalSystemId as PurReqnExternalSystemId,
_ExtRefForPurReqnItm.PurReqnExternalSystemType as PurReqnExternalSystemType,
/* deprecated and not used anymore. Still available for compatibility */
_ExtRefForPurReqnItm.PurReqnTypeExternalReference as PurReqnTypeExternalReference,
_ExtRefForPurReqnItm.PurReqnProcessingType as PurReqnProcessingType,
_ExtRefForPurReqnItm.PurReqnProcessingDateTime as PurReqnProcessingDateTime,
_BackendSourceSystem.ProcmtHubBackendBusSyst as ProcmtHubBackendBusSyst,
ProcmtHubPurReqnItmIsChanged as ProcmtHubPurReqnItmIsChanged,
InventorySpecialStockType as InventorySpecialStockType,
cast (' ' as mmpur_req_d_author_bpid ) as SSPAuthorExternalBPIdnNumber,
cast (' ' as mmpur_req_d_requestor_userid ) as SSPReqrUserId,
PurReqnIsValdInCntrlReqnProcg as PurReqnIsValdInCntrlReqnProcg,
PurchasingDeliveryAddressType as PurchasingDeliveryAddressType,
PurReqnHasDelegateApproval as PurReqnHasDelegateApproval,
CntrlReqnIsRpldBfrApprvl as CntrlReqnIsRpldBfrApprvl,
CntrlReqnApprvlStsInRpldReqn as CntrlReqnApprvlStsInRpldReqn,
_PurchaseOrder,
_PurchasingDocumentType,
_PurchaseRequisition,
_Supplier,
_DesiredSupplier, //Added for ESH Modeling
_PurchasingOrganization,
_PurchasingGroup,
_Currency,
_SupplyingPlant,
_AccAssgnmtCategory,
_Material,
_MaterialGroup,
_Plant,
@VDM: {
lifecycle: {
status: #DEPRECATED,
successor: '_OrganizationAddress'
}
}
_Address,
_OrganizationAddress,
_UnitOfMeasure,
_StorageLocation,
_PurchasingInfoRecord,
_PurReqnAcctAssgmt,
_MRPArea,
_CalcFields,
_User //Added for ESH Modeling
}