04-04-2009 8:24 AM
Hello experts,
How can i display an error message and stop saving of PO when creating using ME_PURCHDOC_POSTED badi. Problem i am facing is that though i used message statement to display an Error message , i am getting an information message and PO is get saved.
04-04-2009 10:36 AM
Hi,
I think, messages of type "E" or "W", in particular, should never be used in other contexts.....
Use method concept ......
Thanks,
Shailaja Ainala.
04-04-2009 10:53 AM
Thanks for ur reply,
i have tried using method too , but i am getting the message as information though i have given as Error message and the i get System Error ( Error in method PO_POST) and the PO is being saved. But i need the PO not to be saved. Is tehre any alterantive method to validate the values by fetching the all the condition types of PO and giving an error message.
04-06-2009 6:11 AM
Hi,
Try this MM06E005 -
> EXIT_SAPMM06E_012--->ZXM06U43
Thanks,
Shailaja Ainala.
04-27-2009 11:20 AM
03-23-2010 10:35 AM
Hi I have the same requirement did u get the solution .
kindly suggest.
Best regards,
Sonal
06-20-2021 5:37 AM
We are using error message (of the type) in ME_PURCHDOC_POSTED
message e000(zmm) with 'Budget Deficit'
or
message 'Budget Deficit' type 'E'.
I am getting this error in pop-up AND soon followed up by
"System error (error in method PO_POST)"
Then, the PO update/release window closes, but PO gets released or PO changes gets saved in EKKO,EKPO etc.
If the termination is happening, why is implicit rollback not happening and why data is getting saved to DB..this is against our business requirements. Pls suggest.
-Regards,
Satish