Skip to Content
0
Jun 30, 2020 at 01:29 PM

sd_backorder_update function release all documents lock

215 Views

Hi all,

I am tring to release vbeln numbers in a loop one by one while using sd_backorder_update. But, at first vbeln in a loop, sd_backorder_update function release all documents locks belongs to gt_vbeln. In this function, a system function denqueue all vbeln. You can see this in attached image.

How can I overcome of this problem? Thanks in advance.

Loop at gt_vbeln.

CALL FUNCTION 'SD_BACKORDER_UPDATE'
EXPORTING
commit_external = ' '
sd_read_and_save = 'X'
no_lock = ' '
p_call_activity = 'V03R'
TABLES
kortab = gt_vbeln
et_return = et_return.

Endloop.

Attachments

dequeue-all.png (44.4 kB)