Skip to Content
Former Member
Nov 06, 2007 at 09:45 AM

BAPI BUS2017 Locked Data for the same user / material and pl


We are making tests on the LSMW for some movements of inventory. For

these tests, we are using the BAPI with the object BUS2017. In the

testing, we found the problem when we test more than one line for the

same material. It seems to be delayed from the line before, and then is

when the error message "plant data of the material is locked by the

user WF-BATCH".This problem only appear when we do the testing for more

than one material (more than one line). The structure of the text file

that we are using to do the testing is the following:

Line 1)561 MATERIAL "A" PLANT "B" ...............

Line 2)561 MATERIAL "A" PLANT "B" ...............

Line 3)561 MATERIAL "A" PLANT "B" ...............

When we execute the LSMW transaction with this data in the file we have

the error "M3897" The plant data of the material A is locked by the

user WF-BATCH.

This error only appears for some lines, and we think that it's a

problem regarding to the time between the data that it's uddated and

the next line that it's trying to convert.

Can you tell us something regarding to this problem with the LSMW?

We also attach you some screens of the error messages that we have in

the system when we try to do the testing of the materials.