Application Development 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: 

why am i getting this error

Former Member
0 Kudos

hello friends,

In my code im running a BDC on MM01 and then just after that i am running a BDC on MM02,

my bdc for mm01 is running fine,but when i run my bdc for mm02 i get a message that the material locked.

so i have used the FM DEQUEUE_EMMARAS after bdc for mm01 and before bdc for mm02.

but still im getting the same error,but if i press ENTER the bdc on MM02 continues and working fine.

also i am not getting any lock entry for that material in SM12.

then why am i getting the lock error ??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

keep some wait after each material

Wait 5 Seconds

Regards

Shiva

3 REPLIES 3

Former Member
0 Kudos

Hi

keep some wait after each material

Wait 5 Seconds

Regards

Shiva

0 Kudos

thank you,

i used wait up to 5 seconds and now its working fine

Former Member
0 Kudos

Hi,

Put the command , COMMIT WORK AND WAIT between the two BDCs.

Cheers,

Aditya