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

Database commit

Former Member
0 Likes
328

Hello Experts

We have a problem where we coded BDC for vlo1n tcode and we have

called these number of time in the program to meet different requirement,

now because of these we have encounter locking issues , which is causing

a real pain .

We have tried following option :

Using 'S' or 'L' in BDC : - no change in result

commit work and wait : - no change in result

function module : DEQUEUE_ALL , DEQUEUE_EMVBAP - no change in result

Below statement worked out ,

WAIT UP TO 3 SECONDS .

we have use these statement before calling BDC , but if sales order are having

larger line , then above statement is also not working,

So is there any way to find out wether program has really commited the job ,

which is trying to finish

1 REPLY 1
Read only

Former Member
0 Likes
303

Try locking the object in question with _WAIT = 'X'. When it's successful, unlock it.

Rob