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 log at MIGO

Former Member
0 Likes
1,693

Hello.

During MIGO transaction I made a validity check of a single field, If it's empty I assigned an error message.

The problem is that after the user enters the missing value the system displays a strange error message in the error log pop-up and only after exiting the transaction and return to it - we can complete the process.

I thought that my error message can be the problem so I want to use the SAP std error log pop-up.

Tried to do it within the macro mmpur_message_forced (command mmpur_message_forced 'E' 'ZMM' '044' '' '' '' ''.).

It doesn't help - still behaves as an error message.

How can I set my error mesasge to the SAP std error log in MIGO instead of call the error message in the regular way (message e044(zmm)) ?

Please help.

Thanks in advance.

Hello.

During MIGO transaction I made a validity check of a single field, If it's empty I assigned an error message.

The problem is that after the user enters the missing value the system displays a strange error message in the error log pop-up and only after exiting the transaction and return to it - we can complete the process.

I thought that my error message can be the problem so I want to use the SAP std error log pop-up.

Tried to do it within the macro mmpur_message_forced (command mmpur_message_forced 'E' 'ZMM' '044' '' '' '' ''.).

It doesn't help - still behaves as an error message.

How can I set my error mesasge to the SAP std error log in MIGO instead of call the error message in the regular way (message e044(zmm)) ?

Please help.

Thanks in advance.

2 REPLIES 2
Read only

madhu_vadlamani
Active Contributor
0 Likes
1,046

Hi Sam,

TO display the message in popup are you using a message class or directly message type statement.

Regards,

Madhu.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,046

Hi,

You have to use badi MB_MIGO_BADI.

Methods CHECK_ITEM,CHECK_HEADER as required.

Both the methods have the changing parameter ET_BAPIRET2. POpulate it with message type,message number and message class.