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

Encountered : A system error has occurred while locking, pls help

Former Member
0 Likes
1,146

Dear All..

pls help..

while executing some of our remote function module we encountered some locking error.. the message returned by SAP is :

A system error has occurred while locking

from message class : M3 #021

the remote function module is running bapi_goodsmvt_create in background..

the question is.. why this error occured and how to solve it ? and what is the root cause.. ?

because the error is only happened once (until now) we cannot simulate to get the error again.. so it is hard to find out the root cause..

thanks for the help..

sasmente

Dear All..

pls help..

while executing some of our remote function module we encountered some locking error.. the message returned by SAP is :

A system error has occurred while locking

from message class : M3 #021

the remote function module is running bapi_goodsmvt_create in background..

the question is.. why this error occured and how to solve it ? and what is the root cause.. ?

because the error is only happened once (until now) we cannot simulate to get the error again.. so it is hard to find out the root cause..

thanks for the help..

sasmente

1 REPLY 1
Read only

Former Member
0 Likes
482

Hi,

I am also having the same problem. I am running the BAPI_MATPHYSINV_CHANGECOUNT' to count the Articles.

When I print the error on screen, some the data shown as counted. Some are not changed and some with the following error.

System error while locking the data

Furthermore I went to the BASIS and saw that when we run this particular program its showing the locks on MARC and several tables with the same System ID from which we run the program

Can anyone come up ? Its getting too hard to resolve.