2009 Apr 27 6:35 AM
Hi all,
I am calling the mm02 transaction from my inbound idoc.But after first cscreen is called it gives the error-
"You wanted to maintain the master record of the material 1234M. However, it is already being processed by the user EBGABAP and is therefore locked."
The fact is its not been locked by EBGABAP-login in any other session.Please help me resolve issue.
Thank you.
2009 Apr 27 7:31 AM
Hi,
Iam sure that yu are trying to edit the same material 2 times internally(sessions) one thru MM02 and other thru BAPI/functiopn module.
Check it in your code.... .
regards,
naveen
Hi all,
I am calling the mm02 transaction from my inbound idoc.But after first cscreen is called it gives the error-
"You wanted to maintain the master record of the material 1234M. However, it is already being processed by the user EBGABAP and is therefore locked."
The fact is its not been locked by EBGABAP-login in any other session.Please help me resolve issue.
Thank you.
2009 Apr 27 6:42 AM
2009 Apr 27 6:43 AM
Sorry guys, wrong thread.
Edited by: Martin Voros on Apr 27, 2009 7:44 AM
2009 Apr 27 6:51 AM
Hi,
Is that EBGABAP with which you got logged in and processing this transaction or others id?
regards,
Naveen
2009 Apr 27 6:58 AM
Yes i logged in with EBGABAP,The problem still not resolved even after logging off.
2009 Apr 27 7:02 AM
Hi,
probably the FM responsible for processing that material is holding lock. So you can not call transaction MM02 because this transaction needs to have lock for the selected material. Can you describe what do you want to achieve by calling MM02 from your IDoc?
Cheers
2009 Apr 27 7:18 AM
2009 Apr 27 7:22 AM
2009 Apr 27 7:02 AM
Check in SM12 once. Is that your user id only ?
Regards,
Deepthi
2009 Apr 27 7:31 AM
Hi,
Iam sure that yu are trying to edit the same material 2 times internally(sessions) one thru MM02 and other thru BAPI/functiopn module.
Check it in your code.... .
regards,
naveen
2009 Apr 27 7:36 AM
So does that mean i can not use BDC for mm02 fro creation/change of classification view in IDOC function module -IDOC_INPUT_MATMAS01.
Thank you.
2009 Apr 27 7:43 AM
Hi,
As per your reply i understand you are using the FM : IDOC_INPUT_MATMAS01 .
so r u calling MM02 transaction with in this FM from user -exits??
regards,
Naveen
2009 Apr 27 8:01 AM
Yes what you are saying is right as i extended matmas idoc from classification view and inspection setup.And for that there is no provision in this function module.
Thank you.
2009 Apr 27 8:10 AM
Hi,
IDOC_INPUT_MATMAS01 will post the idoc which calls interanlly transaction MM01/02,,,,so current material no is passed to this FM for editing , aprt from this while processing yu are calling MM02 tcode from user exit and trying to pass the same material no ( which yu already passed to the FM IDOC_INPUT_MATMAS01 ) and this is the postion of deadlock. Hence yor are getting the error message..
regards,
Naveen
2009 Apr 27 8:50 AM
But then how to create the data for Inspection setup as no function module exists for this. and i dont found substitute to bdc for inspection setup.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |