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

User Exit, Error Message but still allows SAVE

Former Member
0 Likes
580

I am working on user exit EXIT_SAPLMEREQ_010 for purchase requisition. When there is an error I pass values to external message paramert structure "ex_messages". I see error message but when I exit the Purchase Req document, with error message also it allows me to save the document . For other standard error messages it does not save the document.

How to prevent save for User exit error messages also? Do I need to pass any partucular parameter to structure BAPIRET2. At present i am passing

v_msgs-type = 'E'.

v_msgs-id = 'ZZ'.

v_msgs-number = '000'.

v_msgs-message_v1 = 'Text message'.

Thanks,

AP

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
436

look for a BADI BADI ME_PROCESS_REQ* that solved my similar problem

1 REPLY 1
Read only

former_member156446
Active Contributor
0 Likes
437

look for a BADI BADI ME_PROCESS_REQ* that solved my similar problem