Application Development 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: 

Error message in User-exit

Former Member
0 Kudos

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

qamar_javed
Participant
0 Kudos

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

Former Member
0 Kudos

Hi,

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

former_member198275
Active Contributor
0 Kudos

Try using

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

qamar_javed
Participant
0 Kudos

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.

former_member404244
Active Contributor
0 Kudos

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