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

Error message in User-exit

Former Member
0 Likes
895

I send 'E' MESSAGE in user-exit EXIT_SAPMM06E_012 of functional module ME_PURCHASE_DOCUMENT_DATA_SAVE.

Appears a window with my error and with only button 'Exit'. When i click Exit my program, which called ME_PURCHASE_DOCUMENT_DATA_SAVE terminates.

This mean, that FM converts my 'E' message into 'A'.

How call funcion ME_PURCHASE_DOCUMENT_DATA_SAVE to prevent main program termination?

Edited by: S S on Mar 18, 2009 11:38 AM

1 ACCEPTED SOLUTION
Read only

qamar_javed
Participant
0 Likes
746

Hi,

Send an 'I' message but with display like 'E' ,ie

Message msg TYPE 'I' DISPLAY LIKE 'E'.

Hope this solves your problem.

Regards,

Qamar.

4 REPLIES 4
Read only

Former Member
0 Likes
746

Hi,

Can u tell how u r throwing that error message. Can u give the code for it?

Read only

Former Member
0 Likes
746

Try using

message ' ' type 'E' display like 'S'.

Read only

qamar_javed
Participant
0 Likes
747

Hi,

Send an 'I' message but with display like 'E' ,ie

Message msg TYPE 'I' DISPLAY LIKE 'E'.

Hope this solves your problem.

Regards,

Qamar.

Read only

former_member404244
Active Contributor
0 Likes
746

Hi,

howu gave the error message..Basically error message comes under bottom there won't be any popup like the information message.

give liek this

message 'no data found' type 'E'.

Regards,

Nagaraj