Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding error in BDC(MM02)

Former Member
0 Likes
1,963

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,903

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.

14 REPLIES 14
Read only

Former Member
0 Likes
1,903

Hi,

logoff and then login.

Read only

mvoros
Active Contributor
0 Likes
1,903

Sorry guys, wrong thread.

Edited by: Martin Voros on Apr 27, 2009 7:44 AM

Read only

Former Member
0 Likes
1,903

Hi,

Is that EBGABAP with which you got logged in and processing this transaction or others id?

regards,

Naveen

Read only

0 Likes
1,903

Yes i logged in with EBGABAP,The problem still not resolved even after logging off.

Read only

0 Likes
1,903

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

Read only

0 Likes
1,903

I am trying to change material by bdc for mm02 from IDOC.

Read only

0 Likes
1,903

What's the IDoc type?

Read only

Former Member
0 Likes
1,903

Check in SM12 once. Is that your user id only ?

Regards,

Deepthi

Read only

Former Member
0 Likes
1,904

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

Read only

0 Likes
1,903

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.

Read only

0 Likes
1,903

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

Read only

0 Likes
1,903

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.

Read only

0 Likes
1,903

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

Read only

0 Likes
1,903

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.