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

Wait command

Former Member
0 Likes
375

Hi

I am creating contracts through VA41 ,then there is a user -exit in the back ground which calls a program ,this program would

WAIT for 3 seconds until the database is commited for those Contract details and then the logic picks up the contract detail records form the data base

Now the issue is WAIT UP to 3 seconds is sometimes working and for conditions not working

How can we predict that WAIT upto ... seconds would always work

Is there any alternative for this?

2 REPLIES 2
Read only

Former Member
0 Likes
336

hi,

try using this function module,

ENQUE_SLEEP, Wait a specified period of time before continuing processing.

Hope this helps u,

Regards,

Arunsri

Read only

0 Likes
336

The problem is we cannot predict the number of seconds here it varies from case to case