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 on EXIT_SAPMM06E_012 disable screen

Former Member
0 Kudos

Hello,

I need to issue error message on ME33K saving process,

I used EXIT_SAPMM06E_012.

When I write a message it returns to the header screen but all the screen fields are read only.

When I press Enter the EXIT is called again and process the error message again.

The only way to change the fields is to exit from the header screen and rerutn again.

Is the another way to process error message to stop saving?

Thank you very much.

Yotam.

4 REPLIES 4

Former Member
0 Kudos

Hi,

If you Raise an error message in the wright exit surely it will stop u for not saving the data.

How you raised the message?

The message should be like this.

message 'ERROR MESSAGE' type 'E'.

Please check it once.

Thanks.

Pavan.

Former Member
0 Kudos

Hi Yotam,

MESSAGE '     ' TYPE 'E'.

LEAVE TO TRANSACTION 'T-CODE'.

It will work for u.

Thanks

Tarak

Former Member
0 Kudos

Hi Yotam,

Try to use the macro mmpur_message.

mmpur_message 'MESSAGE_TYPE' 'MESSAGE_ID' 'MESSAGE_NUMBER' 'V1' 'V2' 'V3' 'V4' .

Example:

mmpur_message 'E' '00' '001' '' '' '' '' .

You can also check the SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log

Best regards,

Christian

former_member946717
Contributor
0 Kudos

Hi Yotam,

Currently you may be displaying the error message as

MESSAGE E000 with text  'TEXT',

you can change this syntax to

MESSAGE I000 with text 'TEXT' display like 'E'

In the first case, message gets displayed and the fields are non-editable while in the second case, the message will be displayed as an information message with the Error sign and the fields will be editable.

Hope this helps!