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

Material Lock - Reg

0 Likes
514

Hello Mates.,

how to find a material is locked or not that is material used by another user or any other transcation.

This is because i am writing BDC for co11n where there is requirement of above mentioned case .

while making entrying the manual production order confirmation error is getting triggered - Material is locked.

Regards,

Murugesh R

3 REPLIES 3
Read only

Former Member
0 Likes
469

Hi.

You can see SAP locks using SM12 transaction,

where you can also release them if required.

Read only

Former Member
0 Likes
469

Hi,

Check whether the material is locked by the lock object.

Call the function module ENQUEUE_EMMARAS with the material number.

Incase the material is locked by some user you will get the error message from the FM.

Regards,

Ankur Parab

Read only

0 Likes
469

closed..