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

Error while using BAPI_GOODSMVT_CREATE

Former Member
0 Likes
946

Hi friends,

When I do a 301 movement from MIGO transaction using BAPI BAPI_GOODSMVT_CREATE .. I m getting an error "The plant material data is locked by the user".. Can you help me out to solve this and post the goods movement.. it is very urgent requirement... Will reward points for helpfull answers,

Thanks in advance,

Rama..

8 REPLIES 8
Read only

Former Member
0 Likes
755

Hi ,

Check the Following :

Is your material is being edited by some user via MM02 etc.

Can you try calling the BAPI FM in Background task ? I guess that might Solve the problem ?

<b>REWARD IF USEFUL</b>

Regards,

Saket Sharma

null

Read only

0 Likes
755

Material is not used by others.. Is there any method to unlock it ....

Read only

0 Likes
755

What about Background task ?

Read only

Former Member
0 Likes
755

What is the error message class and number?

Rob

Read only

0 Likes
755

Message class : M3

Number : 897.

while debugging I fing 4 lock entries in SM12 . the tables areEKKO, EKPO, MARC,MBEW

Read only

0 Likes
755

OK - by which user - you or someone else?

Rob

Read only

0 Likes
755

myself.. thats the probelm.. help me out..

Read only

0 Likes
755

Are they locked now? Are you using any material transaction to edit the data in question? If so, get out of the transaction(s); if not, then just remove the locks.

Rob