cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple POs against a single PR in ME59N using EXIT ME590001

Sijin_Chandran
Active Contributor
0 Kudos

Hello SAP Gurus,

My query is regarding continuation to the below thread raised by me and in the below thread you could read that someone has suggested of going with PO split in ME59N.

https://answers.sap.com/questions/589031/multiple-purchase-requisitions-for-a-sale-order-do.html

Actually we would need multiple POs to be generated against a single PR based on some custom criteria. I have found the above Customer EXIT ME590001 and there is a "field t_ebanx-new_po" which I think could do the purpose. But the description of EXIT says "Grouping of Purchase Requisitions" which makes me feel skeptical about this. Since I don't have system access as of now but at the same time I need analyse this requirement, if anyone would have worked in this kinda scenario provide some insight on my findings ?

Helpful comments much appreciated.

Thanks,

Sijin

Accepted Solutions (1)

Accepted Solutions (1)

Sijin_Chandran
Active Contributor
0 Kudos

Hello All,

Sharing the solution for other's reference.

Customer EXIT ME590001 is the solution, even though the description of EXIT says "Grouping of Purchase Requisitions for PO creation", but it could be used for vice versa purposes also.

That EXIT offers an Internal Table T_EBANX with below structure ,

Fields NEW_PO and NEW_ITEM are the magic fields 🙂

Purchase Requisitions along with their Item number will be there in T_EBANX,

So while running ME59N for creating POs from PRs , just alter the NEW_PO and NEW_ITEM flags according to your purpose,

1. If you set NEW_PO = 'X' and NEW_ITEM = ''

That means a new PO will be generated for that PR Line Item.

2. If you set NEW_PO = '' and NEW_ITEM = 'X'

That means current PR Line Item would be appended to the earlier proposed PO.

Line this you can workaround on the combinations.

Thanks,

Sijin

Answers (0)