2009 Jul 28 3:21 AM
Hello Experts,
How do we throw an error message inside a BADI method? I am currently using BADI MRM_INVOICE_UPDATE
but when I check there are no exceptions or events to use or the message function like the one
found in ME_PROCESS_PO_CUST.
Please tell me on how to display an error message(E) inside the standard method of the BADI.
Thank you guys and take care!
2009 Jul 28 5:03 AM
first read the documentation of the BADI if error message or any sort of message raise is valid... if its not valid there is not point of using it as there will some side effects in doing so....
Check if this post helps u :
Hello Experts,
How do we throw an error message inside a BADI method? I am currently using BADI MRM_INVOICE_UPDATE
but when I check there are no exceptions or events to use or the message function like the one
found in ME_PROCESS_PO_CUST.
Please tell me on how to display an error message(E) inside the standard method of the BADI.
Thank you guys and take care!
2009 Jul 28 5:03 AM
first read the documentation of the BADI if error message or any sort of message raise is valid... if its not valid there is not point of using it as there will some side effects in doing so....
Check if this post helps u :
2009 Aug 17 5:25 PM
Hi,
As explained in the above answer, in the documentation of this badi it says:
You should note that no system messages can be send in the methods. One exception here is the method CHANGE_AT_SAVE. Within this method, a system message can be issued if the exception ERROR_WITH_MESSAGE is triggered.
In order to issue a message you should do something like this:
MESSAGE e001(ZMESSAGECLASS) RAISING error_with_message.
Best regards
Edited by: Pablo Casamayor on Aug 18, 2009 8:08 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |