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

why am i getting this error

Former Member
0 Likes
521

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
Read only

Former Member
0 Likes
486

Hi

keep some wait after each material

Wait 5 Seconds

Regards

Shiva

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 ??

3 REPLIES 3
Read only

Former Member
0 Likes
487

Hi

keep some wait after each material

Wait 5 Seconds

Regards

Shiva

Read only

0 Likes
486

thank you,

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

Read only

Former Member
0 Likes
486

Hi,

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

Cheers,

Aditya