ā2015 Oct 05 4:35 PM
Hello Experts
i have a requirement as below in MM on po save
i have a user exit EXIT_SAPMM06E_017 but when i put break point in this FM and create PO in using me21n, PO gets created without debugger getting activated.
Thank you.
Aditya
ā2015 Oct 05 7:13 PM
Did you google it?? Just search for "PO save badi" and you will most likely find the answer you are looking for.
Here is one BAdI: ME_PROCESS_PO_CUST and method POST.
ā2015 Oct 06 5:28 AM
Hello Chandra Indukuri
I am using Exit SAPMM06E and in that FM EXIT_SAPMM06E_012,
Can you please Explain me how to compare PR line item with PO.
Thank You
Aditya
ā2015 Oct 06 6:02 AM
In EKPO table, you will have the PR refrence in
BANFN and BNFPO
Use that as a reference to pick the PR detail.
Regards,
Venkat
ā2015 Oct 06 6:23 AM
You can also use a class for find Badi..use se24 give the name CL_EXITHANDLER ->display->use method GET_INSTANCE-> double click on GET_INSTANCE and put the break point on
CALL METHOD cl_exithandler=>get_class_name_by_interface
after done above activity Run Me21n now you can find Badi name in exit_name parameter..
ā2015 Oct 06 6:06 AM
This can all be done by standard customizing in MM, not at all needed to code anything. But I have to second others here, please search for the solution (one by one) as this is already a FAQ and will be rejected in MM space.
ā2015 Oct 06 6:12 AM
Hi,
Pl use ME_PROCESS_PO_CUST and interface is 'Check'. Runtime behavior should be 'The implementation will be called'.
For quantity check at PO compare with PR, you can set the standard message 06 076 'Materials of requisition & item & alr. ordered in full' with Error.
Regards
Ajay
ā2015 Oct 06 6:22 AM
Hi,
Use Badi ME_PROCESS_PO_CUST as mentioned by Ajay, instead of using exits. it will work.
Thank you,
Sathees Kannan
ā2015 Oct 06 6:31 PM
Hello Experts
Thank you for the Guidance and explanation
I used user exit SAPMM06E and in that FM EXIT_SAPMM06E_012
i passed pr refrence from ekpo and extract pr details from eban.
thank you
Aditya