2009 May 25 1:19 PM
Hi all,
am using BADI : MB_DOCUMENT_BADI,method MB_DOCUMENT_BEFORE_UPDATE,to have checks in MB1A(Goods Issue transaction).I have written a code to check some values,after checking and raising an error message if I press enter the following dump error is coming:
Error analysis
Short text of error message:
Internal error: Multiple call of update function module
Long text of error message:
Diagnosis
In the FORM routine Buchen_Ausfuehren (program SAPMM07M), an error
message was issued by a Business Add-In (BAdI) or function module.
This is not permitted, because it could lead to data
inconsistencies. For this reason, the update of the material
document was also terminated with a termination message (dump).
Note that this message (M7 372) is not the responsible error
message.
System Response
Procedure
Contact your system administrator.
Procedure for System Administration
If there is an active implementation of the Business Add-In
MB_DOCUMENT_BADI, check that no error message is issued in the
MB_DOCUMENT_BEFORE_UPDATE method.
Technical information about the message:
Message class....... "M7"
Number.............. 372
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Hope am clear in my questian,
Thanks & Regards,
Rock.
2009 May 25 1:25 PM
Hi,
what is the code which you have written in the BADI.
Please note that do not make an commit statment in this BADI.
Even if you are callign some FM in this badi it should not call a commit within itself.
Kindly check.
Regards,
Ankur Parab
Hi,I have not written any Commit work or deque or roll back statements.Just few if - else conditions are there thats it.
2009 May 25 1:25 PM
Hi,
what is the code which you have written in the BADI.
Please note that do not make an commit statment in this BADI.
Even if you are callign some FM in this badi it should not call a commit within itself.
Kindly check.
Regards,
Ankur Parab
2009 May 25 1:27 PM
Hi,I have not written any Commit work or deque or roll back statements.Just few if - else conditions are there thats it.
2009 May 25 1:33 PM
Hi,
This BADI is called in update task.
So as a result when you call your error message, SAP is retuning it as message type 'X" and an update termination occurs.
I was facing a similar problem becuase i was trying to update measurment doc via this badi.
Incase the measuring document was locked by some user my FM used to throw an error message and that would lead to a message type 'X' in this badi.
So if you want to do some validations only; please use the following BADI.
MB_MIGO_ITEM_BADI in the method ITEM_MODIFY.
Regards,
Ankur Parab
2009 May 25 1:37 PM
2009 Jun 03 12:19 PM
2009 Jun 08 8:40 AM
Hi Rock,
Can u please tell me which other enhancement you are using because I am facing the same problem.
I wanted to put check while saving transaction MB1A , I have done that in MB_DOCUMENT_BEFORE_UPDATE but after giving an error message it is giving dump.
I also tried user exit MBCF0002 but that is also working properly.
Thanks in advance
Supriya
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |