Skip to Content
0
Aug 01, 2008 at 07:34 AM

Wait parameter in Enqueue FM

1302 Views

Hi,

I have a scenario where i want to lock the table before updating it.

In FM Enqueue, I want the program to retry it after some time, it if fails in first attempt.

Can i do it through Wait parameter and where do i need to give the parameter to retry it after some time.

Also if it fails to attempt for some number of time , then it should throw an error mesage.

call function 'ENQUEUE_EZVZVPDDELE'

exporting

mode_zvpddel = 'E'

mode_zvpddpr = 'E'

mandt = sy-mandt

zpddelcd = wa_podd_del_header-zpddelcd

x_zpddelcd = ' '

_scope = '3'

_wait = ' '

_collect = ' '

exceptions

foreign_lock = 1

system_failure = 2

error_message = 3

others = 4.

Please suggest.

Regards,

Sonika