Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add warning message when save po

Former Member
0 Likes
859

I would like to know which userexit can perform when i save a PO, i would display a warning message to user and then user need to click yes, or tick button to save po. otherwise, the save process will abort. I try to add popup windows in usereixt 'ZXM06U43', but no matter i click yes, no or cancel button, it also save the po. How can i add a warning message. Thanks!

I would like to know which userexit can perform when i save a PO, i would display a warning message to user and then user need to click yes, or tick button to save po. otherwise, the save process will abort. I try to add popup windows in usereixt 'ZXM06U43', but no matter i click yes, no or cancel button, it also save the po. How can i add a warning message. Thanks!

2 REPLIES 2
Read only

Former Member
0 Likes
648

Hi

Use any of these BADIs

ME_CHECK_ALL_ITEMS

ME_COMMTMNT_PO_RELEV

ME_COMMTMNT_PO_REL_C

ME_PURCHDOC_POSTED

I think tis one is very helpful try it out

ME_PURCHDOC_POSTED

Regards

Shiva

Read only

0 Likes
648

I am facing the same question . ME_PURCHDOC_POSTED is no use to this. After checking the call stack and caller program of this BADI's post method , i found there is no method or parameter to abort the PO posting within this BADI.

The last way which i despondently do not wanna use is raising a exception in the post method ,then the posting was aborted ,but user would not like to see the dump screen.