Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Badi or User Exit to close PR in ME59n

Dear All,

I have implemented a enhancement for ME59n(EXIT_SAPLME59_001). Here we club the PR which has same material, vendor, date..... And add the quantity to first PR quantity and create a single PO against all the PR.

PR No Material vendor date Quantity

1 ABC XYZ 26.05.2011 100

2 ABC XYZ 26.05.2011 200

3 ABC XYZ 26.05.2011 300

Assume the above example and here it will sum up the quantity i.e. 600 total and put against PR 1 and will remove the PR 2 and 3 from the internal table. Now PO will create for PR 1 with 600 as quantity and standard SAP will mark the PR 1 as closed.

Now we have removed PR 2 and 3 from the internal table during run time after adding the Quantity. But I need to mark PR 2 and 3 as closed.

Please let me know if there is any right Exit or Badi to achieve it or other way.

Thanks in advance.

Arun Kumaram.

Not what you were looking for? View more on this topic or Ask a question