Application Development 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: 

How to process records one by one(not in parallel) with LSMW(BAPI)

Former Member
0 Kudos

We loaded a batch of records (around 800) in lsmw with biz object method(BAPI).

The records were processed in parallel and this caused some locking issue.

Is there any way to make sure the records in LSMW with biz object method(BAPI) are processed one by one to avoid this kind of locking issue.

Any reply is appreciated.

4 REPLIES 4

Former Member
0 Kudos

Hi ,

i dont think it will load in parallel ,locking issues might be with error records ,in if that is the case ...better to put validtions in your lsmw convertion routines itself so u can avoid such kind of lockings.

regards

Prabhu

0 Kudos

Hi Prabhu,

Thanks!

But I've debugged , It did run in parallel.

I am wondering that if there is some customizing to control this.

0 Kudos

Hi Dong,

sorry , yes your are correct , only Outbound Idocs will be record by record not the inbound iDocs.

regards

Prabhu

Former Member
0 Kudos

Hi,

I think there must be something to increase the lead time so that locking doesn't happen and it should be either part of customizing or can be coded,not sure exactly what code as in SAP GUI Scripting also there is a way to increase the lead time to avoid the locking issues.

Regards,

Rahul