10-28-2010 8:25 AM
Hi,
we have developed a user exit to get error message when po value is greater than some amount in me21n tcode. am getting error message when entering all items. But when press SAVE button i want that error message also. But am not getting that error message in that time.How i can write a code for that.
10-28-2010 8:41 AM
You can use ME_PURCHDOC_POSTED BADI having method POSTED. Do see the parameters of the method.
10-28-2010 8:44 AM
Hi Geetha,
It means User Exit you are using doesn't triggeres at SAVE in ME21N. So you have to find another Userexit which will trigger at SAVE , can you let us know whichUser Exit you have used now for existing code. May be you can try with MM06E005 it triggers at SAVE.
Regards,
Pawan
10-28-2010 9:12 AM
Hi,
Am using User Exit M06E0004 . When items are giving error message is occuring. But when Enter SAVE button i didnt get it.
I want that error message when SAVE also.
10-28-2010 10:26 AM
Hi,
Try to add your validation in the enhancement: MM06E005 and Exit: EXIT_SAPMM06E_012
Hope this helps
Regards
Shiva
10-28-2010 10:44 AM
Hi Geetha,
For that requirement you have to code in EXIT_SAPMM06E_012 or EXIT_SAPMM06E_013 MM06E005.
EXIT_SAPMM06E_012 : it will get triggered whenever you press HOLD,CHECK or SAVE button
EXIT_SAPMM06E_013 : it will get triggered just before saving the PO.
Thanks & Regards,
Faheem.