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

Problem in BAPI_GOODSMVT_CREATE

former_member842213
Participant
0 Likes
391

Dear All,

Im using BAPI_GOODSMVT_CREATE for migo transaction ,im using above BAPI to move serialnumbers from one storage location to another , and it is giving an error saying that

The plant data of the material 30000452 is locked by the user ABCD

ABCD is my user name and i didnt run any program in background and foreground

call function 'BAPI_GOODSMVT_CREATE'

exporting

goodsmvt_header = header

goodsmvt_code = goodsmvt_code_tmp

importing

goodsmvt_headret = headret

tables

goodsmvt_item = item

goodsmvt_serialnumber = serialnumber

return = return.

w_suc = sy-subrc.

call function 'BAPI_TRANSACTION_COMMIT'.

Kindly help me Urgent !!!!!!!!!!!

1 REPLY 1
Read only

Former Member
0 Likes
291

Hi,

Are you handling any other process before BAPI? Like creating delivery document using BDC ? If so , use wait before executing BAPI.