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

remove Error message from me21n transaction

Former Member
0 Likes
919

Hi,

in me21n transaction if i edit short text(material description)it should raise error.i have got this by writing code inside process_item method of me_process_cust badi.after displaying this error i reset the short text to old value.now if i press save,this error still remains in error log...how to remove it?

i used this macro to raise the error.

mmpur_message_forced 'E' 'ZMM_NEW' '019' '' '' '' ''.

mmpur_remove_messages_by_id po_item-id.(i tried to use this macro...but its not removed..)please help me if u have any idea

Regards,

Kavitha

Hi,

in me21n transaction if i edit short text(material description)it should raise error.i have got this by writing code inside process_item method of me_process_cust badi.after displaying this error i reset the short text to old value.now if i press save,this error still remains in error log...how to remove it?

i used this macro to raise the error.

mmpur_message_forced 'E' 'ZMM_NEW' '019' '' '' '' ''.

mmpur_remove_messages_by_id po_item-id.(i tried to use this macro...but its not removed..)please help me if u have any idea

Regards,

Kavitha

1 REPLY 1
Read only

Former Member
0 Likes
578

Try to use.

mmpur_business_obj_id ls_po_item-id.

mmpur_remove_messages_by_id ls_po_item-id.