12-30-2014 6:22 PM
Hi
I want an error stating " No authorization to delete " when a user clicks on Delete Button in Me22. Kindly suggest badi or user exit to do it.Error should come before pop up message of delete confirmation.
Regards,
Parita
12-30-2014 11:09 PM
I feel this can be handled using authorisation check itself. Please consult the option with your functional and security consultant. Perhaps use of authority object M_BEST_BSA could do the trick.
However, with authority object, since the user might have 02 (change) authorisation it might become tricky. If the above doesnt work, you can use methods of BADI ME_PROCESS_PO_CUST to control the behaviour
12-31-2014 5:53 AM
Please check the methods - PROCESS_ITEM / CHECK in the BADI - ME_PROCESS_PO_CUST. It may help you.
01-05-2015 10:00 AM
This BADI doesnt work. I have made an implicit enhancement in INCLUDE 'MM06EF0O_OKCODE_DELE' and it works.