Locking error being generated during Mass Confirmation through BAPI
We are trying to use BAPI for Mass Confirmation of Production Orders.
The system generates Locking error, at the time of uploading confirmation of component's goods movement.
The error in COGI shows the reason as "Material locked by user xxxxxxxx" or "Enter Storage Location", where as storage location is already provided in the uploading data & component is not locked by any user.
Reference Notes by SAP are also seen but could not find any solution. Anyone knows solution to this problem is requested to help resolving this.