Skip to Content
0
Feb 11, 2015 at 10:29 AM

ENQUEUE / DEQUEUE

196 Views

I want to use ENQUEUE / DENQUEUE functionality before below BAPI.. how to use the same ?

CLEAR gs_header_data.

gs_header_data-deliv_numb = <fs_ekbe>-belnr.

CLEAR gs_header_control.

gs_header_control-deliv_numb = <fs_ekbe>-belnr.

gs_header_control-dlv_del = gc_x.

CLEAR gs_delivery.

gs_delivery = <fs_ekbe>-belnr.

REFRESH gt_return.

CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'

EXPORTING

header_data = gs_header_data

header_control = gs_header_control

delivery = gs_delivery

TABLES

return = gt_return.


Basically I want to lock deliv_numb till updation from BAPI completes...