Skip to Content
author's profile photo Former Member
Former Member

ME21N error message dsplay

Dear Group members,

I did the user exit enhancement for ME21N. It is working fine.

but the only problem is "instead of error (E) message it is showing the

information ( I ) message.

i write the code ( MESSAGE 'J1ID - Not maintained' TYPE 'E' ) like this.

but it is showing 2 information messages only not error message.

1. J1ID - Not maintained

2.System error (error in method PO_POST)

please give the solution.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jun 10, 2014 at 06:37 AM

    Don't raise error in this exit (which one, during method POST) it is too late, it is time to switch to BAdI ME_PROCESS_PO_CUST, and use the macro provided (use search tool or read SPRO documentation) to raise an error in a PROCESS_HEADER/ITEM or CHECK method.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2014 at 05:25 AM

    Hi Rahil,

    Could you please tell us what user exit you use in ME21n then we will try to help you?

    Regards,

    Prasenjit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2014 at 05:27 AM

    Can you please tell the exit name and your code as well.

    Regards,

    Vadamalai A

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 10, 2014 at 05:44 AM

    Hi Rahil,

    I believe the best approach to accomplish the required task is to use the macro i.e. MMPUR

    Below is the said syntax for the same

    • mmpur_message/ mmpur_message_forced ls_message-type ls_message-id

    ls_message-number

    ls_message-message_v1

    ls_message-message_v2

    ls_message-message_v3

    ls_message-message_v4.

    example: mmpur_message/ mmpur_message 'E' 'J1D' message number textn.

    Please validate the same at your end, let me know in case you require any further inputs from my end.

    BR/Thanks

    Pranav Agrawal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.