03-10-2013 12:03 PM
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.
03-11-2013 4:11 AM
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.
03-11-2013 11:13 AM
Hi Yotam,
MESSAGE ' ' TYPE 'E'.
LEAVE TO TRANSACTION 'T-CODE'.
It will work for u.
Thanks
Tarak
03-11-2013 3:22 PM
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
03-12-2013 5:35 AM
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!